|
|
|
@ -31,9 +31,10 @@
|
|
|
|
|
<div>
|
|
|
|
|
<div v-for="(item, index) in levelTree"
|
|
|
|
|
@click="handleClickTree(item, index)"
|
|
|
|
|
:class="{ active: item.active }" class="box-item">
|
|
|
|
|
:class="{ active: item.active,redColor:item.key=='CAUTION_NOTICE' }" class="box-item">
|
|
|
|
|
<div class="box-text" >
|
|
|
|
|
<i class="icon-jinggao iconfont"></i>
|
|
|
|
|
<i v-if="item.key != 'CAUTION_NOTICE'" class="icon-touzijilu iconfont"></i>
|
|
|
|
|
<i v-if="item.key == 'CAUTION_NOTICE'" class="icon-jinggao iconfont"></i>
|
|
|
|
|
{{item.name}}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-number">{{ item.total }}</div>
|
|
|
|
@ -1178,7 +1179,9 @@ function handleClickTree(row, index) {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.iconfont{
|
|
|
|
|
font-size: 14px
|
|
|
|
|
}
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
|
|
.box-text {
|
|
|
|
@ -1198,6 +1201,20 @@ function handleClickTree(row, index) {
|
|
|
|
|
color: rgba(37, 122, 250, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.active.redColor {
|
|
|
|
|
.box-number {
|
|
|
|
|
background: rgba(237, 88, 88, 1);
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.redColor{
|
|
|
|
|
|
|
|
|
|
.box-text {
|
|
|
|
|
color: rgba(237, 88, 88, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box-number {
|
|
|
|
|