修改参数

pull/21/head
pangdundun 2023-10-19 11:32:52 +08:00
parent ed99e20791
commit e05b222326
3 changed files with 4 additions and 4 deletions

View File

@ -25,14 +25,14 @@
<view class="roll_input"> <view class="roll_input">
<view class=""> <view class="">
<view class=""> <view class="">
<input v-model="item.open_value" @blur="blurChangeData00_1(item.type,$event)" type="number" <input v-model="item.open_value" @blur="blurChangeData00_1(item.type+1,$event)" type="number"
placeholder="0"> placeholder="0">
</view> </view>
<text>通道打开;</text> <text>通道打开;</text>
</view> </view>
<view class=""> <view class="">
<view class=""> <view class="">
<input v-model="item.close_value" @blur="blurChangeData00_2(item.type,$event)" type="number" <input v-model="item.close_value" @blur="blurChangeData00_2(item.type+2,$event)" type="number"
placeholder="0"> placeholder="0">
</view> </view>
<text>通道关闭</text> <text>通道关闭</text>

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<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',['$0','$event'],[[['itemList','',index,'type']]]]]],['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',['$0','$event'],[[['itemList','',index,'type']]]]]],['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> <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>