新增点击地点标点,弹出地点信息弹窗功能
parent
4f3116c081
commit
f003baa36d
|
@ -51,13 +51,13 @@ const adaptive = (imgId) => {
|
|||
let newImg;
|
||||
setTimeout(() => {
|
||||
newImg = document.getElementById(imgId);
|
||||
}, 5);
|
||||
}, 10);
|
||||
setTimeout(() => {
|
||||
let newWidth = window.getComputedStyle(newImg, null)["width"];
|
||||
let newMargin = window.getComputedStyle(newImg, null).marginLeft;
|
||||
describesShow.value = `width:${newWidth};left:${newMargin};${judgmentDown.value}`;
|
||||
brieflyShow.value = `width:${newWidth};left:${newMargin};${judgmentUp.value}`;
|
||||
}, 10);
|
||||
}, 20);
|
||||
}
|
||||
|
||||
watch(() => LandMarkShow.boxShow, (newValue, oldValue) => {
|
||||
|
|
Loading…
Reference in New Issue