datetimePicker.js 985 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * @Author : LQ
  3. * @Description :
  4. * @version : 1.0
  5. * @Date : 2021-08-20 16:44:21
  6. * @LastAuthor : LQ
  7. * @lastTime : 2021-08-20 16:57:48
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/datetimePicker.js
  9. */
  10. export default {
  11. // datetimePicker 组件
  12. datetimePicker: {
  13. show: false,
  14. showToolbar: true,
  15. value: '',
  16. title: '',
  17. mode: 'datetime',
  18. maxDate: new Date(new Date().getFullYear() + 10, 0, 1).getTime(),
  19. minDate: new Date(new Date().getFullYear() - 10, 0, 1).getTime(),
  20. minHour: 0,
  21. maxHour: 23,
  22. minMinute: 0,
  23. maxMinute: 59,
  24. filter: null,
  25. formatter: null,
  26. loading: false,
  27. itemHeight: 44,
  28. cancelText: '取消',
  29. confirmText: '确认',
  30. cancelColor: '#909193',
  31. confirmColor: '#3c9cff',
  32. visibleItemCount: 5,
  33. closeOnClickOverlay: false,
  34. defaultIndex: () => []
  35. }
  36. }