邓洁 : 完善细节

This commit is contained in:
dengj
2023-12-11 17:32:37 +08:00
parent 407898dcc4
commit 2f8cb49ac4
7 changed files with 37 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ const option = {
clip: false,
itemStyle: {
color: `${
params.gasInfo.value > params.gasInfo.point ? "#F94236" : "#7EDFEC"
params.gasInfo.value >= params.gasInfo.point ? "#F94236" : "#7EDFEC"
}`,
},
},
@@ -65,7 +65,9 @@ const option = {
axisLine: {
lineStyle: {
width: 25,
color: [[1, "#0a4265"]],
color: [
[1, "#0a4265"]
],
},
},
detail: {
@@ -73,7 +75,7 @@ const option = {
height: 14,
fontSize: 26,
color: `${
params.gasInfo.value > params.gasInfo.point ? "#F94236" : "#FFCE23"
params.gasInfo.value >= params.gasInfo.point ? "#F94236" : "#FFCE23"
}`,
formatter: "Vo{value}%",
},

View File

@@ -107,6 +107,7 @@ watch(() => props.list, (now, old) => {
padding-left: 5px;
&:hover {
cursor: pointer;
width: 280px;
//height: 46px;
background: #2E5589;