3
0

datetimePicker.js 1002 B

12345678910111213141516171819202122232425262728293031323334353637
  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. popupMode: 'bottom',
  15. showToolbar: true,
  16. value: '',
  17. title: '',
  18. mode: 'datetime',
  19. maxDate: new Date(new Date().getFullYear() + 10, 0, 1).getTime(),
  20. minDate: new Date(new Date().getFullYear() - 10, 0, 1).getTime(),
  21. minHour: 0,
  22. maxHour: 23,
  23. minMinute: 0,
  24. maxMinute: 59,
  25. filter: null,
  26. formatter: null,
  27. loading: false,
  28. itemHeight: 44,
  29. cancelText: '取消',
  30. confirmText: '确认',
  31. cancelColor: '#909193',
  32. confirmColor: '#3c9cff',
  33. visibleItemCount: 5,
  34. closeOnClickOverlay: false,
  35. defaultIndex: []
  36. }
  37. }