This commit is contained in:
姚宇浩 2024-08-20 16:48:38 +08:00
parent e34071d948
commit 00de441697
1 changed files with 15 additions and 5 deletions

View File

@ -867,6 +867,10 @@ const closeEdit = async () => {
}); });
addCsChoose(); addCsChoose();
showEdit.value = false; showEdit.value = false;
let a = document.documentElement.getElementsByClassName("left")[0];
a.style.opacity = "1";
let b = document.documentElement.getElementsByClassName("right")[0];
b.style.opacity = "1";
}; };
// //
const saveDK = async () => { const saveDK = async () => {
@ -2975,9 +2979,15 @@ const DGcreateCs = (polygon, indexx) => {
}); });
map.addOverlay(cs_dd_arr.value[indexx]); map.addOverlay(cs_dd_arr.value[indexx]);
cs_dd_arr.value[indexx].addEventListener("click", () => { cs_dd_arr.value[indexx].addEventListener("click", () => {
console.log(polygon.id); if (showEdit.value) {
} else {
changeCsqkId.value = polygon.id; changeCsqkId.value = polygon.id;
showEdit.value = !showEdit.value; showEdit.value = !showEdit.value;
let a = document.documentElement.getElementsByClassName("left")[0];
a.style.opacity = "0";
let b = document.documentElement.getElementsByClassName("right")[0];
b.style.opacity = "0";
}
}); });
}; };
//(+) //(+)
@ -3148,7 +3158,7 @@ onMounted(async () => {
flex-direction: column; flex-direction: column;
z-index: 12; z-index: 12;
overflow: hidden; overflow: hidden;
transition: opacity 2s;
// //
.lyx { .lyx {
.content_item2 { .content_item2 {
@ -3396,7 +3406,7 @@ onMounted(async () => {
flex-direction: column; flex-direction: column;
z-index: 12; z-index: 12;
overflow: hidden; overflow: hidden;
transition: opacity 2s;
.jbggfwq { .jbggfwq {
.jbggfwq_content { .jbggfwq_content {
height: 520px; height: 520px;