Commit 2a173634fae2ed749aeab7acdf593dbcbabf8585
1 parent
8b199cea
渠道码动态传递
Showing
4 changed files
with
6 additions
and
5 deletions
src/pages/goodDetails/goodDetails.vue
| ... | ... | @@ -720,7 +720,7 @@ export default { |
| 720 | 720 | this.http("/Api/" + this.getApiVersion().LuckDraw + "/integralGoodsInfo", { |
| 721 | 721 | id: goodsId, // 商品ID |
| 722 | 722 | uid: this.getStore("uid"), // 用户ID |
| 723 | - activityCode: "ds_jfsc", // 埋点统计 | |
| 723 | + activityCode: this.$route.query.activityCode, // 埋点统计 | |
| 724 | 724 | }, this.getGoodsInfoCallback, { |
| 725 | 725 | method: "POST" |
| 726 | 726 | }); | ... | ... |
src/pages/healthGoodDetails/healthGoodDetails.vue
| ... | ... | @@ -459,7 +459,7 @@ export default { |
| 459 | 459 | this.http("/Api/" + this.getApiVersion().LuckDraw + "/luckGoodsInfo", { |
| 460 | 460 | id: goodsId, // 商品ID |
| 461 | 461 | uid: this.getStore("uid"), // 用户ID |
| 462 | - activityCode: "ds_jbz", // 埋点统计 | |
| 462 | + activityCode: this.$route.query.activityCode, // 埋点统计 | |
| 463 | 463 | }, this.getGoodsInfoCallback, { |
| 464 | 464 | method: "POST" |
| 465 | 465 | }); | ... | ... |
src/pages/healthMall/healthMall.vue
| ... | ... | @@ -53,7 +53,8 @@ export default { |
| 53 | 53 | distance: 50, |
| 54 | 54 | phyicalGoods: { list: [] }, // 实物商品 |
| 55 | 55 | page: 1, |
| 56 | - isNoMore: false | |
| 56 | + isNoMore: false, | |
| 57 | + activityCode:"ds_jbz" | |
| 57 | 58 | } |
| 58 | 59 | }, |
| 59 | 60 | //部件 |
| ... | ... | @@ -173,7 +174,7 @@ export default { |
| 173 | 174 | // 设置跳转参数 |
| 174 | 175 | let params = { |
| 175 | 176 | type: '5', |
| 176 | - to: window.location.origin + '/html/select_good/1/#/healthGoodDetails?goodsId=' + item.id, | |
| 177 | + to: window.location.origin + '/html/select_good/1/#/healthGoodDetails?goodsId=' + item.id + "&activityCode=" + this.activityCode, | |
| 177 | 178 | shop_type: '' |
| 178 | 179 | }; |
| 179 | 180 | ... | ... |
src/pages/pointsMall/pointsMall.vue
| ... | ... | @@ -511,7 +511,7 @@ export default { |
| 511 | 511 | // 设置跳转参数 |
| 512 | 512 | let params = { |
| 513 | 513 | type: '5', |
| 514 | - to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id, | |
| 514 | + to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id + "&activityCode=" + this.activityCode, | |
| 515 | 515 | shop_type: '' |
| 516 | 516 | }; |
| 517 | 517 | this.$parent.gotoDetail(params, { | ... | ... |