Pop-upMulti-select.wxml 1.3 KB

1234567891011121314151617181920
  1. <view class="box" bindtap="openSelete">
  2. <view class="line-1" wx:if="{{showText}}">{{showText}}</view>
  3. <text wx:else>{{language['请选择']||'请选择'}}</text>
  4. </view>
  5. <van-action-sheet show="{{ show }}" title="{{title}}" safe-area-inset-bottom='{{false}}' bind:close='closeSelete'>
  6. <van-divider customStyle="margin-top:-5rpx; margin-bottom:-0rpx;" />
  7. <scroll-view class="scroll-view" scroll-y>
  8. <My_empty sonMarTop='70' marTop="220rpx" wx:if="{{list.length==0}}" text="{{language['暂无角色']||'暂无角色'}}" />
  9. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  10. <van-cell-group border='{{false}}'>
  11. <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">
  12. <van-checkbox custom-class='checkbox' catch:tap="noop" class="checkboxes-{{ index }}" name="{{ item.roleid }}" />
  13. </van-cell>
  14. </van-cell-group>
  15. </van-checkbox-group>
  16. </scroll-view>
  17. <view class='but-box'>
  18. <van-button custom-class='but' bindtap="confirm">{{language['确定']||'确定'}}</van-button>
  19. </view>
  20. </van-action-sheet>