Commit 9ad3c0a3e190836e1f2a90ba322a35d875600ba2

Authored by zhiyangdu
1 parent 822d7b12

积分商城商品详情页的渠道码ds_jfsc固定写死

src/pages/exchangeRanking/exchangeRanking.vue
... ... @@ -189,8 +189,10 @@
189 189 shop_type: ''
190 190 };
191 191  
192   - // 页面跳转
193   - this.$parent.gotoDetail(params);
  192 + // 传渠道码给原生
  193 + this.$parent.gotoDetail(params, {
  194 + activityCode: "ds_jfsc" // 添加页面渠道码
  195 + });
194 196 }
195 197 }
196 198 } else {
... ...
src/pages/goodDetails/goodDetails.vue
... ... @@ -464,8 +464,10 @@ export default {
464 464 shop_type: ''
465 465 };
466 466  
467   - // 页面跳转
468   - this.$parent.gotoDetail(params);
  467 + // 传渠道码给原生
  468 + this.$parent.gotoDetail(params, {
  469 + activityCode: "ds_jfsc" // 添加页面渠道码
  470 + });
469 471 }
470 472 } else {
471 473 this.$parent.callApp();
... ... @@ -720,7 +722,7 @@ export default {
720 722 this.http("/Api/" + this.getApiVersion().LuckDraw + "/integralGoodsInfo", {
721 723 id: goodsId, // 商品ID
722 724 uid: this.getStore("uid"), // 用户ID
723   - activityCode: this.$route.query.activityCode, // 埋点统计
  725 + activityCode: "ds_jfsc", // 埋点统计
724 726 }, this.getGoodsInfoCallback, {
725 727 method: "POST"
726 728 });
... ...
src/pages/healthGoodDetails/healthGoodDetails.vue
... ... @@ -288,8 +288,10 @@ export default {
288 288 shop_type: ''
289 289 };
290 290  
291   - // 页面跳转
292   - this.$parent.gotoDetail(params);
  291 + // 传渠道码给原生
  292 + this.$parent.gotoDetail(params, {
  293 + activityCode: "ds_jfsc" // 添加页面渠道码
  294 + });
293 295 }
294 296 } else {
295 297 this.$parent.callApp();
... ...
src/pages/healthMall/healthMall.vue
... ... @@ -174,12 +174,14 @@ export default {
174 174 // 设置跳转参数
175 175 let params = {
176 176 type: '5',
177   - to: window.location.origin + '/html/select_good/1/#/healthGoodDetails?goodsId=' + item.id + "&activityCode=" + this.activityCode,
  177 + to: window.location.origin + '/html/select_good/1/#/healthGoodDetails?goodsId=' + item.id,
178 178 shop_type: ''
179 179 };
180 180  
181   - // 页面跳转
182   - this.$parent.gotoDetail(params);
  181 + // 传渠道码给原生
  182 + this.$parent.gotoDetail(params, {
  183 + activityCode: "ds_jfsc" // 添加页面渠道码
  184 + });
183 185 }
184 186 }
185 187 }
... ...
src/pages/morePoints/morePoints.vue
... ... @@ -198,8 +198,10 @@ export default {
198 198 shop_type: ''
199 199 };
200 200  
201   - // 页面跳转
202   - this.$parent.gotoDetail(params);
  201 + // 传渠道码给原生
  202 + this.$parent.gotoDetail(params, {
  203 + activityCode: "ds_jfsc" // 添加页面渠道码
  204 + });
203 205 }
204 206 }
205 207 } else {
... ...
src/pages/partyBuildingGoodDetails/partyBuildingGoodDetails.vue
... ... @@ -292,9 +292,11 @@ export default {
292 292 to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id,
293 293 shop_type: ''
294 294 };
295   -
296   - // 页面跳转
297   - this.$parent.gotoDetail(params);
  295 +
  296 + // 传渠道码给原生
  297 + this.$parent.gotoDetail(params, {
  298 + activityCode: "ds_jfsc" // 添加页面渠道码
  299 + });
298 300 }
299 301 } else {
300 302 this.$parent.callApp();
... ...
src/pages/pointsMall/pointsMall.vue
... ... @@ -168,8 +168,7 @@ export default {
168 168 }, // tabs数据
169 169 refreshGrade: false, // 是否刷新积分
170 170 version: this.$route.query.version, //长版本号(ios)
171   - ver: this.$route.query.version, //短版本号(Android)
172   - activityCode: "ds_jfsc", // 埋点统计
  171 + ver: this.$route.query.version //短版本号(Android)
173 172 }
174 173 },
175 174 //部件
... ... @@ -511,11 +510,12 @@ export default {
511 510 // 设置跳转参数
512 511 let params = {
513 512 type: '5',
514   - to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id + "&activityCode=" + this.activityCode,
  513 + to: window.location.origin + '/html/select_good/1/#/goodDetails?goodsId=' + item.id,
515 514 shop_type: ''
516 515 };
  516 + // 传渠道码给原生
517 517 this.$parent.gotoDetail(params, {
518   - activityCode: this.activityCode ? this.activityCode : '' // 添加页面渠道码
  518 + activityCode: "ds_jfsc" // 添加页面渠道码
519 519 });
520 520 }
521 521 }
... ...
src/pages/pointsMyCollection/pointsMyCollection.vue
... ... @@ -94,8 +94,10 @@ export default {
94 94 shop_type: ''
95 95 };
96 96  
97   - // 页面跳转
98   - this.$parent.gotoDetail(params);
  97 + // 传渠道码给原生
  98 + this.$parent.gotoDetail(params, {
  99 + activityCode: "ds_jfsc" // 添加页面渠道码
  100 + });
99 101 }
100 102 }
101 103 } else {
... ...