|
@@ -24,8 +24,8 @@
|
|
|
<div class="button-box">
|
|
|
<div class="button-for-box" :class="checkValue === index ? 'checkValue':''"
|
|
|
v-for="(item,index) in newList" :key="index">
|
|
|
- <img v-if="checkValue === index" src="@/assets/ZDimages/basicsModules/check_icon.png">
|
|
|
- <img v-if="checkValue !== index" src="@/assets/ZDimages/basicsModules/noCheck_icon.png">
|
|
|
+ <span v-if="checkValue === index" class="iconfont iconfont-a icon-xuanzhong2"></span>
|
|
|
+ <span v-if="checkValue !== index" class="iconfont iconfont-b icon-danxuankuang"></span>
|
|
|
<p>{{item.name}}:</p>
|
|
|
<p>{{item.value}}%</p>
|
|
|
</div>
|
|
@@ -298,11 +298,15 @@ import { iotStatisticsDevices } from "@/api/iotDevice/index";
|
|
|
height:20px;
|
|
|
margin:10px;
|
|
|
}
|
|
|
- p:nth-child(2){
|
|
|
-
|
|
|
+ .iconfont-a{
|
|
|
+ font-size:22px;
|
|
|
+ color:#20DA97;
|
|
|
+ margin:10px;
|
|
|
}
|
|
|
- p:nth-child(3){
|
|
|
-
|
|
|
+ .iconfont-b{
|
|
|
+ font-size:23px;
|
|
|
+ color:#999;
|
|
|
+ margin:8px 9px;
|
|
|
}
|
|
|
}
|
|
|
}
|