Browse Source

增加用户地理位置配置

master
hupeng 1 year ago
parent
commit
3e08136bfa
  1. 2
      App.vue
  2. 14
      manifest.json
  3. 4
      pages.json

2
App.vue

@ -40,7 +40,7 @@ export default {
},
mounted() {
// #ifdef H5
var vConsole = new VConsole()
//var vConsole = new VConsole()
console.log('开启调试')
// #endif
this.setAppInfo()

14
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" : {

4
pages.json

@ -455,8 +455,8 @@
"navigationBarTextStyle": "black",
"navigationBarTitleText": "Yshop",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"navigationStyle": "default"
"backgroundColor": "#F8F8F8",
"navigationStyle": "default"
},
"tabBar": {
"color": "#282828",

Loading…
Cancel
Save