diff --git a/pages/cardorder/detail/index.js b/pages/cardorder/detail/index.js index ff8c1a8..e9558ff 100644 --- a/pages/cardorder/detail/index.js +++ b/pages/cardorder/detail/index.js @@ -38,7 +38,7 @@ Page({ }, gotogame: function () { let that = this; - wx.navigateTo({ + wx.redirectTo({ url: '/pages/game/index?url=' + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId, }) }, diff --git a/pages/couponorder/detail/index.js b/pages/couponorder/detail/index.js index 31e0263..8d4f20e 100644 --- a/pages/couponorder/detail/index.js +++ b/pages/couponorder/detail/index.js @@ -66,7 +66,7 @@ Page({ }, gotogame: function () { let that = this; - wx.navigateTo({ + wx.redirectTo({ url: '/pages/game/index?url=' + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId, }) }, diff --git a/pages/order/detail/index.js b/pages/order/detail/index.js index 68dbdb3..8e0bec7 100644 --- a/pages/order/detail/index.js +++ b/pages/order/detail/index.js @@ -114,7 +114,7 @@ Page({ }, gotogame: function () { let that = this; - wx.navigateTo({ + wx.redirectTo({ url: '/pages/game/index?url=' + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId, }) },