From 58074ebea7dbdff032bf8f99ef93de6bb843d061 Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Tue, 4 Aug 2020 14:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E5=90=AC=E9=97=AE=E9=A2=98=E4=BB=B6?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/questions/QuestionsList.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/views/ebiz/questions/QuestionsList.vue b/src/views/ebiz/questions/QuestionsList.vue index 04e3bb2c4..3f1d86591 100644 --- a/src/views/ebiz/questions/QuestionsList.vue +++ b/src/views/ebiz/questions/QuestionsList.vue @@ -199,9 +199,25 @@ export default { this.processedList.splice(0) } this.loadMore() + }, + appCallBack(data) { + if (data.trigger == 'left_button_click') { + this.$jump({ + flag: 'service' + }) + } } }, created() { + setTimeout(() => { + // eslint-disable-next-line no-undef + EWebBridge.webCallAppInJs('webview_left_button', { + // 是否拦截原生返回事件 1是 其他否 + intercept: '1' + }) + }, 100) + // 筛选按钮的点击事件 + window.appCallBack = this.appCallBack localStorage.removeItem('currentProblemItem') this.loadMore() },