This commit is contained in:
parent
e34071d948
commit
00de441697
|
@ -867,6 +867,10 @@ const closeEdit = async () => {
|
|||
});
|
||||
addCsChoose();
|
||||
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 () => {
|
||||
|
@ -2975,9 +2979,15 @@ const DGcreateCs = (polygon, indexx) => {
|
|||
});
|
||||
map.addOverlay(cs_dd_arr.value[indexx]);
|
||||
cs_dd_arr.value[indexx].addEventListener("click", () => {
|
||||
console.log(polygon.id);
|
||||
if (showEdit.value) {
|
||||
} else {
|
||||
changeCsqkId.value = polygon.id;
|
||||
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;
|
||||
z-index: 12;
|
||||
overflow: hidden;
|
||||
|
||||
transition: opacity 2s;
|
||||
//人口数
|
||||
.lyx {
|
||||
.content_item2 {
|
||||
|
@ -3396,7 +3406,7 @@ onMounted(async () => {
|
|||
flex-direction: column;
|
||||
z-index: 12;
|
||||
overflow: hidden;
|
||||
|
||||
transition: opacity 2s;
|
||||
.jbggfwq {
|
||||
.jbggfwq_content {
|
||||
height: 520px;
|
||||
|
|
Loading…
Reference in New Issue