修改编辑页面、修改bug

This commit is contained in:
A1300399510
2023-08-08 16:01:06 +08:00
parent 0d6f1a508a
commit 9e3dba4c87
4 changed files with 115 additions and 74 deletions

View File

@@ -1,5 +1,6 @@
<template>
<div class="flexcenter pop-mask">
<img class="cross" src="@/assets/img/edit/close-icon.svg" @click="$emit('choosingLocation')" />
<div class="pop">
<div id="map"></div>
<iframe id="mapPage" width="100%" height="100%" frameborder=0
@@ -33,7 +34,7 @@ export default {
longitude: 22.3926,
latitude: 114.1332
}
},
},
key: "MVNBZ-PEFWI-O4OGT-5ADVJ-7QAYJ-NBFY4",
latlng: {
@@ -60,7 +61,6 @@ export default {
// 接收位置信息,用户选择确认位置点后选点组件会触发该事件,回传用户的位置信息
var loc = event.data;
if (loc && loc.module == 'locationPicker') {//防止其他应用也会向该页面post信息需判断module是否为'locationPicker'
console.log('location', loc);
let { latlng, poiname } = loc
that.$emit('choosingLocation', {
poiname,
@@ -90,4 +90,14 @@ export default {
border-radius: 20px;
padding: 20px;
}
.cross {
width: 15px;
height: 15px;
position: fixed;
top: 10px;
right: 5px;
z-index: 111;
cursor: pointer;
}
</style>

View File

@@ -24,6 +24,7 @@ let htmlRef = ref(null)
const init1 = () => {
if (document.documentElement.clientHeight <= 724) {
store.state.showloginmodal = false
goTologin()
return
}