From 627c3e0a6920131d75eafa4646db373ccc936546 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:52:07 +0800
Subject: [PATCH] 小程序diamante
---
minipro_standard/uni_modules/uview-ui/components/u-dropdown/props.js | 65 ++++++++++++++++++++++++++++++++
1 files changed, 65 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-dropdown/props.js b/minipro_standard/uni_modules/uview-ui/components/u-dropdown/props.js
new file mode 100644
index 0000000..5f8465e
--- /dev/null
+++ b/minipro_standard/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