diff --git a/pages/game/index.js b/pages/game/index.js index 6a62fd9..657863d 100644 --- a/pages/game/index.js +++ b/pages/game/index.js @@ -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 }); } } diff --git a/pages/joinFrDpell/index.js b/pages/joinFrDpell/index.js index 0cc4c58..2e09adc 100644 --- a/pages/joinFrDpell/index.js +++ b/pages/joinFrDpell/index.js @@ -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 {