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-tabbar/props.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-tabbar/props.js b/uni_modules/uview-ui/components/u-tabbar/props.js new file mode 100644 index 0000000..7f8171c --- /dev/null +++ b/uni_modules/uview-ui/components/u-tabbar/props.js @@ -0,0 +1,44 @@ +export default { + props: { + // 褰撳墠鍖归厤椤圭殑name + value: { + type: [String, Number, null], + default: uni.$u.props.tabbar.value + }, + // 鏄惁涓篿PhoneX鐣欏嚭搴曢儴瀹夊叏璺濈 + safeAreaInsetBottom: { + type: Boolean, + default: uni.$u.props.tabbar.safeAreaInsetBottom + }, + // 鏄惁鏄剧ず涓婃柟杈规 + border: { + type: Boolean, + default: uni.$u.props.tabbar.border + }, + // 鍏冪礌灞傜骇z-index + zIndex: { + type: [String, Number], + default: uni.$u.props.tabbar.zIndex + }, + // 閫変腑鏍囩鐨勯鑹� + activeColor: { + type: String, + default: uni.$u.props.tabbar.activeColor + }, + // 鏈�変腑鏍囩鐨勯鑹� + inactiveColor: { + type: String, + default: uni.$u.props.tabbar.inactiveColor + }, + // 鏄惁鍥哄畾鍦ㄥ簳閮� + fixed: { + type: Boolean, + default: uni.$u.props.tabbar.fixed + }, + // fixed瀹氫綅鍥哄畾鍦ㄥ簳閮ㄦ椂锛屾槸鍚︾敓鎴愪竴涓瓑楂樺厓绱犻槻姝㈠闄� + placeholder: { + type: Boolean, + default: uni.$u.props.tabbar.placeholder + } + } +} -- Gitblit v1.9.3