diff --git a/pages/spellGroup/mySpellGroup/index.js b/pages/spellGroup/mySpellGroup/index.js index 684266d..7ed206f 100644 --- a/pages/spellGroup/mySpellGroup/index.js +++ b/pages/spellGroup/mySpellGroup/index.js @@ -59,7 +59,7 @@ Page({ url: `/pages/canvas/index?couponChannelId=${this.data.data.id}` }) }, - /** + /** * 显示分享弹框 */ showshare: function() { @@ -180,6 +180,8 @@ Page({ }).then(res => { that.setData({ disOrderNumber: res.data.orderNumber, + couponChannelId: res.data.couponChannelId, + orderGroupId: res.data.orderGroupId }) // 拼团订单 @@ -201,8 +203,9 @@ Page({ success: function (res) { if (res.confirm) { wx.navigateTo({ - url: `/pages/bargain/bargainDatail/bargainDatail?orderId=${that.data.disOrderNumber}`, + url: `/pages/spellGroup/paySpellGroup/index?orderId=${that.data.disOrderNumber}&couponChannelId=${that.data.couponChannelId}&couponId=${couponId}&orderGroupId={that.data.orderGroupId}`, }) + } } }) diff --git a/pages/spellGroup/paySpellGroup/index.js b/pages/spellGroup/paySpellGroup/index.js index 6ae2245..ad42045 100644 --- a/pages/spellGroup/paySpellGroup/index.js +++ b/pages/spellGroup/paySpellGroup/index.js @@ -62,7 +62,6 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - console.log(this.data.spellStatusList, options, 7777777) this.setData({ paramData: options })