7.18(地图

This commit is contained in:
Hong
2024-07-18 15:17:12 +08:00
parent cd432178c6
commit be0a8660a5
2 changed files with 3 additions and 4 deletions

View File

@@ -209,7 +209,7 @@ export default {
false,
);
window.selectAdderss = this.selectAdderss;
this.keyUrl = `https://apis.map.qq.com/tools/locpicker?type=1&key=SMJBZ-WCHK4-ZPZUA-DSIXI-XDDVQ-XWFX7&referer=myapp`;
this.keyUrl = `https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=MIDBZ-IGRLQ-AFR5G-BZNA2-7EXRV-5NFEL&referer=myapp`;
},
created() {
this.getDivideAllListFn()

View File

@@ -41,7 +41,7 @@
placeholder="请查找位置"
readonly
/>
<iframe id="mapPage" width="100%" height="500px" frameborder="0" src="https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=BNJBZ-KRT6Z-DG6XE-T4GBK-UOLAS-M7F4H&referer=myapp" />
<iframe id="mapPage" width="100%" height="500px" frameborder="0" :src="keyUrl" />
</el-form-item>
<el-form-item label="详细地址" prop="addressDetail" class="inline">
<el-input v-model="dataForm.addressDetail" placeholder="请输入详细地址" style="width: 200px;" />
@@ -359,8 +359,7 @@ export default {
false,
);
window.selectAdderss = this.selectAdderss;
this.keyUrl = ``;
// this.keyUrl = `https://uri.amap.com/marker?position=116.473195,39.993253`;
this.keyUrl = `https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=MIDBZ-IGRLQ-AFR5G-BZNA2-7EXRV-5NFEL&referer=myapp`;
},
methods: {
// 选择经纬度