diff --git a/App.vue b/App.vue index 73888d8..0f71789 100644 --- a/App.vue +++ b/App.vue @@ -40,7 +40,7 @@ export default { }, mounted() { // #ifdef H5 - var vConsole = new VConsole() + //var vConsole = new VConsole() console.log('开启调试') // #endif this.setAppInfo() diff --git a/manifest.json b/manifest.json index 938b014..bd30286 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "yshopmall", - "appid" : "__UNI__C7A519E", + "appid" : "__UNI__CF66760", "description" : "", "versionName" : "1.0.2", "versionCode" : 2, @@ -180,8 +180,13 @@ "postcss" : true, "minified" : true }, - "ad" : {}, - "geolocation" : {} + "usingComponents" : true, + "permission" : { + "scope.userLocation" : { + "desc" : "定位最近的门店" + } + }, + "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ] }, "splashscreen" : { "ios" : { @@ -245,9 +250,10 @@ "usingComponents" : true, "permission" : { "scope.userLocation" : { - "desc" : "你的位置信息将用于小程序位置接口的效果展示" + "desc" : "定位最近的门店" } }, + // "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ], "plugins" : { // #ifdef MP-WEIXIN "live-player-plugin" : { diff --git a/pages.json b/pages.json index 11f428b..59b3a9b 100644 --- a/pages.json +++ b/pages.json @@ -455,8 +455,8 @@ "navigationBarTextStyle": "black", "navigationBarTitleText": "Yshop", "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8", - "navigationStyle": "default" + "backgroundColor": "#F8F8F8", + "navigationStyle": "default" }, "tabBar": { "color": "#282828",