style:调整对应级别显示的颜色
This commit is contained in:
@@ -76,13 +76,13 @@
|
|||||||
let alert=item.alert[0];
|
let alert=item.alert[0];
|
||||||
if(alert.P1>0){
|
if(alert.P1>0){
|
||||||
return{
|
return{
|
||||||
color:'#FFAB99',
|
color:'#FAAFAF',
|
||||||
hoverColor:'#FABEB2',
|
hoverColor:'#FFCDCD',
|
||||||
};
|
};
|
||||||
} else if(alert.P2>0){
|
} else if(alert.P2>0){
|
||||||
return{
|
return{
|
||||||
color:'#FAAFAF',
|
color:'#FFAB99',
|
||||||
hoverColor:'#FFCDCD',
|
hoverColor:'#FABEB2',
|
||||||
};
|
};
|
||||||
} else if(alert.P3>0){
|
} else if(alert.P3>0){
|
||||||
return{
|
return{
|
||||||
|
|||||||
Reference in New Issue
Block a user