From 9ff2ae344f731761ef4499f1043f8eb2c47b195b Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Mon, 13 Jun 2022 11:30:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=20=E6=90=9C=E7=B4=A2=E4=B8=AD?= =?UTF-8?q?=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/phone/databaseSearch.vue | 24 +++++++++++++++++------- src/pages/phone/domesticStand.vue | 11 ++++++++++- src/pages/phone/standDynamics.vue | 11 ++++++++++- 3 files changed, 37 insertions(+), 9 deletions(-) diff --git a/src/pages/phone/databaseSearch.vue b/src/pages/phone/databaseSearch.vue index 3db81c197..316bee80e 100644 --- a/src/pages/phone/databaseSearch.vue +++ b/src/pages/phone/databaseSearch.vue @@ -148,13 +148,23 @@ export default { this.$router.push('/phoneHome') }, jumpDetails(item){ - this.$router.push({ - name: 'domesticDetails', - query: { - id: item.id, - pageType: 'INLAND_STAND' - } - }) + if(item && item.indexType === 'stand' ){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'INLAND_STAND' + } + }) + }else if(item && item.indexType === 'FOREIGN'){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'FOREIGN_STAND' + } + }) + } }, }, mounted(){ diff --git a/src/pages/phone/domesticStand.vue b/src/pages/phone/domesticStand.vue index 0021f28aa..d52d97a44 100644 --- a/src/pages/phone/domesticStand.vue +++ b/src/pages/phone/domesticStand.vue @@ -21,7 +21,7 @@
加载中...
-
+
{{item.lawsNumber}}
{{item.standSort + '  ' + item.standNumber + '-' + item.standYear }}
@@ -123,6 +123,15 @@ export default { } }, methods:{ + jumpDetails(item){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'INLAND_STAND' + } + }) + }, scrool(){ this.scrolled = this.$refs.cardBox.scrollTop //获得可视区的高度 diff --git a/src/pages/phone/standDynamics.vue b/src/pages/phone/standDynamics.vue index 1536a3db2..595851b3a 100644 --- a/src/pages/phone/standDynamics.vue +++ b/src/pages/phone/standDynamics.vue @@ -11,7 +11,7 @@
加载中...
-
+
{{ item.standardName }}
@@ -74,6 +74,15 @@ export default { }; }, methods: { + jumpDetails(item){ + this.$router.push({ + name: 'domesticDetails', + query: { + id: item.id, + pageType: 'FOREIGN_STAND' + } + }) + }, //返回上一个页面 back() { this.$router.push("/phoneHome");