<view><view class="status_bar"></view><view style="position:fixed;z-index:100;background-color:#FFFFFF;height:80px;top:40px;"><uni-nav-bar vue-id="1179f339-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="1179f339-2" name="search" size="40" data-event-opts="{{[['^click',[['search']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></view></view><block wx:if="{{aftersaleinfotf}}"><view class="aftersaleinfo">暂无此设备信息</view></block><block wx:else><view class="aftersale"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="aftersale_item"><view class="aftersale_item_title"><u-icon vue-id="{{'1179f339-3-'+index}}" name="calendar" color="#71D8AF" size="34" bind:__l="__l"></u-icon><label class="_span">{{"设备 ID："+item.$orig.device_id}}</label></view><view class="aftersale_item_con"><view class="_p">{{"联系人："+item.$orig.user}}</view><view class="_p">{{"联系电话："+item.$orig.userphone}}</view><view class="_p">{{"位置："+item.$orig.addr}}</view><view class="_p">{{"故障上报时间："+item.f0}}</view></view><view class="aftersale_item_operate"><button data-event-opts="{{[['tap',[['fault',['$0'],[[['faultdata','',index,'errordesc']]]]]]]}}" class="fault" bindtap="__e">故障原因</button><button class="{{[item.g0!=0?'imgs':'none']}}" disabled="{{item.g1==0}}" data-event-opts="{{[['tap',[['faultImg',['$0'],[[['faultdata','',index,'errorimg']]]]]]]}}" bindtap="__e">图片</button><button class="{{[item.$orig.errorvideo?'video':'none']}}" disabled="{{!item.$orig.errorvideo}}" data-event-opts="{{[['tap',[['faultVideo',['$0'],[[['faultdata','',index,'errorvideo']]]]]]]}}" bindtap="__e">视频</button></view><view class="aftersale_item_icon"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+aftersale_icon[item.m0-2].src}}" mode></image></view></view></block></view></block><u-modal bind:input="__e" class="model" vue-id="1179f339-4" mask-close-able="{{maskcloseable}}" show-confirm-button="{{showconfirmbutton}}" title="{{title}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="model_box"><block wx:if="{{faultinfo_tf}}"><view class="_p">{{faultinfo}}</view></block><block wx:if="{{faultimg_tf}}"><u-swiper class="uswiper" style="width:100%;" vue-id="{{('1179f339-5')+','+('1179f339-4')}}" list="{{faultimg}}" height="400" data-event-opts="{{[['^click',[['examine',['$0'],['faultimg']]]]]}}" bind:click="__e" bind:__l="__l"></u-swiper></block><block wx:if="{{faultvideo_tf}}"><video style="width:90%;" src="{{BASE_URL+faultvideo}}" controls="{{true}}"></video></block></view></u-modal></view>