<view><view class="status_bar"></view><view style="position:relative;top:40px;"><view style="position:fixed;z-index:100;width:100%;"><uni-nav-bar vue-id="779fa93d-1" left-icon="back" left-text="返回" title="设备详情" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar></view><view class="info"><view class="info_item"><image class="bgi" src="{{eqinfo.item.is_online==1?'http://www.hnyfwlw.com:8006/bigdata_app/image/cb/onBg.png':'http://www.hnyfwlw.com:8006/bigdata_app/image/cb/offBg.png'}}" mode></image><view data-event-opts="{{[['tap',[['copy',['$0'],['eqinfo.item']]]]]}}" style="font-size:32rpx;" bindtap="__e" class="_p">{{"设备\n\t\t\t\t\tID："+(eqinfo.item.equip_id||eqinfo.item.device_id)+''}}<image class="tishi" src="http://www.hnyfwlw.com:8006/bigdata_app/image/environment/fuzhi.png" mode></image></view><view class="_p">{{"设备名称："+(eqinfo.item.equip_name?eqinfo.item.equip_name:"无")}}</view><view class="_p">最近上报时间：<block wx:if="{{eqinfo.item.uptime}}"><label class="_span">{{$root.f0}}</label></block><block wx:else><label class="_span">{{$root.f1}}</label></block></view><view class="_p">{{"地址："+(city==""?"--":city)}}</view></view></view><view class="control"><block wx:if="{{$root.m0}}"><view data-event-opts="{{[['tap',[['control',['$event']]]]]}}" class="control_item" bindtap="__e"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/environment/8.png'}}" mode></image><view class="_p">设备控制</view></view></block><view data-event-opts="{{[['tap',[['repairs',['$event']]]]]}}" class="control_item" bindtap="__e"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/environment/7.png'}}" mode></image><view class="_p">一键报修</view></view><block wx:if="{{$root.m1}}"><view data-event-opts="{{[['tap',[['charts',['$event']]]]]}}" class="control_item" bindtap="__e"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/environment/10.png'}}" mode></image><view class="_p">历史数据</view></view></block><block wx:if="{{$root.m2}}"><view data-event-opts="{{[['tap',[['siminfo',['$0'],['eqinfo.item.iccid']]]]]}}" class="control_item" bindtap="__e"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/cb/6.png'}}" mode></image><view class="_p">SIM卡信息</view></view></block></view><view class="realtime"><view class="realtime_title _p"><label class="_span">实时数据</label></view><view class="realtime_text"><view class="realtime_text_item"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['oneday',[index,'$0'],[[['olddata','',index]]]]]]]}}" class="realtime_text_item_info" bindtap="__e"><view class="item_info_img" style="{{'background-color:'+(olddatas[1])+';'}}"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/environment/icon_'+item.$orig.value[1]+'.png'}}" mode></image></view><view class="item_info_text"><view class="_p">{{item.$orig.lable=="PM255(ug/m3)"?"PM2.5(ug/m3)":item.$orig.lable}}</view><view style="margin-top:20rpx;" class="_p">{{''+(item.m3==-99.99?'N/A':item.m4)+''}}</view></view></view></block></view></view><block wx:if="{{realtimeTF&&!dataloadingtf}}"><view class="realtime_tishi">暂无数据</view></block><block wx:if="{{dataloadingtf}}"><view class="realtime_tishi"><view class="dataloading _p">加载中</view></view></block></view></view><u-modal bind:input="__e" vue-id="779fa93d-2" title-style="{{({color:'red'})}}" mask-close-able="{{true}}" title="24小时数据" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{tishiTF}}"><view class="tishiTF _p">暂无24小时数据</view></block><block wx:else><view class="slot-content"><canvas class="charts" style="{{'width:'+(cWidth*pixelRatio+'px')+';'+('height:'+(cHeight*pixelRatio+'px')+';')+('transform:'+('scale('+1/pixelRatio+')')+';')+('margin-left:'+(-cWidth*(pixelRatio-1)/2+'px')+';')+('margin-top:'+(-cHeight*(pixelRatio-1)/2+'px')+';')}}" canvas-id="canvasColumnA" id="canvasColumnA" disable-scroll="true" data-event-opts="{{[['touchstart',[['touchLineA',['$event']]]],['touchmove',[['moveLineA',['$event']]]],['touchend',[['touchEndLineA',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas><view class="maxdata"><view class="maxdata_box"><view class="dian _p"></view><view class="_p">{{"当天最大值："+onedatasMax+"  "+$root.f2}}</view></view><view class="maxdata_box"><view class="dian diantwo _p"></view><view class="_p">{{"当天最小值："+onedatasMin+"  "+$root.f3}}</view></view></view></view></block></u-modal></view>