2024年6月27日 修改定位KEY
This commit is contained in:
parent
4c25900e83
commit
3320e6c210
|
@ -21,12 +21,13 @@
|
||||||
window._AMapSecurityConfig = {
|
window._AMapSecurityConfig = {
|
||||||
//securityJsCode: "js秘钥",
|
//securityJsCode: "js秘钥",
|
||||||
// serviceHost: 'https://wx.sjajk.com/_AMapService',
|
// serviceHost: 'https://wx.sjajk.com/_AMapService',
|
||||||
serviceHost: 'http://120.46.52.165/_AMapService',
|
serviceHost: 'http://sauser.blxinchuang.com/_AMapService',
|
||||||
|
//serviceHost: 'http://120.46.52.165/_AMapService',
|
||||||
// serviceHost: 'http://192.168.2.222:8187/_AMapService',
|
// serviceHost: 'http://192.168.2.222:8187/_AMapService',
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<!-- 高德 -->
|
<!-- 高德 -->
|
||||||
<script src="https://webapi.amap.com/maps?v=2.0&key=2acf1b8c3d1aaf0070472dec19018d96"></script>
|
<script src="https://webapi.amap.com/maps?v=2.0&key=32c22db939160ba44394eb187f7897ae"></script>
|
||||||
<!-- <script src="https://webapi.amap.com/loader.js"></script>
|
<!-- <script src="https://webapi.amap.com/loader.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
AMapLoader.load({
|
AMapLoader.load({
|
||||||
|
|
|
@ -83,9 +83,9 @@
|
||||||
"ad" : {},
|
"ad" : {},
|
||||||
"maps" : {
|
"maps" : {
|
||||||
"amap" : {
|
"amap" : {
|
||||||
"name" : "amapljwK72nl",
|
"name" : "amapAfvorp8OK",
|
||||||
"appkey_ios" : "eb38bf53409f58cbf43f383cb5733747",
|
"appkey_ios" : "078d73c3d9a2dfa551108b1f7e80e4d5",
|
||||||
"appkey_android" : "305e629f46669724c6184a187b279fec"
|
"appkey_android" : "ddd9f8703b3696ce47216ff7783bbe38"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"push" : {
|
"push" : {
|
||||||
|
@ -182,9 +182,9 @@
|
||||||
"sdkConfigs" : {
|
"sdkConfigs" : {
|
||||||
"maps" : {
|
"maps" : {
|
||||||
"amap" : {
|
"amap" : {
|
||||||
"key" : "2acf1b8c3d1aaf0070472dec19018d96",
|
"key" : "32c22db939160ba44394eb187f7897ae",
|
||||||
"securityJsCode" : "2b07c8496878c327a8ae7a19de33e2a7",
|
"securityJsCode" : "260614bdf77a5961d4379530363dc5c0",
|
||||||
"serviceHost" : "http://192.168.2.222:8187/_AMapService"
|
"serviceHost" : "http://sauser.blxinchuang.com/_AMapService"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<view class="index-head">
|
<view class="index-head">
|
||||||
<view class="index-top">
|
<view class="index-top">
|
||||||
<view class="index-top-left font-size-34">盛安到家</view>
|
<view class="index-top-left font-size-34">盛安到家</view>
|
||||||
|
<view class="index-top-left font-size-34" style="display: none;">-{{latitude}}-{{longitude}}-</view>
|
||||||
<view class="index-top-mian">
|
<view class="index-top-mian">
|
||||||
<view class="index-top-mian-text">
|
<view class="index-top-mian-text">
|
||||||
<image style="margin-top: 4px;" src="../../static/index-nav-1.png" mode=""></image>
|
<image style="margin-top: 4px;" src="../../static/index-nav-1.png" mode=""></image>
|
||||||
|
@ -421,7 +422,8 @@
|
||||||
});
|
});
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
fail: function() {
|
fail: function(e) {
|
||||||
|
console.log("获取定位返回的错误!", e)
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
that.checkPermission();
|
that.checkPermission();
|
||||||
// #endif
|
// #endif
|
||||||
|
|
Loading…
Reference in New Issue