pull/150/head
wb-zhuangyuehuang-vjzzZ 2024-06-03 18:23:51 +08:00
parent f471f3d01f
commit 4a95ac5443
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
<img :src="item.img" alt=""> <img :src="item.img" alt="">
<div> <div>
<div class="text">{{ item.name }}</div> <div class="text">{{ item.name }}</div>
<div class="number" :class="item.num == '故障' ? 'red' : ''"> {{ getControlData(item) }}</div> <div class="number" :style="item.num=='故障'?'color:rgba(252, 125, 106, 1)':''"> {{ getControlData(item) }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -71,7 +71,7 @@
<img :src="item.img" alt=""> <img :src="item.img" alt="">
<div> <div>
<div class="text">{{ item.name }}</div> <div class="text">{{ item.name }}</div>
<div class="number" :class="item.num == '故障' ? 'red' : ''"> {{ getControlData(item) }}</div> <div class="number" :style="item.num=='故障'?'color:rgba(252, 125, 106, 1)':''"> {{ getControlData(item) }}</div>
</div> </div>
</div> </div>
</vue-seamless> </vue-seamless>
@ -321,7 +321,7 @@
<img :src="item.img" alt=""> <img :src="item.img" alt="">
<div> <div>
<div class="text">{{ item.name }}</div> <div class="text">{{ item.name }}</div>
<div class="number" :class="item.num == '故障' ? 'red' : ''"> {{ getControlData(item) }}</div> <div class="number" :style="item.num=='故障'?'color:rgba(252, 125, 106, 1)':''"> {{ getControlData(item) }}</div>
</div> </div>
</div> </div>
</div> </div>