This commit is contained in:
parent
e34071d948
commit
00de441697
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue