| @@ -28,7 +28,8 @@ | |||||
| "pages/passCar/choicecoupon/choicecoupon", | "pages/passCar/choicecoupon/choicecoupon", | ||||
| "pages/passCar/couponDetail/couponDetail", | "pages/passCar/couponDetail/couponDetail", | ||||
| "pages/managelicenseplate/managelicenseplate", | "pages/managelicenseplate/managelicenseplate", | ||||
| "pages/payrule/payrule" | |||||
| "pages/payrule/payrule", | |||||
| "pages/game/index" | |||||
| ], | ], | ||||
| "tabBar": { | "tabBar": { | ||||
| "color": "#9F9F9F", | "color": "#9F9F9F", | ||||
| @@ -1,6 +1,6 @@ | |||||
| var config = { | var config = { | ||||
| // url: "https://ciformall.youlane.cn/C/api", | |||||
| url:"https://c.malls.iformall.com/C/api", | |||||
| url: "https://ciformall.youlane.cn/C/api", | |||||
| // url:"https://c.malls.iformall.com/C/api", | |||||
| // url: "http://31adc9ce.ngrok.io/C/api", | // url: "http://31adc9ce.ngrok.io/C/api", | ||||
| api: { | api: { | ||||
| /** | /** | ||||
| @@ -0,0 +1,13 @@ | |||||
| let app = getApp(); | |||||
| Page({ | |||||
| data: { | |||||
| token:'', | |||||
| url:'https://mp.weixin.qq.com/' | |||||
| }, | |||||
| onLoad() { | |||||
| console.log("https://mp.weixin.qq.com/?token="+app.globalData.token,222) | |||||
| this.setData({ | |||||
| url:"https://mp.weixin.qq.com/"+app.globalData.token | |||||
| }); | |||||
| } | |||||
| }); | |||||
| @@ -0,0 +1,6 @@ | |||||
| { | |||||
| "usingComponents": { | |||||
| }, | |||||
| "navigationBarTitleText": "游戏" | |||||
| } | |||||
| @@ -0,0 +1 @@ | |||||
| <web-view src="{{url}}"></web-view> | |||||
| @@ -18,7 +18,7 @@ Page({ | |||||
| }, | }, | ||||
| gotogame:function(){ | gotogame:function(){ | ||||
| wx.navigateTo({ | wx.navigateTo({ | ||||
| url: '/pages/game/game', | |||||
| url: '../game/index', | |||||
| }) | }) | ||||
| }, | }, | ||||
| @@ -115,7 +115,6 @@ Page({ | |||||
| data: usrdata | data: usrdata | ||||
| }) | }) | ||||
| .then(res => { | .then(res => { | ||||
| console.log("userlogin:app", res); | |||||
| app.globalData.token = res.data.token; | app.globalData.token = res.data.token; | ||||
| Http.setToken(res.data.token); | Http.setToken(res.data.token); | ||||
| that.checkUserCarStatus(); | that.checkUserCarStatus(); | ||||
| @@ -25,7 +25,7 @@ page { | |||||
| } | } | ||||
| .game { | .game { | ||||
| display: none; | |||||
| /* display: none; */ | |||||
| position: relative; | position: relative; | ||||
| width: 750rpx; | width: 750rpx; | ||||
| height: 200rpx; | height: 200rpx; | ||||