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-item/props.js | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-tabbar-item/props.js b/uni_modules/uview-ui/components/u-tabbar-item/props.js new file mode 100644 index 0000000..a2e6a24 --- /dev/null +++ b/uni_modules/uview-ui/components/u-tabbar-item/props.js @@ -0,0 +1,35 @@ +export default { + props: { + // item鏍囩鐨勫悕绉帮紝浣滀负涓巙-tabbar鐨剉alue鍙傛暟鍖归厤鐨勬爣璇嗙 + name: { + type: [String, Number, null], + default: uni.$u.props.tabbarItem.name + }, + // uView鍐呯疆鍥炬爣鎴栬�呯粷瀵硅矾寰勭殑鍥剧墖 + icon: { + icon: String, + default: uni.$u.props.tabbarItem.icon + }, + // 鍙充笂瑙掔殑瑙掓爣鎻愮ず淇℃伅 + badge: { + type: [String, Number, null], + default: uni.$u.props.tabbarItem.badge + }, + // 鏄惁鏄剧ず鍦嗙偣锛屽皢浼氳鐩朾adge鍙傛暟 + dot: { + type: Boolean, + default: uni.$u.props.tabbarItem.dot + }, + // 鎻忚堪鏂囨湰 + text: { + type: String, + default: uni.$u.props.tabbarItem.text + }, + // 鎺у埗寰芥爣鐨勪綅缃紝瀵硅薄鎴栬�呭瓧绗︿覆褰㈠紡锛屽彲浠ヨ缃畉op鍜宺ight灞炴�� + badgeStyle: { + type: [Object, String], + default: uni.$u.props.tabbarItem.badgeStyle + } + + } +} -- Gitblit v1.9.3