index.wxml 1015 B

1234567891011121314151617181920212223242526
  1. <wux-spin nested spinning="{{ loading }}">
  2. <view class="wux-class {{ prefixCls }}" data-picker-value="{{ inputValue }}">
  3. <wux-picker-view
  4. wx:for="{{ cols }}"
  5. wx:for-item="col"
  6. wx:key="index"
  7. prefixCls="{{ pickerPrefixCls }}"
  8. value="{{ inputValue[index] || '' }}"
  9. controlled
  10. itemHeight="{{ itemHeight }}"
  11. itemStyle="{{ itemStyle }}"
  12. indicatorStyle="{{ indicatorStyle }}"
  13. indicatorClass="{{ indicatorClass }}"
  14. maskStyle="{{ maskStyle }}"
  15. maskClass="{{ maskClass }}"
  16. labelAlign="{{ labelAlign }}"
  17. defaultFieldNames="{{ fieldNames }}"
  18. options="{{ col }}"
  19. data-index="{{ index }}"
  20. style="{{ 'width: ' + 100 / cols.length + '%' }}"
  21. bind:beforeChange="onBeforeChange"
  22. bind:valueChange="onValueChange"
  23. bind:scrollChange="onScrollChange"
  24. />
  25. </view>
  26. </wux-spin>