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-swipe-action-item/props.js | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-swipe-action-item/props.js b/uni_modules/uview-ui/components/u-swipe-action-item/props.js new file mode 100644 index 0000000..ed82a42 --- /dev/null +++ b/uni_modules/uview-ui/components/u-swipe-action-item/props.js @@ -0,0 +1,41 @@ +export default { + props: { + // 鎺у埗鎵撳紑鎴栬�呭叧闂� + show: { + type: Boolean, + default: uni.$u.props.swipeActionItem.show + }, + // 鏍囪瘑绗︼紝濡傛灉鏄痸-for锛屽彲鐢╥ndex绱㈠紩鍊� + name: { + type: [String, Number], + default: uni.$u.props.swipeActionItem.name + }, + // 鏄惁绂佺敤 + disabled: { + type: Boolean, + default: uni.$u.props.swipeActionItem.disabled + }, + // 鏄惁鑷姩鍏抽棴鍏朵粬swipe鎸夐挳缁� + autoClose: { + type: Boolean, + default: uni.$u.props.swipeActionItem.autoClose + }, + // 婊戝姩璺濈闃堝�硷紝鍙湁澶т簬姝ゅ�硷紝鎵嶈璁や负鏄鎵撳紑鑿滃崟 + threshold: { + type: Number, + default: uni.$u.props.swipeActionItem.threshold + }, + // 鍙充晶鎸夐挳鍐呭 + options: { + type: Array, + default() { + return uni.$u.props.swipeActionItem.rightOptions + } + }, + // 鍔ㄧ敾杩囨浮鏃堕棿锛屽崟浣峬s + duration: { + type: [String, Number], + default: uni.$u.props.swipeActionItem.duration + } + } +} -- Gitblit v1.9.3