Commit 8347210577bc55d786c3410fd0835565ec220ff2

Authored by zhiyangdu
1 parent 015f004b

分享拉起操作

src/pages/goodDetails/goodDetails.vue
... ... @@ -207,7 +207,7 @@ export default {
207 207 toShare () {
208 208 // 判断分享
209 209 if (typeof this.$parent.toShare === 'function') {
210   - this.$parent.toShare(38, this.$route.query.id || 0);
  210 + this.$parent.toShare(46, this.$route.query.id || 0);
211 211 }
212 212 },
213 213 /**
... ... @@ -394,7 +394,7 @@ export default {
394 394 if (typeof this.$parent.getShareData === "function") {
395 395 this.$parent.getShareData({
396 396 type: 46,
397   - id: "",
  397 + id: this.$route.query.id,
398 398 url: ""
399 399 });
400 400 }
... ...
src/pages/pointsMall/pointsMall.vue
... ... @@ -203,7 +203,7 @@ export default {
203 203  
204 204 // 判断分享
205 205 if (typeof this.$parent.toShare === 'function') {
206   - this.$parent.toShare(38, this.$route.query.id || 0);
  206 + this.$parent.toShare(45, "1", "");
207 207 }
208 208 },
209 209  
... ...