Browse Source

[拼团][修改]:[拼团详情问题的修改]

tags/安徽版C.4.1.6最终版
meo 6 years ago
parent
commit
724df24a66
2 changed files with 11 additions and 4 deletions
  1. +3
    -1
      pages/joinFrDpell/index.js
  2. +8
    -3
      pages/spellDetail/index.js

+ 3
- 1
pages/joinFrDpell/index.js View File

@@ -41,7 +41,9 @@ Page({
avatarUrl: options.avatarUrl, avatarUrl: options.avatarUrl,
nickName: options.nickName, nickName: options.nickName,
}) })
this.checkUser(options);
if (options.orderGroupId){
this.checkUser(options);
}
}, },
gotoIndex(){ gotoIndex(){
wx.reLaunch({ wx.reLaunch({


+ 8
- 3
pages/spellDetail/index.js View File

@@ -69,9 +69,14 @@ Page({
this.setData({ this.setData({
paramData: options paramData: options
}) })
this.getUserInfo()
this.getDetail(options);
this.checkUser(options)
this.getUserInfo();
if (options.orderGroupId){
if (options.orderId && options.couponId){
this.getDetail(options);
}
this.checkUser(options);
}

// 关闭来自于左上角的分享 // 关闭来自于左上角的分享
wx.hideShareMenu() wx.hideShareMenu()
}, },


Loading…
Cancel
Save