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

1 line
6.0 KiB
Plaintext

<view class="fertilizer_machine data-v-04917a06"><u-navbar vue-id="e4c37080-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-04917a06" bind:__l="__l"></u-navbar><view class="content data-v-04917a06"><view class="output_valve data-v-04917a06"><view class="title data-v-04917a06"><image src="../../static/output_valve.png" mode class="data-v-04917a06"></image><text class="data-v-04917a06">输出电磁阀</text></view><view class="detail data-v-04917a06"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><block wx:if="{{item.g0!=-1}}"><view class="item data-v-04917a06">{{''+(index+1)+'#'}}</view></block></block></view></view><view class="dataInfo1 data-v-04917a06"><view class="item data-v-04917a06"><view class="img data-v-04917a06"><image src="../../static/PH1.png" mode class="data-v-04917a06"></image></view><text class="data-v-04917a06">目标PH</text><text class="data-v-04917a06">{{$root.m0}}</text></view><view class="item data-v-04917a06"><view class="img data-v-04917a06"><image src="../../static/PH1.png" mode class="data-v-04917a06"></image></view><text class="data-v-04917a06">实测PH</text><text class="data-v-04917a06">{{$root.m1}}</text></view><view class="item1 data-v-04917a06"><view class="img data-v-04917a06"><image src="../../static/EC.png" mode class="data-v-04917a06"></image></view><text class="data-v-04917a06">目标EC</text><text class="data-v-04917a06">{{$root.m2}}</text></view><view class="item1 data-v-04917a06"><view class="img data-v-04917a06"><image src="../../static/EC.png" mode class="data-v-04917a06"></image></view><text class="data-v-04917a06">实测EC</text><text class="data-v-04917a06">{{$root.m3}}</text></view></view><view class="dataInfo2 data-v-04917a06"><view class="top data-v-04917a06"><block wx:for="{{dataInfo2_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-04917a06"><image src="{{item.image}}" mode class="data-v-04917a06"></image><text class="data-v-04917a06">{{item.title}}</text><text class="data-v-04917a06">{{item.timer}}</text></view></block></view><view class="bottom data-v-04917a06"><view class="{{['btn-1','data-v-04917a06',left1Act==0?'in':'out']}}"><block wx:if="{{left1Act==0}}"><image src="../../static/in-sel.png" mode class="data-v-04917a06"></image></block><block wx:else><image src="../../static/in.png" mode class="data-v-04917a06"></image></block><text class="data-v-04917a06">进水泵</text></view><view class="{{['btn-2','data-v-04917a06',left1Act==1?'in':'out']}}"><block wx:if="{{left1Act==1}}"><image src="../../static/out-sel.png" mode class="data-v-04917a06"></image></block><block wx:else><image src="../../static/out.png" mode class="data-v-04917a06"></image></block><text class="data-v-04917a06">配肥泵</text></view></view></view><view class="signal data-v-04917a06"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['data-v-04917a06',item.g1!=-1?'item_act':'item']}}">{{''+item.$orig+''}}</view></block></view><view class="set data-v-04917a06"><block wx:for="{{16}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['showPop',[index+1]]]]]}}" class="item data-v-04917a06" bindtap="__e"><view class="left data-v-04917a06">{{''+(index+1)+'#灌溉组'}}</view><view class="right data-v-04917a06"><text class="data-v-04917a06">设置</text><image src="../../static/downArrow.png" mode class="data-v-04917a06"></image></view></view></block></view><u-popup bind:input="__e" vue-id="e4c37080-2" mode="center" width="640rpx" height="860rpx" closeable="{{false}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-04917a06" bind:__l="__l" vue-slots="{{['default']}}"><view class="contentPop data-v-04917a06"><view class="contentPop_box data-v-04917a06"><view class="title data-v-04917a06">{{'灌溉组#'+(indexs+1)+''}}</view><view class="control_model data-v-04917a06"><view class="control data-v-04917a06">控制模式:</view><view class="model data-v-04917a06"><text data-event-opts="{{[['tap',[['change00',[1]]]]]}}" class="{{['stop','data-v-04917a06',topActive==1?'stop_act':'stop']}}" bindtap="__e">停止</text><text data-event-opts="{{[['tap',[['change00',[2]]]]]}}" class="{{['hand','data-v-04917a06',topActive==2?'hand_act':'hand']}}" style="width:140rpx;" bindtap="__e">手动启动</text><text data-event-opts="{{[['tap',[['change00',[3]]]]]}}" class="{{['data-v-04917a06',topActive==3?'auto_act':'auto']}}" bindtap="__e">自动</text></view></view><view class="irrigate_time1 data-v-04917a06">手动启动时间<view class="irrigate_input data-v-04917a06"><input type="number" placeholder="0" data-event-opts="{{[['input',[['__set_model',['$0',10+(indexs-1)+'01','$event',[]],['inputData1']],['changeData10',[10+(indexs-1)+'01','$event']]]]]}}" value="{{inputData1[10+(indexs-1)+'01']}}" bindinput="__e" class="data-v-04917a06"/></view>min</view><view class="irrigate_time1 data-v-04917a06">灌溉<view class="irrigate_input data-v-04917a06"><input type="number" placeholder="0" data-event-opts="{{[['input',[['__set_model',['$0',10+(indexs-1)+'51','$event',[]],['inputData1']],['change',[10+(indexs-1)+'51','$event']]]]]}}" value="{{inputData1[10+(indexs-1)+'51']}}" bindinput="__e" class="data-v-04917a06"/></view>次清水</view><view class="irrigate_time2 data-v-04917a06">间隔灌溉<view class="irrigate_input data-v-04917a06"><input type="number" placeholder="0" data-event-opts="{{[['input',[['__set_model',['$0',10+(indexs-1)+'52','$event',[]],['inputData1']],['change',[10+(indexs-1)+'52','$event']]]]]}}" value="{{inputData1[10+(indexs-1)+'52']}}" bindinput="__e" class="data-v-04917a06"/></view>次施肥</view></view><image src="../../static/closed.png" mode data-event-opts="{{[['tap',[['closePop',['$event']]]]]}}" bindtap="__e" class="data-v-04917a06"></image></view></u-popup></view><u-toast vue-id="e4c37080-3" data-ref="uToast" class="data-v-04917a06 vue-ref" bind:__l="__l"></u-toast></view>