calendar.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:52:43
  8. * @FilePath : /u-view2.0/uview-ui/libs/config/props/calendar.js
  9. */
  10. export default {
  11. // calendar 组件
  12. calendar: {
  13. title: '日期选择',
  14. showTitle: true,
  15. showSubtitle: true,
  16. mode: 'single',
  17. startText: '开始',
  18. endText: '结束',
  19. customList: () => [],
  20. color: '#3c9cff',
  21. minDate: 0,
  22. maxDate: 0,
  23. defaultDate: null,
  24. maxCount: Number.MAX_SAFE_INTEGER, // Infinity
  25. rowHeight: 56,
  26. formatter: null,
  27. showLunar: false,
  28. showMark: true,
  29. confirmText: '确定',
  30. confirmDisabledText: '确定',
  31. show: false,
  32. closeOnClickOverlay: false,
  33. readonly: false,
  34. showConfirm: true,
  35. maxRange: Number.MAX_SAFE_INTEGER, // Infinity
  36. rangePrompt: '',
  37. showRangePrompt: true,
  38. allowSameDay: false,
  39. round: 0,
  40. monthNum: 3
  41. }
  42. }