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 | 160 | class="footer"> |
| 161 | 161 | <div class="desc">还差{{parseInt(goodsInfo.num)-parseInt(goodsInfo.grade)}}积分值</div> |
| 162 | 162 | <div class="btn" |
| 163 | - @click="jumpClientIntegralList"> | |
| 163 | + @click="jumpClientIntegralList(goodsInfo)"> | |
| 164 | 164 | 获取积分值 |
| 165 | 165 | </div> |
| 166 | 166 | </div> |
| ... | ... | @@ -434,9 +434,13 @@ export default { |
| 434 | 434 | * 跳转赚取积分值页面 |
| 435 | 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