From 2196ea3f10c0b5de5ce24dc9325a2845709a1a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Thu, 14 Mar 2019 16:36:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E5=8A=A0=E6=8B=BC=E5=9B=A2=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E8=B4=AD=E4=B9=B0=E8=B7=B3=E8=BD=AC=E6=96=B9=E5=BC=8F?= =?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/game/index.js | 5 +++-- pages/joinFrDpell/index.js | 8 +------- 2 files changed, 4 insertions(+), 9 deletions(-) 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 {