From 3e08136bfa9d19cb02fdfb4f550c4b92629dd9f5 Mon Sep 17 00:00:00 2001 From: hupeng Date: Wed, 18 Oct 2023 17:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7=E5=9C=B0?= =?UTF-8?q?=E7=90=86=E4=BD=8D=E7=BD=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- manifest.json | 14 ++++++++++---- pages.json | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) 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",