| @@ -1,7 +1,7 @@ | |||||
| var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; | var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; | ||||
| var appId = extConfig.appId; | var appId = extConfig.appId; | ||||
| var config = { | 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://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.33.68:7000/C/api', | ||||
| @@ -199,7 +199,7 @@ var config = { | |||||
| }, | }, | ||||
| weapp: { | weapp: { | ||||
| AppId: "wxea71200db93d756b", | |||||
| AppId: appId | |||||
| }, | }, | ||||
| ErrorCode: { | ErrorCode: { | ||||
| @@ -1,43 +0,0 @@ | |||||
| { | |||||
| "extEnable": true, | |||||
| "extAppid": "wxea71200db93d756b", | |||||
| "ext": { | |||||
| "appId": "wxea71200db93d756b" | |||||
| }, | |||||
| "directCommit": false, | |||||
| "tabBar": { | |||||
| "color": "#9F9F9F", | |||||
| "selectedColor": "#00C0FF", | |||||
| "list": [ | |||||
| { | |||||
| "pagePath": "pages/index/index", | |||||
| "iconPath": "assets/images/home-n.png", | |||||
| "selectedIconPath": "assets/images/home-y.png", | |||||
| "text": "首页" | |||||
| }, | |||||
| { | |||||
| "pagePath": "pages/passCar/passCar", | |||||
| "iconPath": "assets/images/pass1.png", | |||||
| "selectedIconPath": "assets/images/pass0.png", | |||||
| "text": "停车" | |||||
| }, | |||||
| { | |||||
| "pagePath": "pages/user/index", | |||||
| "iconPath": "assets/images/user-n.png", | |||||
| "selectedIconPath": "assets/images/user-y.png", | |||||
| "text": "我的" | |||||
| } | |||||
| ] | |||||
| }, | |||||
| "window": { | |||||
| "backgroundTextStyle": "red", | |||||
| "navigationBarBackgroundColor": "#02C0FF", | |||||
| "navigationBarTitleText": "WeChat", | |||||
| "navigationBarTextStyle": "white" | |||||
| }, | |||||
| "networkTimeout": { | |||||
| "request": 30000, | |||||
| "downloadFile": 10000 | |||||
| }, | |||||
| "debug": false | |||||
| } | |||||
| @@ -68,16 +68,14 @@ Page({ | |||||
| var param = { | var param = { | ||||
| pageNum: pageNum, | pageNum: pageNum, | ||||
| pageSize: 6, | pageSize: 6, | ||||
| targetAd: 1, | |||||
| type: "7" | |||||
| targetAd: 5, | |||||
| }; | }; | ||||
| } else { | } else { | ||||
| var param = { | var param = { | ||||
| pageNum: pageNum, | pageNum: pageNum, | ||||
| pageSize: 6, | pageSize: 6, | ||||
| business: key, | business: key, | ||||
| targetAd: 1, | |||||
| type: "7" | |||||
| targetAd: 5, | |||||
| }; | }; | ||||
| } | } | ||||
| if (that.data.allow_load) { | if (that.data.allow_load) { | ||||
| @@ -77,6 +77,8 @@ Page({ | |||||
| * 生命周期函数--监听页面初次渲染完成 | * 生命周期函数--监听页面初次渲染完成 | ||||
| */ | */ | ||||
| onLoad: function (options) { | onLoad: function (options) { | ||||
| console.log("AppId:" + config.weapp.AppId) | |||||
| console.log("-------------------Yesyyy----------------------------------") | |||||
| wx.setStorageSync('imgurl', imgurl) | wx.setStorageSync('imgurl', imgurl) | ||||
| if (options.played == "true") { | if (options.played == "true") { | ||||
| this.setData({ | this.setData({ | ||||
| @@ -4,7 +4,7 @@ | |||||
| "ignore": [] | "ignore": [] | ||||
| }, | }, | ||||
| "setting": { | "setting": { | ||||
| "urlCheck": true, | |||||
| "urlCheck": false, | |||||
| "es6": true, | "es6": true, | ||||
| "postcss": true, | "postcss": true, | ||||
| "minified": true, | "minified": true, | ||||
| @@ -13,7 +13,7 @@ | |||||
| }, | }, | ||||
| "compileType": "miniprogram", | "compileType": "miniprogram", | ||||
| "libVersion": "2.0.9", | "libVersion": "2.0.9", | ||||
| "appid": "wxea71200db93d756b", | |||||
| "appid": "wxb11603577a84a86d", | |||||
| "projectname": "C", | "projectname": "C", | ||||
| "isGameTourist": false, | "isGameTourist": false, | ||||
| "condition": { | "condition": { | ||||