Bläddra i källkod

参加拼团直接购买跳转方式修改

tags/富茂链客4.1.0
刘晖 6 år sedan
förälder
incheckning
2196ea3f10
2 ändrade filer med 4 tillägg och 9 borttagningar
  1. +3
    -2
      pages/game/index.js
  2. +1
    -7
      pages/joinFrDpell/index.js

+ 3
- 2
pages/game/index.js Visa fil

@@ -31,12 +31,13 @@ Page({
};
},
onLoad(options) {
console.log(options,999)
if (options.share){
// wx.onShareAppMessage();
}else{
this.setData({
url: options.url + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id,
// url: "https://game.youlane.cn/guaguale/index.html" + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id,
url: options.url + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id
// url: 'http://10.100.10.74:8080/goldEgg/' + "?token=" + app.globalData.token + "&gameId=" + options.gameId + "&id=" + options.id
});
}
}

+ 1
- 7
pages/joinFrDpell/index.js Visa fil

@@ -147,12 +147,6 @@ Page({
})
this.orderFunc(this.data.orderGroupId)
},
//参与别人的拼团
gotoPartner() {
wx.reLaunch({
url: `/pages/spellDetail/index?orderId=${this.data.spellData.orderId}&couponId=${this.data.spellData.couponId}&orderGroupId=${this.data.spellData.orderGroupId}`
});
},
/**
* 获取一个拼团信息
*/
@@ -238,7 +232,7 @@ Page({
.then(res => {
wx.hideLoading()
if (orderGroupId==undefined) {
wx.reLaunch({
wx.navigateTo({
url: '/pages/order/detail/index?orderId=' + res.data.id,
})
} else {


Laddar…
Avbryt
Spara