Commit 78099157 authored by 张牧越's avatar 张牧越

styleFix

parent 44e5b5dd
......@@ -281,13 +281,23 @@
v-for="(legend, index) in aiwarningData"
:key="index"
:style="{
color: legend.name == '已处理' ? '#AEE4F8' : '#FF754C',
color:
legend.name == '已处理'
? '#18d7b9'
: legend.name == '处理中'
? '#feba01'
: '#ff754c',
}"
>
<span
class="rect"
:style="{
background: legend.name == '已处理' ? '#AEE4F8' : '#FF754C',
background:
legend.name == '已处理'
? '#18d7b9'
: legend.name == '处理中'
? '#feba01'
: '#ff754c',
}"
></span>
{{ legend.name }} {{ legend.value }}
......@@ -370,7 +380,12 @@ export default {
return {
...item,
itemStyle: {
color: item.name == "已处理" ? "#AEE4F8" : "#FF754C",
color:
item.name == "已处理"
? "#18d7b9"
: item.name == "处理中"
? "#feba01"
: "#ff754c",
},
};
}),
......
......@@ -129,14 +129,23 @@
v-for="(legend, index) in todayPieChartData"
:key="index"
:style="{
color: legend.name == '未处理' ? '#FFAF51' : '#0CDEE3',
color:
legend.name == '已处理'
? '#18d7b9'
: legend.name == '处理中'
? '#feba01'
: '#ff754c',
}"
>
<span
class="rect"
:style="{
background:
legend.name == '未处理' ? '#FFAF51' : '#0CDEE3',
legend.name == '已处理'
? '#18d7b9'
: legend.name == '处理中'
? '#feba01'
: '#ff754c',
}"
></span>
{{ legend.name }} {{ legend.value }}
......@@ -164,14 +173,23 @@
v-for="(legend, index) in historyChartData"
:key="index"
:style="{
color: legend.name == '未处理' ? '#FCFF11' : '#2980FF',
color:
legend.name == '已处理'
? '#18d7b9'
: legend.name == '处理中'
? '#feba01'
: '#ff754c',
}"
>
<span
class="rect"
:style="{
background:
legend.name == '未处理' ? '#FCFF11' : '#2980FF',
legend.name == '已处理'
? '#18d7b9'
: legend.name == '处理中'
? '#feba01'
: '#ff754c',
}"
></span>
{{ legend.name }} {{ legend.value }}
......@@ -338,7 +356,12 @@ export default {
return {
...item,
itemStyle: {
color: item.name == "未处理" ? "#FFAF51" : "#0CDEE3",
color:
item.name == "已处理"
? "#18d7b9"
: item.name == "处理中"
? "#feba01"
: "#ff754c",
},
};
}),
......@@ -388,7 +411,12 @@ export default {
return {
...item,
itemStyle: {
color: item.name == "未处理" ? "#FCFF11" : "#2980FF",
color:
item.name == "已处理"
? "#18d7b9"
: item.name == "处理中"
? "#feba01"
: "#ff754c",
},
};
}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment