From 06b7312f0d473c847866a5b61a5ca56b5d27cbf3 Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Mon, 14 Dec 2020 11:28:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=88=86=E4=BB=8E=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=92=8C=E6=9C=8D=E5=8A=A1=E9=A1=B5=E8=BF=9B=E5=85=A5=E5=BC=80?= =?UTF-8?q?=E9=97=A8=E7=BA=A2=E6=96=B9=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/goodStart/GoodStartScheme.vue | 32 ++++++++++++-------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/src/views/ebiz/goodStart/GoodStartScheme.vue b/src/views/ebiz/goodStart/GoodStartScheme.vue index 037dcc4ea..4ea493d17 100644 --- a/src/views/ebiz/goodStart/GoodStartScheme.vue +++ b/src/views/ebiz/goodStart/GoodStartScheme.vue @@ -26,6 +26,7 @@ export default { }, data() { return { + isFromService: '', isPrevShow: false, currentPage: 0, pics: [], @@ -42,6 +43,7 @@ export default { } }, created() { + this.isFromService = this.$route.query.from === 'service' this.getSchemePics() this.interceptAppBtn() }, @@ -61,18 +63,24 @@ export default { appCallBack(data) { if (data.trigger == 'left_button_click') { if (!this.isPrevShow) { - this.$jump({ - flag: 'h5', - extra: { - title: '开门红专区', - forbidSwipeBack: 1, - url: location.origin + `/#/goodStart/prefecture` - }, - routerInfo: { - path: `/goodStart/prefecture`, - type: '1' - } - }) + if (this.isFromService) { + this.$jump({ + flag: 'service' + }) + } else { + this.$jump({ + flag: 'h5', + extra: { + title: '开门红专区', + forbidSwipeBack: 1, + url: location.origin + `/#/goodStart/prefecture` + }, + routerInfo: { + path: `/goodStart/prefecture/prefecture`, + type: '1' + } + }) + } } else { this.isPrevShow = false }