wszhyWx/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.wxml

1 line
24 KiB
Plaintext
Raw Normal View History

2024-01-30 06:54:13 +00:00
<view class="timeEnvironment data-v-34c343d8"><u-navbar vue-id="63a4351c-1" background="{{background}}" is-back="{{true}}" back-icon-color="#FFFFFF" border-bottom="{{false}}" title="实时环境" title-color="#FFFFFF" title-bold="{{true}}" title-size="32" class="data-v-34c343d8" bind:__l="__l"></u-navbar><view class="navbar data-v-34c343d8"><image src="../../static/timeEnvironment_bg.png" mode class="data-v-34c343d8"></image></view><view class="content data-v-34c343d8"><view class="title data-v-34c343d8"><image src="../../static/logo_1.png" mode class="data-v-34c343d8"></image><view class="right data-v-34c343d8"><view class="data-v-34c343d8">温室智慧云</view><view class="data-v-34c343d8">Greenhouse wisdom Cloud</view></view></view><view class="subtitle data-v-34c343d8">欢迎使用温室智慧云数据统计</view><block wx:for="{{$root.l1}}" wx:for-item="item0" wx:for-index="__i0__" wx:key="id"><view class="waterAndFertilizerParams data-v-34c343d8"><view class="nav data-v-34c343d8"><image src="../../static/PH.png" mode class="data-v-34c343d8"></image><text class="data-v-34c343d8">{{item0.$orig.deviceName}}</text></view><view class="detail data-v-34c343d8"><block wx:for="{{item0.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toTarget_water_fertilizer_PH',['$0','$1','$2','$3','$4',item.m0,'$5',1],[[['weatherList','id',item0.$orig.id],['weatherListChild','',index,'equipmentId']],[['weatherList','id',item0.$orig.id],['weatherListChild','',index,'environmentData']],[['weatherList','id',item0.$orig.id],['weatherListChild','',index,'environmentDataId']],[['weatherList','id',item0.$orig.id],['weatherListChild','',index,'equipmentNumber']],[['weatherList','id',item0.$orig.id],['weatherListChild','',index,'targetValue']],[['weatherList','id',item0.$orig.id],['weatherListChild','',index,'equipmentName']]]]]]]}}" class="item data-v-34c343d8" bindtap="__e"><image src="{{'../../static/icon_new/icon'+item.$orig.formula+'.png'}}" mode class="data-v-34c343d8"></image><view class="info data-v-34c343d8"><view class="data-v-34c343d8">{{''+item.$orig.environmentDataId+''}}</view><view style="{{(item.$orig.equipmentStart==0?'color:red':'')}}" class="data-v-34c343d8">{{item.$orig.equipmentStart==0?'故障':(item.$orig.formula=='12'?item.m1:item.$orig.environmentData)+(item.$orig.formula=='12'?'':item.m2)}}</view></view></view></block></view><block wx:if="{{item0.g0>0}}"><view class="line data-v-34c343d8"></view></block><view class="updateTime data-v-34c343d8"><label class="_span data-v-34c343d8"></label><label class="_span data-v-34c343d8">{{"*更新数据时间 :  "+(item0.g1>0?item0.g2[0].updateTime:'暂无')}}</label></view></view></block><block wx:for="{{$root.l3}}" wx:for-item="item0" wx:for-index="__i1__" wx:key="id"><view class="waterAndFertilizerParams data-v-34c343d8"><view class="nav data-v-34c343d8"><image src="../../static/PH.png" mode class="data-v-34c343d8"></image><text class="data-v-34c343d8">{{item0.$orig.deviceTypeName}}</text></view><view class="detail data-v-34c343d8"><block wx:for="{{item0.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toTarget_water_fertilizer_PH',['$0','$1','$2','$3','$4',item.m3,'$5',1],[[['equipmentName30List','id',item0.$orig.id],['equipmentName30ListChild','',index,'equipmentId']],[['equipmentName30List','id',item0.$orig.id],['equipmentName30ListChild','',index,'environmentData']],[['equipmentName30List','id',item0.$orig.id],['equipmentName30ListChild','',index,'environmentDataId']],[['equipmentName30List','id',item0.$orig.id],['equipmentName30ListChild','',index,'equipmentNumber']],[['equipmentName30List','id',item0.$orig.id],['equipmentName30ListChild','',index,'targetValue']],[['equipmentName30List','id',item0.$orig.id],['equipmentName30ListChild','',index,'equipmentName']]]]]]]}}" class="item data-v-34c343d8" bindtap="__e"><image src="{{'../../static/icon_new/icon'+item.$orig.formula+'.png'}}" mode class="data-v-34c343d8"></image><view class="info data-v-34c343d8"><view class="data-v-34c34