From 16213c0f85aa3ac8317797bf4a05fd12940e16d3 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期三, 05 三月 2025 17:29:42 +0800
Subject: [PATCH] -
---
src/uni_modules/uview-plus/components/u-calendar/u-calendar.vue | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/uni_modules/uview-plus/components/u-calendar/u-calendar.vue b/src/uni_modules/uview-plus/components/u-calendar/u-calendar.vue
index c8f77ff..0ee4565 100644
--- a/src/uni_modules/uview-plus/components/u-calendar/u-calendar.vue
+++ b/src/uni_modules/uview-plus/components/u-calendar/u-calendar.vue
@@ -13,6 +13,7 @@
:subtitle="subtitle"
:showSubtitle="showSubtitle"
:showTitle="showTitle"
+ :weekText="weekText"
></uHeader>
<scroll-view
:style="{
@@ -41,6 +42,8 @@
:rangePrompt="rangePrompt"
:showRangePrompt="showRangePrompt"
:allowSameDay="allowSameDay"
+ :forbidDays="forbidDays"
+ :forbidDaysToast="forbidDaysToast"
ref="month"
@monthSelected="monthSelected"
@updateMonthTop="updateMonthTop"
@@ -106,6 +109,7 @@
* @property {Boolean} allowSameDay 鏄惁鍏佽鏃ユ湡鑼冨洿鐨勮捣姝㈡椂闂翠负鍚屼竴澶╋紝mode = range鏃舵湁鏁� (榛樿 false )
* @property {Number|String} round 鍦嗚鍊硷紝榛樿鏃犲渾瑙� (榛樿 0 )
* @property {Number|String} monthNum 鏈�澶氬睍绀虹殑鏈堜唤鏁伴噺 (榛樿 3 )
+ * @property {Array} weekText 鏄熸湡鏂囨 (榛樿 ['涓�', '浜�', '涓�', '鍥�', '浜�', '鍏�', '鏃�'] )
*
* @event {Function()} confirm 鐐瑰嚮纭畾鎸夐挳鏃惰Е鍙� 閫夋嫨鏃ユ湡鐩稿叧鐨勮繑鍥炲弬鏁�
* @event {Function()} close 鏃ュ巻鍏抽棴鏃惰Е鍙� 鍙畾涔夐〉闈㈠叧闂椂鐨勫洖璋冧簨浠�
--
Gitblit v1.9.1