增加用户地理位置配置
This commit is contained in:
2
App.vue
2
App.vue
@ -40,7 +40,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
var vConsole = new VConsole()
|
//var vConsole = new VConsole()
|
||||||
console.log('开启调试')
|
console.log('开启调试')
|
||||||
// #endif
|
// #endif
|
||||||
this.setAppInfo()
|
this.setAppInfo()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "yshopmall",
|
"name" : "yshopmall",
|
||||||
"appid" : "__UNI__C7A519E",
|
"appid" : "__UNI__CF66760",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.2",
|
"versionName" : "1.0.2",
|
||||||
"versionCode" : 2,
|
"versionCode" : 2,
|
||||||
@ -180,8 +180,13 @@
|
|||||||
"postcss" : true,
|
"postcss" : true,
|
||||||
"minified" : true
|
"minified" : true
|
||||||
},
|
},
|
||||||
"ad" : {},
|
"usingComponents" : true,
|
||||||
"geolocation" : {}
|
"permission" : {
|
||||||
|
"scope.userLocation" : {
|
||||||
|
"desc" : "定位最近的门店"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"requiredPrivateInfos" : [ "getLocation", "chooseLocation" ]
|
||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"ios" : {
|
"ios" : {
|
||||||
@ -245,9 +250,10 @@
|
|||||||
"usingComponents" : true,
|
"usingComponents" : true,
|
||||||
"permission" : {
|
"permission" : {
|
||||||
"scope.userLocation" : {
|
"scope.userLocation" : {
|
||||||
"desc" : "你的位置信息将用于小程序位置接口的效果展示"
|
"desc" : "定位最近的门店"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ],
|
||||||
"plugins" : {
|
"plugins" : {
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
"live-player-plugin" : {
|
"live-player-plugin" : {
|
||||||
|
@ -456,7 +456,7 @@
|
|||||||
"navigationBarTitleText": "Yshop",
|
"navigationBarTitleText": "Yshop",
|
||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#F8F8F8",
|
||||||
"backgroundColor": "#F8F8F8",
|
"backgroundColor": "#F8F8F8",
|
||||||
"navigationStyle": "default"
|
"navigationStyle": "default"
|
||||||
},
|
},
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#282828",
|
"color": "#282828",
|
||||||
|
Reference in New Issue
Block a user