Commit ee6624d33919f88a571b5435c4a42004405d25e7
1 parent
21216a6f
积分加现金兑换商品详情页分享出去打开积分商城首页
Showing
1 changed file
with
11 additions
and
11 deletions
src/pages/goodDetails/goodDetails.vue
| @@ -391,7 +391,7 @@ export default { | @@ -391,7 +391,7 @@ export default { | ||
| 391 | toShare () { | 391 | toShare () { |
| 392 | // 判断分享 | 392 | // 判断分享 |
| 393 | if (typeof this.$parent.toShare === 'function') { | 393 | if (typeof this.$parent.toShare === 'function') { |
| 394 | - this.$parent.toShare(46, this.$route.query.goodsId, ""); | 394 | + this.$parent.toShare(45, "1", ""); |
| 395 | } | 395 | } |
| 396 | }, | 396 | }, |
| 397 | /** | 397 | /** |
| @@ -608,16 +608,16 @@ export default { | @@ -608,16 +608,16 @@ export default { | ||
| 608 | // that.show = false; | 608 | // that.show = false; |
| 609 | // }; | 609 | // }; |
| 610 | // 如果是App外,设置唤起App和微信内分享参数 | 610 | // 如果是App外,设置唤起App和微信内分享参数 |
| 611 | - // if (!this.isCNLive.value) { | ||
| 612 | - // // 设置积分首页唤起app参数 | ||
| 613 | - // if (typeof this.$parent.getOpenApp === "function") { | ||
| 614 | - // this.$parent.getOpenApp({ | ||
| 615 | - // type: 46, | ||
| 616 | - // id: this.$route.query.goodsId, | ||
| 617 | - // url: "" | ||
| 618 | - // }); | ||
| 619 | - // } | ||
| 620 | - // } | 611 | + if (!this.isCNLive.value) { |
| 612 | + // 设置积分首页唤起app参数 | ||
| 613 | + if (typeof this.$parent.getOpenApp === "function") { | ||
| 614 | + this.$parent.getOpenApp({ | ||
| 615 | + type: 45, | ||
| 616 | + id: 1, | ||
| 617 | + url: "" | ||
| 618 | + }); | ||
| 619 | + } | ||
| 620 | + } | ||
| 621 | // // 地址回选原生回调 | 621 | // // 地址回选原生回调 |
| 622 | // if (this.isiPhone.value) { | 622 | // if (this.isiPhone.value) { |
| 623 | // var that = this; | 623 | // var that = this; |