- <view class="item"><block wx:if="{{item.device_status==1}}"><view class="tag tag-on"></view></block><block wx:else><view class="tag tag-off"></view></block><view class="info"><text>{{"设备ID:"+item.device_id}}</text><block wx:if="{{item.device_status==1}}"><text class="state on">在线</text></block><block wx:else><text class="state off">离线</text></block></view><view class="date">{{'最新上报时间:'+$root.f0+''}}</view></view>
|