Commit 447d21854aa8f8d79bdfb2170c9b19250bcff552

Authored by zhiyangdu
1 parent 44a4eca2

新增微信分享调用getShareData

src/pages/pointsMall/pointsMall.vue
@@ -477,10 +477,18 @@ export default { @@ -477,10 +477,18 @@ export default {
477 if (typeof this.$parent.getOpenApp === "function") { 477 if (typeof this.$parent.getOpenApp === "function") {
478 this.$parent.getOpenApp({ 478 this.$parent.getOpenApp({
479 type: 45, 479 type: 45,
480 - id: 1, 480 + id: this.$route.query.id || 1,
481 url: "" 481 url: ""
482 }); 482 });
483 } 483 }
  484 + // 分享详情页
  485 + if (typeof this.$parent.getShareData === "function") {
  486 + this.$parent.getShareData({
  487 + type: 45,
  488 + id: this.$route.query.id || 1,
  489 + url: ""
  490 + });
  491 + }
484 } 492 }
485 493
486 // 监听滚动条,设置滚动条推动渐变颜色和图片 494 // 监听滚动条,设置滚动条推动渐变颜色和图片