调用“webview_right_button”增加500毫秒延时

This commit is contained in:
pang.lizong
2019-09-20 11:33:32 +08:00
parent 2e5a33d2e7
commit 4c732b5ec3
9 changed files with 102 additions and 85 deletions

View File

@@ -4,7 +4,7 @@ import getUrl from '@/assets/js/utils/get-url'
// 获取保单列表 // 获取保单列表
export function getPolicyList(data) { export function getPolicyList(data) {
return request({ return request({
url: getUrl('/sale/policy/policyList', 1), url: getUrl('/sale/policy/policyListAgent', 1),
method: 'post', method: 'post',
data data
}) })

View File

@@ -170,6 +170,7 @@ export default {
methods: { methods: {
filterBtn() { filterBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
setTimeout(()=> {
EWebBridge.webCallAppInJs('webview_right_button', { EWebBridge.webCallAppInJs('webview_right_button', {
btns: [ btns: [
{ {
@@ -180,6 +181,7 @@ export default {
} }
] ]
}) })
}, 500)
}, },
appCallBack(data) { appCallBack(data) {

View File

@@ -90,6 +90,7 @@ export default {
filterBtn() { filterBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
setTimeout(()=> {
EWebBridge.webCallAppInJs('webview_right_button', { EWebBridge.webCallAppInJs('webview_right_button', {
btns: [ btns: [
{ {
@@ -98,6 +99,7 @@ export default {
} }
] ]
}) })
}, 500)
}, },
async getLists() { async getLists() {
// 获取产品列表 // 获取产品列表

View File

@@ -129,6 +129,7 @@ export default {
}, },
closeBtn() { closeBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
setTimeout(()=> {
this.$jump({ this.$jump({
flag: 'webview_right_button', flag: 'webview_right_button',
extra: { extra: {
@@ -140,6 +141,7 @@ export default {
] ]
} }
}) })
}, 500)
}, },
appCallBack() { appCallBack() {
// 筛选按钮的点击事件 // 筛选按钮的点击事件

View File

@@ -152,6 +152,7 @@ export default {
}, },
closeBtn() { closeBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
setTimeout(() => {
this.$jump({ this.$jump({
flag: 'webview_right_button', flag: 'webview_right_button',
extra: { extra: {
@@ -163,6 +164,7 @@ export default {
] ]
} }
}) })
}, 500)
}, },
appCallBack() { appCallBack() {
// 筛选按钮的点击事件 // 筛选按钮的点击事件

View File

@@ -198,6 +198,7 @@ export default {
}, },
closeBtn() { closeBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
setTimeout(()=> {
this.$jump({ this.$jump({
flag: 'webview_right_button', flag: 'webview_right_button',
extra: { extra: {
@@ -209,6 +210,7 @@ export default {
] ]
} }
}) })
}, 500)
}, },
appCallBack() { appCallBack() {
this.isclear = true this.isclear = true

View File

@@ -306,6 +306,7 @@ export default {
}, },
closeBtn() { closeBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
setTimeout(()=> {
this.$jump({ this.$jump({
flag: 'webview_right_button', flag: 'webview_right_button',
extra: { extra: {
@@ -317,6 +318,7 @@ export default {
] ]
} }
}) })
}, 500)
}, },
appCallBack() { appCallBack() {
this.$jump({ this.$jump({

View File

@@ -433,6 +433,7 @@ export default {
}, },
closeBtn() { closeBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
setTimeout(()=> {
this.$jump({ this.$jump({
flag: 'webview_right_button', flag: 'webview_right_button',
extra: { extra: {
@@ -444,6 +445,7 @@ export default {
] ]
} }
}) })
}, 500)
}, },
appCallBack() { appCallBack() {
// 筛选按钮的点击事件 // 筛选按钮的点击事件

View File

@@ -640,6 +640,7 @@ export default {
}, },
closeBtn() { closeBtn() {
// 筛选按钮的显示 // 筛选按钮的显示
setTimeout(()=> {
this.$jump({ this.$jump({
flag: 'webview_right_button', flag: 'webview_right_button',
extra: { extra: {
@@ -651,6 +652,8 @@ export default {
] ]
} }
}) })
}, 500)
}, },
//弹框选择 //弹框选择
toSelect(pickerType, valueKey) { toSelect(pickerType, valueKey) {