Blame view

uni_modules/uview-plus/components/u-calendar/calendar.js 1.06 KB
252962bb   刘淇   uni_modu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  /*
   * @Author       : LQ
   * @Description  :
   * @version      : 1.0
   * @Date         : 2021-08-20 16:44:21
   * @LastAuthor   : LQ
   * @lastTime     : 2021-08-20 16:52:43
   * @FilePath     : /u-view2.0/uview-ui/libs/config/props/calendar.js
   */
  export default {
      // calendar 组件
      calendar: {
          title: '日期选择',
          showTitle: true,
          showSubtitle: true,
          mode: 'single',
          startText: '开始',
          endText: '结束',
          customList: [],
          color: '#3c9cff',
          minDate: 0,
          maxDate: 0,
          defaultDate: null,
          maxCount: Number.MAX_SAFE_INTEGER, // Infinity
          rowHeight: 56,
          formatter: null,
          showLunar: false,
          showMark: true,
          confirmText: '确定',
          confirmDisabledText: '确定',
          show: false,
          closeOnClickOverlay: false,
          readonly: false,
          showConfirm: true,
          maxRange: Number.MAX_SAFE_INTEGER, // Infinity
          rangePrompt: '',
          showRangePrompt: true,
          allowSameDay: false,
  		round: 0,
  		monthNum: 3
      }
  }