<view><view class="status_bar"></view><view style="position:relative;top:40px;"><view style="position:fixed;z-index:100;background-color:#FFFFFF;height:80px;"><uni-nav-bar vue-id="1f8a018c-1" left-icon="back" left-text="返回" title="设备搜索" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar><view class="search_top_input"><input type="text" value="{{imports}}" placeholder="请输入设备ID或设备名称" data-event-opts="{{[['input',[['__set_model',['','imports','$event',[]]],['searchinp',['$event']]]]]}}" bindinput="__e"/><u-icon class="icon" vue-id="1f8a018c-2" name="search" size="40" data-event-opts="{{[['^click',[['search']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></view></view><block wx:if="{{none}}"><view class="nonetishi">暂无此设备</view></block><block wx:else><view class="prevents"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['eqdetails',['$0'],[[['eqlistdata','',index]]]]]]]}}" class="prevents_item" bindtap="__e"><image class="prevents_item_img" src="{{item.$orig.is_online==1?'http://www.hnyfwlw.com:8006/bigdata_app/image/prevention/6.png':'http://www.hnyfwlw.com:8006/bigdata_app/image/prevention/7.png'}}" mode></image><view class="prevents_item_top"><view class="_p">{{"设备 ID："+(item.$orig.imei||item.$orig.device_id)}}</view><view class="{{['_p',item.$orig.is_online==1?'green':'red']}}">{{item.$orig.is_online==1?'在线':'离线'}}</view></view><view class="prevents_item_bot"><view class="_p">{{"设备名称："+item.$orig.device_name}}</view><view class="_p">{{"最新上报时间："+item.f0}}</view></view></view></block></view></block></view><block wx:if="{{isTop}}"><view data-event-opts="{{[['tap',[['top',['$event']]]]]}}" class="top" bindtap="__e"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/6209a98f0cb3b5086f2ca36152c9269.png'}}" mode></image></view></block></view>