You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1002 B

5 months ago
  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. }