类型:开发
描述:
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<div class="right">
|
||||
<div class="item" v-for="(item, index) in homeStore.visitorInfoList" :key="index">
|
||||
<div class="label">{{ item.name }}</div>
|
||||
<div :class="[[3,4].includes(item.type)? 'value--error' : 'value--primary']">{{
|
||||
<div :class="item.type==0? 'value--primary' : (item.type==1? 'value--warning' : 'value--error')">{{
|
||||
item.value
|
||||
}}</div>
|
||||
</div>
|
||||
@@ -439,6 +439,10 @@
|
||||
@extend .value;
|
||||
color: #ff4400;
|
||||
}
|
||||
&--warning {
|
||||
@extend .value;
|
||||
color: #DCBB48;
|
||||
}
|
||||
&--primary {
|
||||
@extend .value;
|
||||
color: #02f9fa;
|
||||
|
||||
Reference in New Issue
Block a user