<view class="box" bindtap="openSelete">
    <view class="line-1" wx:if="{{showText}}">{{showText}}</view>
    <text wx:else>请选择</text>
</view>
<van-action-sheet show="{{ show }}" title="{{title}}" safe-area-inset-bottom='{{false}}' bind:close='closeSelete'>
    <van-divider customStyle="margin-top:-5rpx; margin-bottom:-0rpx;" />
    <scroll-view class="scroll-view" scroll-y>
        <Yl_Empty sonMarTop='70' marTop="220rpx" wx:if="{{list.length==0}}" text='暂无角色' />
        <van-checkbox-group value="{{ result }}" bind:change="onChange">
            <van-cell-group border='{{false}}'>
                <van-cell border='{{false}}' wx:for="{{ list }}" title-class='title-class line-1' wx:key="index" title="{{ item.rolename }}" clickable data-index="{{ index }}" value-class='value-class' bind:click="toggle">
                    <van-checkbox custom-class='checkbox' catch:tap="noop" class="checkboxes-{{ index }}" name="{{ item.roleid }}" />
                </van-cell>
            </van-cell-group>
        </van-checkbox-group>
    </scroll-view>
    <view class='but-box'>
        <van-button custom-class='but' bindtap="confirm">确定</van-button>
    </view>
</van-action-sheet>