diff --git a/config/config.js b/config/config.js index 6c90f14..372b105 100755 --- a/config/config.js +++ b/config/config.js @@ -1,5 +1,6 @@ var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; -var appId = extConfig.appId; +var weappId = extConfig.weappId; +console.log(weappId) var config = { url: "https://ciformall.youlane.cn/C/api", // url:"https://c.malls.iformall.com/C/api", @@ -219,7 +220,7 @@ var config = { }, weapp: { - AppId: "wxea71200db93d756b" + AppId: weappId }, ErrorCode: { diff --git a/ext.json b/ext.json index 967ac9e..66e6b00 100644 --- a/ext.json +++ b/ext.json @@ -1,56 +1,51 @@ { "extEnable": true, - "extAppid": "wxea71200db93d756b", + "extAppid": "wx03bda5c0eedc7716", "ext": { - "weappId": "wxea71200db93d756b", - "name": "富茂客官开发", "attr": { - "ifHaveCarModular":"1", - "etcpversion":"release", - "configUrl":"https://ciformall.youlane.cn/C/api", - "passCarAppId":"wx192b7d2e8dcbefd0", - "passCarreturnUrl":"https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback" - } - }, - "permission": { - "scope.userLocation": { - "desc": "你的位置信息将用于小程序位置接口的效果展示" - } + "configUrl": "https://ciformall.youlane.cn/C/api", + "etcpversion": "release", + "passCarAppId": "wx192b7d2e8dcbefd0", + "ifHaveCarModular": "1", + "passCarreturnUrl": "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback" + }, + "name": "富茂客官开发", + "weappId": "wxea71200db93d756b" }, - "directCommit": false, + "debug": false, "tabBar": { - "color": "#9F9F9F", - "selectedColor": "#00C0FF", "list": [ { - "pagePath": "pages/main/index", + "text": "首页", "iconPath": "assets/images/home-n.png", - "selectedIconPath": "assets/images/home-y.png", - "text": "首页" + "pagePath": "pages/main/index", + "selectedIconPath": "assets/images/home-y.png" }, { - "pagePath": "pages/passCar/passCar", + "text": "停车", "iconPath": "assets/images/pass1.png", - "selectedIconPath": "assets/images/pass0.png", - "text": "停车" + "pagePath": "pages/passCar/passCar", + "selectedIconPath": "assets/images/pass0.png" }, { - "pagePath": "pages/user/index", + "text": "我的", "iconPath": "assets/images/user-n.png", - "selectedIconPath": "assets/images/user-y.png", - "text": "我的" + "pagePath": "pages/user/index", + "selectedIconPath": "assets/images/user-y.png" } - ] + ], + "color": "#9F9F9F", + "selectedColor": "#00C0FF" }, "window": { "backgroundTextStyle": "dark", - "navigationBarBackgroundColor": "#02C0FF", + "navigationBarTextStyle": "white", "navigationBarTitleText": "WeChat", - "navigationBarTextStyle": "white" + "navigationBarBackgroundColor": "#02C0FF" }, + "directCommit": false, "networkTimeout": { "request": 30000, "downloadFile": 10000 - }, - "debug": false + } } \ No newline at end of file diff --git a/pages/passCar/passCar.js b/pages/passCar/passCar.js index 7d4adf6..bff2b4f 100644 --- a/pages/passCar/passCar.js +++ b/pages/passCar/passCar.js @@ -65,12 +65,6 @@ Page({ envVersion:'release', path:"pages/main/main", }) - // wx.navigateToMiniProgram({ - // appId:'wxc07f9d67923d676d', - // extraData: this.data.extraData, - // envVersion:'release', - // path: "pages/main/main", - // }) }, showquan: function() { wx.navigateTo({ diff --git a/project.config.json b/project.config.json index 4e30ca0..f8653ab 100644 --- a/project.config.json +++ b/project.config.json @@ -4,7 +4,7 @@ "ignore": [] }, "setting": { - "urlCheck": false, + "urlCheck": true, "es6": true, "postcss": true, "minified": true, @@ -13,7 +13,7 @@ }, "compileType": "miniprogram", "libVersion": "2.0.9", - "appid": "wxea71200db93d756b", + "appid": "wx453ae0d37f3550d0", "projectname": "C", "isGameTourist": false, "condition": {