This commit is contained in:
姚宇浩 2024-08-02 16:35:23 +08:00
parent a6f16fd8ec
commit 32f7b82882
3 changed files with 128 additions and 120 deletions

View File

@ -33,13 +33,6 @@ const colors = [
bottom: "rgba(14, 252, 255, .46)", bottom: "rgba(14, 252, 255, .46)",
front: "rgba(14, 252, 255, .66)", front: "rgba(14, 252, 255, .66)",
}, },
{
left: "rgba(60, 143, 255, .16)",
right: "rgba(60, 143, 255, .6)",
top: "rgba(60, 143, 255, 1)",
bottom: "rgba(60, 143, 255, .46)",
front: "rgba(60, 143, 255, .66)",
},
]; ];
const maxList = ref([ const maxList = ref([
190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
@ -65,7 +58,7 @@ const data = reactive({
"溪口镇", "溪口镇",
"社阳乡", "社阳乡",
"詹家镇", "詹家镇",
"龙街道", "龙街道",
"湖镇镇", "湖镇镇",
], ],
}); });
@ -534,7 +527,14 @@ const getOption = () => {
], ],
}; };
}, },
//
itemStyle: {
show: true,
color: {
type: "linear",
colorStops: [{ offset: 1, color: "rgba(234, 162, 57, 1)" }],
},
},
data: data.valueList, data: data.valueList,
}, },
{ {
@ -620,7 +620,14 @@ const getOption = () => {
], ],
}; };
}, },
//
itemStyle: {
show: true,
color: {
type: "linear",
colorStops: [{ offset: 1, color: "rgba(14, 252, 255, 1)" }],
},
},
data: data.valueList2, data: data.valueList2,
}, },
], ],

View File

@ -268,7 +268,8 @@ const getData =(nm,identNo)=>{
} }
onMounted(()=>{ onMounted(()=>{
// console.log(routers.query); // console.log(routers.query);
getData(routers.query.nm,routers.query.identNo) // getData(routers.query.nm,routers.query.identNo)
}) })
</script> </script>