This commit is contained in:
duanxiaohai 2024-08-01 10:38:43 +08:00
parent 70b6a43dc2
commit 0f25cc3dc7
1 changed files with 27 additions and 4 deletions

View File

@ -1302,6 +1302,29 @@ const getDatas2 = async (e, i, cs) => {
} }
}); });
}); });
//
const agename = [
"09Percent",
"1019Percent",
"2029Percent",
"3039Percent",
"4049Percent",
"5059Percent",
"6069Percent",
"7079Percent",
"8089Percent",
"9099Percent",
"100nlPercent",
];
if (res.data.ageGroupsPercent) {
console.log(PopulationRatio.value[0].progress);
agename.forEach((key, index) => {
if (PopulationRatio.value[index]) {
PopulationRatio.value[index].progress =
res.data.ageGroupsPercent[key];
}
});
}
} }
}); });
}; };
@ -2667,9 +2690,9 @@ onMounted(() => {
color: #6bfeff; color: #6bfeff;
text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5); text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
} }
.content_item_value { // .content_item_value {
// display: flex; // // display: flex;
} // }
.choose { .choose {
background-image: url(@/assets/images/map/choose.png) !important; background-image: url(@/assets/images/map/choose.png) !important;