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

1 line
45 KiB
Plaintext
Raw Normal View History

2023-12-28 09:17:50 +00:00
<view class="controller data-v-a456d474"><u-navbar vue-id="0cbea400-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-a456d474" bind:__l="__l"></u-navbar><block wx:if="{{$root.g0!=-1}}"><view class="content data-v-a456d474"><view class="item _div data-v-a456d474"><u-collapse vue-id="0cbea400-2" accordion="{{false}}" item-style="{{itemStyle}}" head-style="{{headStyle}}" data-ref="collapseView" class="data-v-a456d474 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-collapse-item data-custom-hidden="{{!(item.m0)}}" vue-id="{{('0cbea400-3-'+index)+','+('0cbea400-2')}}" title="{{item.$orig.nickName}}" align="center" class="data-v-a456d474" bind:__l="__l" vue-slots="{{['default']}}"><view class="collapseItem data-v-a456d474"><view class="line data-v-a456d474"></view><view class="control_model data-v-a456d474"><view class="control data-v-a456d474">控制模式:</view><view class="model data-v-a456d474"><text data-event-opts="{{[['tap',[['change00',['$0',1],[[['itemList','',index,'type']]]]]]]}}" class="{{['data-v-a456d474',item.m1==1?'txt_act':'txt']}}" bindtap="__e">打   开</text><text data-event-opts="{{[['tap',[['change00',['$0',2],[[['itemList','',index,'type']]]]]]]}}" class="{{['data-v-a456d474',item.m2==2?'txt_act':'txt']}}" bindtap="__e">{{item.$orig.type_2?'关   闭':'停   止'}}</text><block wx:if="{{!item.$orig.type_2}}"><text data-event-opts="{{[['tap',[['change00',['$0',3],[[['itemList','',index,'type']]]]]]]}}" class="{{['data-v-a456d474',item.m3==3?'txt_act':'txt']}}" bindtap="__e">关   闭</text></block></view><view class="line1 data-v-a456d474"></view><block wx:if="{{!item.$orig.type_2}}"><view class="roll_input data-v-a456d474"><view class="data-v-a456d474"><view class="data-v-a456d474"><input type="number" placeholder="0" data-event-opts="{{[['blur',[['blurChangeData00_1',[item.$orig.type+1,'$event']]]],['input',[['__set_model',['$0','open_value','$event',[]],[[['itemList','',index]]]]]]]}}" value="{{item.$orig.open_value}}" bindblur="__e" bindinput="__e" class="data-v-a456d474"/></view><text class="data-v-a456d474">通道打开;</text></view><view class="data-v-a456d474"><view class="data-v-a456d474"><input type="number" placeholder="0" data-event-opts="{{[['blur',[['blurChangeData00_2',[item.$orig.type+2,'$event']]]],['input',[['__set_model',['$0','close_value','$event',[]],[[['itemList','',index]]]]]]]}}" value="{{item.$orig.close_value}}" bindblur="__e" bindinput="__e" class="data-v-a456d474"/></view><text class="data-v-a456d474">通道关闭</text></view></view></block><block wx:else><view class="roll_input data-v-a456d474"><view class="data-v-a456d474"><view class="data-v-a456d474"><input type="number" placeholder="0" data-event-opts="{{[['blur',[['blurChangeData00_1',[item.$orig.type+1,'$event']]]],['input',[['__set_model',['$0','value','$event',[]],[[['itemList','',index]]]]]]]}}" value="{{item.$orig.value}}" bindblur="__e" bindinput="__e" class="data-v-a456d474"/></view><text class="data-v-a456d474">通道;</text></view></view></block></view></view></u-collapse-item></block></u-collapse></view></view></block><block wx:if="{{$root.g1!=-1}}"><view class="content data-v-a456d474"><view class="lishui-item data-v-a456d474"><view class="lishui-title data-v-a456d474"><view class="title-left data-v-a456d474">{{''+fanStatus.name+''}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="title-right data-v-a456d474" bindtap="__e">设置<image src="../../static/set-arrow.png" mode class="data-v-a456d474"></image></view></view><block wx:if="{{fanStatus.open!=0}}"><view class="lishui-content data-v-a456d474"><view class="lishui-set data-v-a456d474"><view class="set-1 data-v-a456d474"><block wx:if="{{fanStatus.open==1}}"><image class="sel data-v-a456d474" src="../../static/sel.png" mode></image></block><block wx:else><view class="sel-no data-v-a456d4