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 lines
2.1 KiB

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