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

1 line
23 KiB
Plaintext
Raw Normal View History

2024-01-26 02:25:01 +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="__i1__" wx:key="id"><view class="item data-v-34c343d8"><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.environmentData+item.m0}}</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="__i2__" 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="__i3__" wx:key="id"><view class="item data-v-34c343d8"><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.environmentData+item.m1}}</view></view></view></block></view><block wx:if="{{item0.g3>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.g4>0?item0.g5[0].updateTime:'暂无')}}</label></view></view></block><block wx:for="{{$root.l19}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><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">{{item1.$orig.deviceTypeName}}</text></view><view class="detail data-v-34c343d8"><block wx:for="{{item1.l4}}" wx:for-item="item2" wx:for-index="index2" wx:key="index2"><view data-event-opts="{{[['tap',[['toTarget_water_fertilizer_PH',['$0','$1','$2','$3','$4',item2.m2,'$5'],[[['waterAndFertilizerParamsList','',index1],['childList_mubiao','',index2,'equipmentId']],[['waterAndFertilizerParamsList','',index1],['childList_mubiao','',index2,'environmentData']],[['waterAndFertilizerParamsList','',index1],['childList_mubiao','',index2,'environmentDataId']],[['waterAndFertilizerParamsList','',ind