Commit 2eb8a704b9664412a2e91ad27afbbb7ad19db641

Authored by zhiyangdu
1 parent fdccfc6f

url跳转

Showing 1 changed file with 6 additions and 9 deletions
src/pages/index/index.vue
@@ -60,15 +60,12 @@ export default { @@ -60,15 +60,12 @@ export default {
60 '{"id":"3","title":"\\u7ebf\\u4e0b\\u8d5b\\u4e8b"}', 60 '{"id":"3","title":"\\u7ebf\\u4e0b\\u8d5b\\u4e8b"}',
61 to: 61 to:
62 this.getParams(this.mode).shop.apiAddress + 62 this.getParams(this.mode).shop.apiAddress +
63 - "/html/sports-china/1/#/" +  
64 - (this.$route.query.uid  
65 - ? "&uid=" + this.$route.query.uid  
66 - : "") +  
67 - "&activityId=" +  
68 - this.mode ==  
69 - "prod"  
70 - ? 92  
71 - : 77 63 + "/html/sports-china/1/#/" +
  64 + "?activityId=" +
  65 + (this.mode == "prod" ? 92 : 77) +
  66 + (this.$route.query.uid
  67 + ? "&uid=" + this.$route.query.uid
  68 + : "")
72 }; 69 };
73 } 70 }
74 this.$parent.gotoDetail(items); 71 this.$parent.gotoDetail(items);