|
|
@@ -34,6 +34,7 @@ Page({ |
|
|
|
that.setData({ |
|
|
|
couponChannelId: options.couponChannelId, |
|
|
|
cuserId: options.cuserId, |
|
|
|
updateDate: options.updateDate, |
|
|
|
coverImg: options.coverImg, |
|
|
|
userName: options.userName, |
|
|
|
avatarUrl: options.avatarUrl, |
|
|
@@ -88,7 +89,7 @@ Page({ |
|
|
|
}); |
|
|
|
} else { |
|
|
|
//返回主页 |
|
|
|
if (that.data.couponChannelId && !that.data.cuserId&&app.globalData.type == 'cd') { |
|
|
|
if (that.data.couponChannelId && !that.data.cuserId||that.data.couponChannelId && !that.data.cuserId&&app.globalData.type == 'cd') { |
|
|
|
// 跳转普通券/消费卡/限时秒杀/砍价详情 |
|
|
|
wx.navigateTo({ |
|
|
|
url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}` |
|
|
@@ -123,7 +124,7 @@ Page({ |
|
|
|
url: `/pages/bannerdetail/index?id=${that.data.optionData.id}`, |
|
|
|
}) |
|
|
|
} |
|
|
|
} else if (that.data.orderId&&app.globalData.type=='bg') { |
|
|
|
} else if (that.data.orderId||that.data.orderId&&app.globalData.type=='bg') { |
|
|
|
// 参与砍价 |
|
|
|
wx.navigateTo({ |
|
|
|
url: `/pages/bargain/bargainDatail/bargainDatail?orderId=${that.data.orderId}` |
|
|
|