index.wxml 574 B

1234567891011121314151617181920
  1. <wxs src="./index.wxs" module="computed" />
  2. <van-picker
  3. class="van-area__picker"
  4. active-class="active-class"
  5. toolbar-class="toolbar-class"
  6. column-class="column-class"
  7. show-toolbar
  8. value-key="name"
  9. title="{{ title }}"
  10. loading="{{ loading }}"
  11. columns="{{ computed.displayColumns(columns, columnsNum) }}"
  12. item-height="{{ itemHeight }}"
  13. visible-item-count="{{ visibleItemCount }}"
  14. cancel-button-text="{{ cancelButtonText }}"
  15. confirm-button-text="{{ confirmButtonText }}"
  16. bind:change="onChange"
  17. bind:confirm="onConfirm"
  18. bind:cancel="onCancel"
  19. />