1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
|
<view class="greenhouseDevice data-v-040585e6"><u-navbar vue-id="7cabb7e0-1" background="{{background}}" is-back="{{true}}" back-icon-color="#FFFFFF" border-bottom="{{false}}" title="温室设备" title-color="#FFFFFF" title-bold="{{true}}" title-size="32" class="data-v-040585e6" bind:__l="__l"></u-navbar><view class="content data-v-040585e6"><block wx:for="{{deviceList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.equipmentName==10}}"><view class="item data-v-040585e6"><image src="../../static/greenhouseDevice.png" mode class="data-v-040585e6"></image><view class="center data-v-040585e6"><text class="data-v-040585e6">{{item.equipmentName==10?item.deviceTypeName:''}}</text><text class="{{['data-v-040585e6',item.deviceState==1?'state':'state_act']}}">{{item.deviceState==1?"在线":"离线"}}</text></view><block wx:if="{{item.deviceState==1}}"><view data-event-opts="{{[['tap',[['toController',['$0'],[[['deviceList','',index]]]]]]]}}" class="right data-v-040585e6" bindtap="__e"><text class="data-v-040585e6">状态</text><image src="../../static/right-arrow.png" mode class="data-v-040585e6"></image></view></block></view></block></block></view></view>
|