Commit 8c09fdce1cfae2cd886f84b02e93c237a4199e9a
1 parent
a6478ad1
站外h5积分商城兑换
Showing
2 changed files
with
10 additions
and
5 deletions
src/pages/partyBuildingGoodDetails/partyBuildingGoodDetails.vue
| @@ -160,7 +160,7 @@ | @@ -160,7 +160,7 @@ | ||
| 160 | class="footer"> | 160 | class="footer"> |
| 161 | <div class="desc">还差{{parseInt(goodsInfo.num)-parseInt(goodsInfo.grade)}}积分值</div> | 161 | <div class="desc">还差{{parseInt(goodsInfo.num)-parseInt(goodsInfo.grade)}}积分值</div> |
| 162 | <div class="btn" | 162 | <div class="btn" |
| 163 | - @click="jumpClientIntegralList"> | 163 | + @click="jumpClientIntegralList(goodsInfo)"> |
| 164 | 获取积分值 | 164 | 获取积分值 |
| 165 | </div> | 165 | </div> |
| 166 | </div> | 166 | </div> |
| @@ -434,9 +434,13 @@ export default { | @@ -434,9 +434,13 @@ export default { | ||
| 434 | * 跳转赚取积分值页面 | 434 | * 跳转赚取积分值页面 |
| 435 | * @param {Object} item [数据对象] | 435 | * @param {Object} item [数据对象] |
| 436 | */ | 436 | */ |
| 437 | - jumpClientIntegralList () { | ||
| 438 | - // 判断APP内 | ||
| 439 | - window.location.href = "http://wjjh5" + (this.mode == 'pred' ? "" : "test") + ".cnlive.com/cnStepApp.html?isShowTitle=true&type=web" | 437 | + jumpClientIntegralList (item) { |
| 438 | + if (item.position == 10) { | ||
| 439 | + // 跳转党建首页 | ||
| 440 | + window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/activityH5/djdt/index.html?modelId=1&channelName=tg_wjdc_djdt&isShowTitle=true&isWjjReport=true" + "&oid=" + this.$route.query.oid | ||
| 441 | + } else if (item.position == 11) { | ||
| 442 | + window.location.href = "https://wjjh5" + (this.mode == 'prod' ? "" : "test") + ".cnlive.com/education/vitalityValueIndex" | ||
| 443 | + } | ||
| 440 | }, | 444 | }, |
| 441 | /** | 445 | /** |
| 442 | * 积分值商品详情页页面接口 | 446 | * 积分值商品详情页页面接口 |
src/pages/partyBuildingPointsMall/partyBuildingPointsMall.vue
| @@ -215,7 +215,8 @@ export default { | @@ -215,7 +215,8 @@ export default { | ||
| 215 | path: "/partyBuildingGoodDetails", | 215 | path: "/partyBuildingGoodDetails", |
| 216 | query: { | 216 | query: { |
| 217 | goodsId: item.id, | 217 | goodsId: item.id, |
| 218 | - uid: this.$route.query.uid | 218 | + uid: this.$route.query.uid, |
| 219 | + oid: this.$route.query.oid | ||
| 219 | } | 220 | } |
| 220 | }); | 221 | }); |
| 221 | } | 222 | } |