运维小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

date-time-picker.wxml 829B

12345678910111213141516171819202122232425262728
  1. <wxs src="../common/utils.wxs" module="_" />
  2. <t-picker
  3. style="{{_._style([style, customStyle])}}"
  4. class="class {{prefix}}-class {{classPrefix}}"
  5. visible="{{visible}}"
  6. value="{{columnsValue}}"
  7. bind:pick="onColumnChange"
  8. bind:change="onConfirm"
  9. bind:cancel="onCancel"
  10. bind:visible-change="onVisibleChange"
  11. bind:close="onClose"
  12. header="{{header}}"
  13. title="{{title}}"
  14. confirmBtn="{{confirmBtn || locale.confirm}}"
  15. cancelBtn="{{cancelBtn || locale.cancel}}"
  16. usePopup="{{usePopup}}"
  17. popupProps="{{ popupProps }}"
  18. >
  19. <slot slot="header" name="header" />
  20. <t-picker-item
  21. wx:for="{{columns}}"
  22. wx:key="index"
  23. class="{{_.cls(classPrefix + '__item', [['roomly', columns.length > 5 && index == 0]])}}"
  24. options="{{item}}"
  25. index="index"
  26. />
  27. <slot slot="footer" name="footer" />
  28. </t-picker>