<view><ui-search vue-id="174e2c52-1" placeholder="请输入设备ID" data-event-opts="{{[['^confirm',[['searchLampList']]]]}}" bind:confirm="__e" bind:__l="__l"></ui-search><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['openLampDetails',['$0'],[[['lampList','',index,'imei']]]]]]]}}" class="ui-card forecast-item" bindtap="__e"><view class="flex-1 info"><view class="{{['font-16','','title',item.$orig.is_online?'on':'off']}}">{{item.$orig.device_name}}</view><view class="text">{{"设备ID："+item.$orig.imei}}</view><view class="text">{{"最新上报时间："+item.f0}}</view></view><ui-state vue-id="{{'174e2c52-2-'+index}}" state="{{item.$orig.is_online}}" bind:__l="__l"></ui-state></view></block></block><block wx:if="{{lampList.length==0}}"><ui-empty vue-id="174e2c52-3" bind:__l="__l"></ui-empty></block></view>