|
@@ -15,8 +15,8 @@
|
|
<view class="sensor">
|
|
<view class="sensor">
|
|
<view v-for="(item,index) in sensorData" :key="index">
|
|
<view v-for="(item,index) in sensorData" :key="index">
|
|
<img class="sensor-l" :src="baseUrl+item.icon"/>
|
|
<img class="sensor-l" :src="baseUrl+item.icon"/>
|
|
- <veiw class="sensor-r">{{item.deviceName}}:
|
|
|
|
- {{item.deviceValue?item.deviceValue:''}}{{item.unit?item.unit:''}}</veiw>
|
|
|
|
|
|
+ <view class="sensor-r">{{item.deviceName}}:
|
|
|
|
+ {{item.deviceValue?item.deviceValue:''}}{{item.unit?item.unit:''}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 智能控制 -->
|
|
<!-- 智能控制 -->
|
|
@@ -162,7 +162,7 @@
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
self.iotAppHardwareFindByType();
|
|
self.iotAppHardwareFindByType();
|
|
},200)
|
|
},200)
|
|
-
|
|
|
|
|
|
+
|
|
console.log('用户点击确定');
|
|
console.log('用户点击确定');
|
|
} else if (res.cancel) {
|
|
} else if (res.cancel) {
|
|
console.log('用户点击取消');
|
|
console.log('用户点击取消');
|
|
@@ -464,13 +464,13 @@
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
|
>view {
|
|
>view {
|
|
-
|
|
|
|
|
|
+
|
|
min-height: 66rpx;
|
|
min-height: 66rpx;
|
|
width: 355rpx;
|
|
width: 355rpx;
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
justify-content: flex-start;
|
|
align-content: center;
|
|
align-content: center;
|
|
-
|
|
|
|
|
|
+
|
|
.sensor-l {
|
|
.sensor-l {
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
width: 42rpx;
|
|
width: 42rpx;
|