|
|
@ -31,9 +31,10 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div v-for="(item, index) in levelTree"
|
|
|
|
<div v-for="(item, index) in levelTree"
|
|
|
|
@click="handleClickTree(item, index)"
|
|
|
|
@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" >
|
|
|
|
<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}}
|
|
|
|
{{item.name}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-number">{{ item.total }}</div>
|
|
|
|
<div class="box-number">{{ item.total }}</div>
|
|
|
@ -1178,7 +1179,9 @@ function handleClickTree(row, index) {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.iconfont{
|
|
|
|
|
|
|
|
font-size: 14px
|
|
|
|
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
|
|
|
|
.box-text {
|
|
|
|
.box-text {
|
|
|
@ -1198,6 +1201,20 @@ function handleClickTree(row, index) {
|
|
|
|
color: rgba(37, 122, 250, 1);
|
|
|
|
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 {
|
|
|
|
.box-number {
|
|
|
|