From 0cc91098f0c1a9a418ba2cdd27074445e7dc00a2 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Tue, 2 Jul 2019 11:11:25 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8B=BC=E5=9B=A2][=E4=BF=AE=E6=94=B9]:[?= =?UTF-8?q?=E6=8B=BC=E5=9B=A2=E6=94=AF=E4=BB=98=E8=B7=AF=E5=BE=84=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/spellGroup/mySpellGroup/index.js | 7 +++++-- pages/spellGroup/paySpellGroup/index.js | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) 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 })