From 364dad93e412d29982fa68cd9f8ef36a06611194 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Sat, 29 Dec 2018 11:31:43 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8D=A1=E4=B9=B0=E5=AE=8C=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E6=B6=88=E8=B4=B9=E9=A1=B5=E9=9D=A2]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.js | 6 +++--- pages/order/detail/index.js | 6 ++++++ pages/order/detail/index.wxml | 4 ++++ project.config.json | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/config/config.js b/config/config.js index 98502ba..006b46a 100755 --- a/config/config.js +++ b/config/config.js @@ -1,9 +1,9 @@ var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; var appId = extConfig.appId; var config = { - // url: "https://ciformall.youlane.cn/C/api", + url: "https://ciformall.youlane.cn/C/api", // url:"https://c.malls.iformall.com/C/api", - url:'https://ctest.malls.iformall.com/C/api', + // url:'https://ctest.malls.iformall.com/C/api', // url:'http://10.100.33.68:7000/C/api', // url: 'http://10.100.30.172:7000/C/api', api: { @@ -199,7 +199,7 @@ var config = { }, weapp: { - AppId: "wx649b3be73c1afe47" + AppId: "wxea71200db93d756b" }, ErrorCode: { diff --git a/pages/order/detail/index.js b/pages/order/detail/index.js index 39a091c..dd60141 100644 --- a/pages/order/detail/index.js +++ b/pages/order/detail/index.js @@ -66,6 +66,12 @@ Page({ url: '/pages/game/index?url=' + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId, }) }, + // 买完卡跳转到立即使用页面 + gotoUse:function(){ + wx.switchTab({ + url: '/pages/user/index' + }) + }, // 获取游戏 getStaticGame(token) { let _this = this; diff --git a/pages/order/detail/index.wxml b/pages/order/detail/index.wxml index f1a4653..a28e1fb 100644 --- a/pages/order/detail/index.wxml +++ b/pages/order/detail/index.wxml @@ -83,4 +83,8 @@ + + + + \ No newline at end of file diff --git a/project.config.json b/project.config.json index 2970aaf..4e30ca0 100644 --- a/project.config.json +++ b/project.config.json @@ -13,7 +13,7 @@ }, "compileType": "miniprogram", "libVersion": "2.0.9", - "appid": "wx649b3be73c1afe47", + "appid": "wxea71200db93d756b", "projectname": "C", "isGameTourist": false, "condition": {