This commit is contained in:
2023-04-10 17:15:36 +08:00
parent 1ecc2088e3
commit cae3cc9a68

View File

@@ -17,7 +17,7 @@
<img v-else src="../../images/1.png" alt="">
</div>
</div>
<div class="fl icon" :class="['white', 'blue', 'green', 'yellow', 'red'][Number(e.device_status)]">
<div class="fl icon" :class="['white', 'blue', 'green', 'yellow', 'red'][Number(e.device_status) - 1]">
</div>
<div class="fl desc">
<p class="device_name">{{e.deviceName}}</p>
@@ -116,7 +116,6 @@ export default {
margin-top .08rem
.txt
display inline-block
width .56rem
line-height .4rem
margin-left .11rem
float right
@@ -128,7 +127,7 @@ export default {
.device
display inline-block
width 1.75rem
margin .18rem 0rem 0 .19rem
margin 0 0 .15rem .19rem
overflow hidden
.device-top
box-sizing border-box
@@ -146,8 +145,8 @@ export default {
height .76rem
.icon
display inline-block
width .2rem
height .2rem
width .15rem
height .15rem
border-radius .1rem
margin .1rem .06rem 0 .04rem
.desc