You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.1 KiB

<view class="selectTrees data-v-a98604c2" id="section_ul"><block wx:for="{{selectList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="lv1list data-v-a98604c2"><view class="tree-one data-v-a98604c2"><block wx:if="{{showCheck}}"><checkbox-group style="position:absolute;height:80rpx;line-height:80rpx;left:20rpx;z-index:1;" class="data-v-a98604c2"><checkbox checked="{{item.checked}}" data-event-opts="{{[['tap',[['_chooseAll',['$0',index],[[['selectList','',index]]]]]]]}}" bindtap="__e" class="data-v-a98604c2"></checkbox></checkbox-group></block><label data-event-opts="{{[['tap',[['_showlv2',[index]]]]]}}" style="height:80rpx;display:flex;align-items:center;padding:20rpx;position:relative;border-bottom:1px solid #e4e4e4;background:#f3f3f3;" bindtap="__e" class="data-v-a98604c2"><view class="itemT data-v-a98604c2">{{item.name}}</view><block wx:if="{{showDelete}}"><view data-event-opts="{{[['tap',[['deleteItem',['$0'],[[['selectList','',index]]]]]]]}}" class="deleteBtn data-v-a98604c2" catchtap="__e">删除</view></block><block wx:if="{{item.show}}"><view class="iconfont iconshang _i data-v-a98604c2" style="position:absolute;top:18%;right:2%;font-size:48rpx;"></view></block><block wx:else><view class="iconfont iconxiala _i data-v-a98604c2" style="position:absolute;top:18%;right:2%;font-size:48rpx;"></view></block></label></view><block wx:if="{{item.show&&item.childrenList}}"><view class="data-v-a98604c2"><block wx:for="{{item.childrenList}}" wx:for-item="item2" wx:for-index="index2" wx:key="index2"><view class="tree-two data-v-a98604c2" style="display:flex;"><view class="aui-list-item-inner flexIn data-v-a98604c2"><block wx:if="{{showCheck}}"><checkbox-group class="data-v-a98604c2"><block wx:if="{{!disableLv2Check}}"><checkbox checked="{{item2.checked}}" data-event-opts="{{[['tap',[['_chooseOne',[index,index2]]]]]}}" bindtap="__e" class="data-v-a98604c2"></checkbox></block><block wx:else><checkbox checked="{{item2.checked}}" disabled="true" class="data-v-a98604c2"></checkbox></block></checkbox-group></block><label style="font-size:28rpx;" class="data-v-a98604c2">{{item2.name}}</label></view></view></block></view></block></view></block></view>