Compare commits
No commits in common. "0f25cc3dc7dae6ab3c42081a1d8ac6a0f32c52b2" and "95894ec5c0d68518d17fd1a2ee941f6264def9e6" have entirely different histories.
0f25cc3dc7
...
95894ec5c0
|
@ -1219,31 +1219,6 @@ const getDatas = async (e, i) => {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 年龄百分比
|
||||
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];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -1302,29 +1277,6 @@ 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];
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -2690,9 +2642,9 @@ onMounted(() => {
|
|||
color: #6bfeff;
|
||||
text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
// .content_item_value {
|
||||
// // display: flex;
|
||||
// }
|
||||
.content_item_value {
|
||||
// display: flex;
|
||||
}
|
||||
|
||||
.choose {
|
||||
background-image: url(@/assets/images/map/choose.png) !important;
|
||||
|
@ -2985,7 +2937,6 @@ onMounted(() => {
|
|||
height: 120px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 4px;
|
||||
|
||||
.progress-wrapper {
|
||||
display: flex;
|
||||
|
@ -3055,7 +3006,7 @@ onMounted(() => {
|
|||
}
|
||||
|
||||
span {
|
||||
top: 26px;
|
||||
top: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3073,7 +3024,7 @@ onMounted(() => {
|
|||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 1px;
|
||||
width: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
|
@ -3081,7 +3032,7 @@ onMounted(() => {
|
|||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 14px;
|
||||
font-size: 18px;
|
||||
|
||||
&.above-line1 {
|
||||
top: -50px;
|
||||
|
|
Loading…
Reference in New Issue