Files
frontend-app/uni_modules/uview-plus/components/u-calendar/calendar.js
T

46 lines
1.2 KiB
JavaScript
Raw Normal View History

2025-08-05 15:25:23 +08:00
/*
* @Author : LQ
* @Description :
2026-07-23 14:49:48 +08:00
* @version : 1.0
2025-08-05 15:25:23 +08:00
* @Date : 2021-08-20 16:44:21
2026-07-23 14:49:48 +08:00
* @LastAuthor : LQ
* @lastTime : 2021-08-20 16:52:43
* @FilePath : /u-view2.0/uview-ui/libs/config/props/calendar.js
2025-08-05 15:25:23 +08:00
*/
export default {
// calendar 组件
calendar: {
2026-07-23 14:49:48 +08:00
title: '日期选择',
2025-08-05 15:25:23 +08:00
showTitle: true,
showSubtitle: true,
mode: 'single',
2026-07-23 14:49:48 +08:00
startText: '开始',
endText: '结束',
2025-08-05 15:25:23 +08:00
customList: [],
color: '#3c9cff',
minDate: 0,
maxDate: 0,
defaultDate: null,
maxCount: Number.MAX_SAFE_INTEGER, // Infinity
rowHeight: 56,
formatter: null,
showLunar: false,
showMark: true,
2026-07-23 14:49:48 +08:00
confirmText: '确定',
confirmDisabledText: '确定',
2025-08-05 15:25:23 +08:00
show: false,
closeOnClickOverlay: false,
readonly: false,
showConfirm: true,
maxRange: Number.MAX_SAFE_INTEGER, // Infinity
2026-07-23 14:49:48 +08:00
rangePrompt: '',
showRangePrompt: true,
allowSameDay: false,
round: 0,
monthNum: 3,
weekText: ['一', '二', '三', '四', '五', '六', '日'],
2025-08-05 15:25:23 +08:00
forbidDays: [],
2026-07-23 14:49:48 +08:00
forbidDaysToast: '该日期已禁用',
2025-08-05 15:25:23 +08:00
}
}