index.wxml 991 B

123456789101112131415161718
  1. <view style="position: sticky; top: 0px; z-index: 999; background-color: #F4F5F7; padding-bottom: 20rpx;">
  2. <van-search custom-class='search' value="{{ paging.where.condition }}" shape="round" background="#fff" placeholder="请输入搜索关键词" bind:search='onSearch' bind:clear='onClear' />
  3. </view>
  4. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  5. <van-cell-group>
  6. <van-cell wx:for="{{ list }}" wx:key="value" title="{{ item.showValue }}" label="{{item.remarks}}" value-class="value-class" clickable data-item="{{ item }}" bind:click="toggle">
  7. <van-checkbox name="{{ item.value }}" />
  8. </van-cell>
  9. </van-cell-group>
  10. </van-checkbox-group>
  11. <My_empty wx:if="{{list.length==0}}" />
  12. <block wx:if="{{item.optionType == 'checkbox'}}">
  13. <view style="height: 130rpx;" />
  14. <view class="new-footer">
  15. <van-button custom-class='new-submit' disabled='{{!result.length}}' bindclick='submit'>提交</van-button>
  16. </view>
  17. </block>