From 659d09ec24dab6c451220c8f3bb3943b0fdb3ba1 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Mon, 08 Jan 2024 16:16:12 +0800 Subject: [PATCH] fix:地图导航 --- uni_modules/uview-ui/components/u-calendar/props.js | 144 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 144 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-calendar/props.js b/uni_modules/uview-ui/components/u-calendar/props.js new file mode 100644 index 0000000..2ad7bc7 --- /dev/null +++ b/uni_modules/uview-ui/components/u-calendar/props.js @@ -0,0 +1,144 @@ +export default { + props: { + // ������������������ + title: { + type: String, + default: uni.$u.props.calendar.title + }, + // ������������������ + showTitle: { + type: Boolean, + default: uni.$u.props.calendar.showTitle + }, + // ��������������������� + showSubtitle: { + type: Boolean, + default: uni.$u.props.calendar.showSubtitle + }, + // ���������������������single-���������������������multiple-���������������������������range-������������������ + mode: { + type: String, + default: uni.$u.props.calendar.mode + }, + // mode=range������������������������������������������ + startText: { + type: String, + default: uni.$u.props.calendar.startText + }, + // mode=range��������������������������������������������� + endText: { + type: String, + default: uni.$u.props.calendar.endText + }, + // ��������������� + customList: { + type: Array, + default: uni.$u.props.calendar.customList + }, + // ������������������������������������������������ + color: { + type: String, + default: uni.$u.props.calendar.color + }, + // ��������������������� + minDate: { + type: [String, Number], + default: uni.$u.props.calendar.minDate + }, + // ������������������ + maxDate: { + type: [String, Number], + default: uni.$u.props.calendar.maxDate + }, + // ������������������������mode���multiple���range������������������������ + defaultDate: { + type: [Array, String, Date, null], + default: uni.$u.props.calendar.defaultDate + }, + // mode=multiple��������������������������������� + maxCount: { + type: [String, Number], + default: uni.$u.props.calendar.maxCount + }, + // ������������ + rowHeight: { + type: [String, Number], + default: uni.$u.props.calendar.rowHeight + }, + // ��������������������� + formatter: { + type: [Function, null], + default: uni.$u.props.calendar.formatter + }, + // ������������������ + showLunar: { + type: Boolean, + default: uni.$u.props.calendar.showLunar + }, + // ��������������������������� + showMark: { + type: Boolean, + default: uni.$u.props.calendar.showMark + }, + // ��������������������� + confirmText: { + type: String, + default: uni.$u.props.calendar.confirmText + }, + // ������������������������������������������ + confirmDisabledText: { + type: String, + default: uni.$u.props.calendar.confirmDisabledText + }, + // ������������������������ + show: { + type: Boolean, + default: uni.$u.props.calendar.show + }, + // ������������������������������������ + closeOnClickOverlay: { + type: Boolean, + default: uni.$u.props.calendar.closeOnClickOverlay + }, + // ��������������������������������������������������������� + readonly: { + type: Boolean, + default: uni.$u.props.calendar.readonly + }, + // ������������������������ + showConfirm: { + type: Boolean, + default: uni.$u.props.calendar.showConfirm + }, + // ���������������������������������������������������mode = range��������� + maxRange: { + type: [Number, String], + default: uni.$u.props.calendar.maxRange + }, + // ���������������������������������������������������������mode = range��������� + rangePrompt: { + type: String, + default: uni.$u.props.calendar.rangePrompt + }, + // ���������������������������������������������������������������������mode = range��������� + showRangePrompt: { + type: Boolean, + default: uni.$u.props.calendar.showRangePrompt + }, + // ������������������������������������������������������mode = range��������� + allowSameDay: { + type: Boolean, + default: uni.$u.props.calendar.allowSameDay + }, + // ��������� + round: { + type: [Boolean, String, Number], + default: uni.$u.props.calendar.round + }, + // ������������������������ + monthNum: { + type: [Number, String], + default: 3 + } + } +} -- Gitblit v1.8.0