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

1 line
2.5 KiB
Plaintext

<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><view class="content data-v-a456d474"><view class="item _div data-v-a456d474"><u-collapse vue-id="0cbea400-2" item-style="{{itemStyle}}" head-style="{{headStyle}}" class="data-v-a456d474" 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 vue-id="{{('0cbea400-3-'+index)+','+('0cbea400-2')}}" title="{{item.$orig.head}}" 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.m0==1?'txt_act':'txt']}}" bindtap="__e">打   开</text><text data-event-opts="{{[['tap',[['change00',['$0',2],[[['itemList','',index,'type']]]]]]]}}" class="{{['data-v-a456d474',item.m1==2?'txt_act':'txt']}}" bindtap="__e">停   止</text><text data-event-opts="{{[['tap',[['change00',['$0',3],[[['itemList','',index,'type']]]]]]]}}" class="{{['data-v-a456d474',item.m2==3?'txt_act':'txt']}}" bindtap="__e">关   闭</text></view><view class="line1 data-v-a456d474"></view><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></view></view></u-collapse-item></block></u-collapse></view></view></view>