<view><view class="status_bar"></view><view style="position:relative;top:44px;"><view style="position:fixed;z-index:100;width:100%;"><uni-nav-bar vue-id="992c142e-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="http://www.hnyfwlw.com:8006/bigdata_app/image/cb/onBg.png" mode></image><view data-event-opts="{{[['tap',[['copy',['$0'],['eqinfo.device_id']]]]]}}" style="font-size:32rpx;" bindtap="__e" class="_p">{{"设备 ID："+eqinfo.device_id+''}}<image class="tishi" src="http://www.hnyfwlw.com:8006/bigdata_app/image/environment/fuzhi.png" mode></image></view><view class="_p">{{"设备名称："+(eqinfo.device_name||"无")}}</view><view class="_p">最近上报时间：<block wx:if="{{eqinfo.uptime}}"><label class="_span">{{$root.f0}}</label></block><block wx:else><label class="_span">{{$root.f1}}</label></block></view><view class="_p">{{"地址："+city}}</view><block wx:if="{{$root.m0}}"><view data-event-opts="{{[['tap',[['setlongfun',['']]]]]}}" bindtap="__e" class="_p"><text space="emsp">设置步长</text><u-icon vue-id="992c142e-2" name="edit-pen" color="#f0ad4e" size="28" bind:__l="__l"></u-icon></view></block></view></view><u-modal vue-id="992c142e-3" show-cancel-button="{{true}}" value="{{modalshow}}" data-event-opts="{{[['^confirm',[['confirm']]],['^input',[['__set_model',['','modalshow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{depthlist}}" wx:for-item="items" wx:for-index="index"><view class="modalbox"><view class="_p">{{"第"+(index+1)+"层步长值:"}}</view><input class="uinput" type="number" placeholder="请输入步长" data-event-opts="{{[['input',[['__set_model',['$0',index,'$event',[]],['depthlist']]]]]}}" value="{{depthlist[index]}}" bindinput="__e"/><view class="_p">cm</view></view></block></u-modal><view class="newdatas"><view class="newdatas_title"><label class="_span">实时数据</label><block wx:if="{{$root.m1}}"><view data-event-opts="{{[['tap',[['tohistory',['$event']]]]]}}" bindtap="__e" class="_p">历史数据>>></view></block></view><block wx:for="{{newdataobj.temp}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="newdatas_land"><view class="newdatas_land_title _p">{{newdataobj.depth[index]+"cm"}}</view><view class="newdatas_land_info"><view class="newdatas_land_box"><view class="imgbox"><image class="img" src="{{'http://www.hnyfwlw.com:8006//bigdata_app/image/environment/tubular/trs'+(index+1)+'.png'}}" mode></image></view><view class="infobox"><view class="_p">土壤湿度</view><view class="_p">{{newdataobj.swc[index]+"%RH"}}</view></view></view><view class="newdatas_land_box"><view class="imgbox"><image class="img" src="{{'http://www.hnyfwlw.com:8006//bigdata_app/image/environment/tubular/trw'+(index+1)+'.png'}}" mode></image></view><view class="infobox"><view class="_p">土壤温度</view><view class="_p">{{newdataobj.temp[index]+"℃"}}</view></view></view></view></view></block></view></view></view>