From d1448cb0ef10f358bb7bddb4e1ec268515e0b787 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 15 七月 2025 11:46:57 +0800 Subject: [PATCH] 项目初始化 --- uni_modules/uview-ui/components/u-action-sheet/props.js | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-action-sheet/props.js b/uni_modules/uview-ui/components/u-action-sheet/props.js new file mode 100644 index 0000000..e96e04f --- /dev/null +++ b/uni_modules/uview-ui/components/u-action-sheet/props.js @@ -0,0 +1,54 @@ +export default { + props: { + // 鎿嶄綔鑿滃崟鏄惁灞曠ず 锛堥粯璁alse锛� + show: { + type: Boolean, + default: uni.$u.props.actionSheet.show + }, + // 鏍囬 + title: { + type: String, + default: uni.$u.props.actionSheet.title + }, + // 閫夐」涓婃柟鐨勬弿杩颁俊鎭� + description: { + type: String, + default: uni.$u.props.actionSheet.description + }, + // 鏁版嵁 + actions: { + type: Array, + default: uni.$u.props.actionSheet.actions + }, + // 鍙栨秷鎸夐挳鐨勬枃瀛楋紝涓嶄负绌烘椂鏄剧ず鎸夐挳 + cancelText: { + type: String, + default: uni.$u.props.actionSheet.cancelText + }, + // 鐐瑰嚮鏌愪釜鑿滃崟椤规椂鏄惁鍏抽棴寮圭獥 + closeOnClickAction: { + type: Boolean, + default: uni.$u.props.actionSheet.closeOnClickAction + }, + // 澶勭悊搴曢儴瀹夊叏鍖猴紙榛樿true锛� + safeAreaInsetBottom: { + type: Boolean, + default: uni.$u.props.actionSheet.safeAreaInsetBottom + }, + // 灏忕▼搴忕殑鎵撳紑鏂瑰紡 + openType: { + type: String, + default: uni.$u.props.actionSheet.openType + }, + // 鐐瑰嚮閬僵鏄惁鍏佽鍏抽棴 (榛樿true) + closeOnClickOverlay: { + type: Boolean, + default: uni.$u.props.actionSheet.closeOnClickOverlay + }, + // 鍦嗚鍊� + round: { + type: [Boolean, String, Number], + default: uni.$u.props.actionSheet.round + } + } +} -- Gitblit v1.9.3