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/phoneHome.vue b/src/pages/phone/phoneHome.vue index ce9f54a05..ff6883784 100644 --- a/src/pages/phone/phoneHome.vue +++ b/src/pages/phone/phoneHome.vue @@ -57,12 +57,19 @@ export default { }) }, standChange(type){ - this.$router.push({ - name: 'domesticStand', - query:{ - standType: type, - } - }) + if(type ==='DYNAMIC'){ + this.$router.push({ + name: 'standDynamics' + }) + + }else{ + this.$router.push({ + name: 'domesticStand', + query:{ + standType: type, + } + }) + } }, } }; diff --git a/src/pages/phone/standDynamics.vue b/src/pages/phone/standDynamics.vue index 1536a3db2..99592febc 100644 --- a/src/pages/phone/standDynamics.vue +++ b/src/pages/phone/standDynamics.vue @@ -1,58 +1,72 @@