From 0d914ad9136992fdba6a1d3641600ab8323fa5e7 Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Thu, 25 Jul 2024 16:52:26 +0800 Subject: [PATCH] gx --- src/view/sy_map.vue | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index a4809f6..238e406 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -1449,6 +1449,13 @@ const personTotal = ref([ ages: "12岁", age: "1000", }, + { + id: 14, + name: "死亡总人口", + value: "5650", + ages: "死亡总人口", + age: "1000", + }, ]); //特殊标签 @@ -2076,9 +2083,18 @@ const getData = async (i, e) => { age: "", value: "res.data.total", }, + { + id: "6666", + name: "死亡总人口", + value: "5650", + ages: "死亡总人口", + age: "1000", + }, ]; personTotal.value[0].rksl = res.data.total; personTotal.value[0].ages = "总人口"; + personTotal.value[1].rksl = res.data.swrs; + personTotal.value[1].ages = "死亡"; res.data.age.forEach((item, index) => { personTotal.value.push({ id: index + 1, @@ -2095,6 +2111,7 @@ const getData = async (i, e) => { // } // }); // }); + console.log(111, res.data.townWwrs); mapTownCount.map((item) => { item.number = 0; res.data.town.map((items) => { @@ -2387,6 +2404,19 @@ onMounted(() => { background-size: 100% 100%; margin-bottom: 12px; } + .content_item:nth-child(2) { + box-sizing: border-box; + display: flex; + align-items: center; + justify-content: space-between; + padding: 24px; + width: 100%; + height: 57px; + background-image: url(@/assets/images/map/unchoose.png); + background-repeat: no-repeat; + background-size: 100% 100%; + margin-bottom: 12px; + } .content_item_name { position: relative;