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-dropdown/props.js | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-dropdown/props.js b/uni_modules/uview-ui/components/u-dropdown/props.js new file mode 100644 index 0000000..5f8465e --- /dev/null +++ b/uni_modules/uview-ui/components/u-dropdown/props.js @@ -0,0 +1,65 @@ +export default { + props: { + // 鏍囬閫変腑鏃剁殑鏍峰紡 + activeStyle: { + type: [String, Object], + default: () => ({ + color: '#2979ff', + fontSize: '14px' + }) + }, + // 鏍囬鏈�変腑鏃剁殑鏍峰紡 + inactiveStyle: { + type: [String, Object], + default: () => ({ + color: '#606266', + fontSize: '14px' + }) + }, + // 鐐瑰嚮閬僵鏄惁鍏抽棴鑿滃崟 + closeOnClickMask: { + type: Boolean, + default: true + }, + // 鐐瑰嚮褰撳墠婵�娲婚」鏍囬鏄惁鍏抽棴鑿滃崟 + closeOnClickSelf: { + type: Boolean, + default: true + }, + // 杩囨浮鏃堕棿 + duration: { + type: [Number, String], + default: 300 + }, + // 鏍囬鑿滃崟鐨勯珮搴� + height: { + type: [Number, String], + default: 40 + }, + // 鏄惁鏄剧ず涓嬭竟妗� + borderBottom: { + type: Boolean, + default: false + }, + // 鏍囬鐨勫瓧浣撳ぇ灏� + titleSize: { + type: [Number, String], + default: 14 + }, + // 涓嬫媺鍑烘潵鐨勫唴瀹归儴鍒嗙殑鍦嗚鍊� + borderRadius: { + type: [Number, String], + default: 0 + }, + // 鑿滃崟鍙充晶鐨刬con鍥炬爣 + menuIcon: { + type: String, + default: 'arrow-down' + }, + // 鑿滃崟鍙充晶鍥炬爣鐨勫ぇ灏� + menuIconSize: { + type: [Number, String], + default: 14 + } + } +} -- Gitblit v1.9.3