|
|
@ -6,7 +6,7 @@
|
|
|
|
<span class="float-right text-danger" v-else><i class="ion ion-ios-wifi"></i></span>
|
|
|
|
<span class="float-right text-danger" v-else><i class="ion ion-ios-wifi"></i></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row" style="height:100%;width:300px;margin: 0 auto;">
|
|
|
|
<div class="row" style="height:100%;width:250px;margin: 0 auto;">
|
|
|
|
<div class="col-3 align-self-center">
|
|
|
|
<div class="col-3 align-self-center">
|
|
|
|
<img class="mh-100" :src="device.product.image" style="width:48px;" />
|
|
|
|
<img class="mh-100" :src="device.product.image" style="width:48px;" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -14,7 +14,7 @@
|
|
|
|
<div class="row" style="height:25px;line-height:25px;">
|
|
|
|
<div class="row" style="height:25px;line-height:25px;">
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
温度:
|
|
|
|
温度:
|
|
|
|
<span class="text-success mx-2" style="font-size:20px;" v-if="getDeviceDataDescription(device,'温度')==='适中'">
|
|
|
|
<span class="text-success" style="font-size:20px;" v-if="getDeviceDataDescription(device,'温度')==='适中'">
|
|
|
|
{{getDeviceDataDescription(device,'温度')}}
|
|
|
|
{{getDeviceDataDescription(device,'温度')}}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span v-else class="text-danger" style="font-size:20px;">
|
|
|
|
<span v-else class="text-danger" style="font-size:20px;">
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
<span class="text-success" style="font-size:20px;" v-if="getDeviceDataDescription(device,'湿度')==='适中'">
|
|
|
|
<span class="text-success" style="font-size:20px;" v-if="getDeviceDataDescription(device,'湿度')==='适中'">
|
|
|
|
{{getDeviceDataDescription(device,'湿度')}}
|
|
|
|
{{getDeviceDataDescription(device,'湿度')}}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span v-else class="text-danger mx-2" style="font-size:20px;">
|
|
|
|
<span v-else class="text-danger" style="font-size:20px;">
|
|
|
|
{{getDeviceDataDescription(device,'湿度')}}
|
|
|
|
{{getDeviceDataDescription(device,'湿度')}}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
{{getDeviceData(device,'湿度')}}
|
|
|
|
{{getDeviceData(device,'湿度')}}
|
|
|
|