<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="4a45256e-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="4a45256e-2" name="search" size="40" data-event-opts="{{[['^click',[['search']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></view></view><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"><block wx:if="{{side_type==5}}"><view><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">{{"设备名称："+(item.$orig.equip_name==""?"无":item.$orig.equip_name)}}</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">{{"设备 ID："+(item.$orig.equip_id||item.$orig.device_id)}}</view><view class="_p">{{"最新上报时间："+item.f0}}</view></view></view></block><block wx:if="{{side_type==15}}"><view><image class="prevents_item_img" src="http://www.hnyfwlw.com:8006/bigdata_app/image/prevention/6.png" mode></image><view class="prevents_item_top"><view class="_p">{{"设备名称："+(item.$orig.device_name==""?"无":item.$orig.device_name)}}</view></view><view class="prevents_item_bot"><view class="_p">{{"设备 ID："+item.$orig.device_id}}</view><view class="_p">{{"最新上报时间："+item.f1}}</view></view></view></block><block wx:if="{{side_type==11||side_type==19||side_type==20}}"><view><image class="prevents_item_img" src="http://www.hnyfwlw.com:8006/bigdata_app/image/prevention/6.png" mode></image><view class="prevents_item_top"><view class="_p">{{'设备名称：'+(item.$orig.device_name==""?"暂无":item.$orig.device_name)+''}}</view></view><view class="prevents_item_bot"><view class="_p">{{"设备 ID："+item.$orig.device_id}}</view><view class="_p">{{"最新上报时间："+item.f2}}</view></view></view></block></view></block></view></view></view>