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-tabs/props.js | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-tabs/props.js b/uni_modules/uview-ui/components/u-tabs/props.js new file mode 100644 index 0000000..2cfa41f --- /dev/null +++ b/uni_modules/uview-ui/components/u-tabs/props.js @@ -0,0 +1,64 @@ +export default { + props: { + // 婊戝潡鐨勭Щ鍔ㄨ繃娓℃椂闂达紝鍗曚綅ms + duration: { + type: Number, + default: uni.$u.props.tabs.duration + }, + // tabs鏍囩鏁扮粍 + list: { + type: Array, + default: uni.$u.props.tabs.list + }, + // 婊戝潡棰滆壊 + lineColor: { + type: String, + default: uni.$u.props.tabs.lineColor + }, + // 鑿滃崟閫夋嫨涓椂鐨勬牱寮� + activeStyle: { + type: [String, Object], + default: uni.$u.props.tabs.activeStyle + }, + // 鑿滃崟闈為�変腑鏃剁殑鏍峰紡 + inactiveStyle: { + type: [String, Object], + default: uni.$u.props.tabs.inactiveStyle + }, + // 婊戝潡闀垮害 + lineWidth: { + type: [String, Number], + default: uni.$u.props.tabs.lineWidth + }, + // 婊戝潡楂樺害 + lineHeight: { + type: [String, Number], + default: uni.$u.props.tabs.lineHeight + }, + // 婊戝潡鑳屾櫙鏄剧ず澶у皬锛屽綋婊戝潡鑳屾櫙璁剧疆涓哄浘鐗囨椂浣跨敤 + lineBgSize: { + type: String, + default: uni.$u.props.tabs.lineBgSize + }, + // 鑿滃崟item鐨勬牱寮� + itemStyle: { + type: [String, Object], + default: uni.$u.props.tabs.itemStyle + }, + // 鑿滃崟鏄惁鍙粴鍔� + scrollable: { + type: Boolean, + default: uni.$u.props.tabs.scrollable + }, + // 褰撳墠閫変腑鏍囩鐨勭储寮� + current: { + type: [Number, String], + default: uni.$u.props.tabs.current + }, + // 榛樿璇诲彇鐨勯敭鍚� + keyName: { + type: String, + default: uni.$u.props.tabs.keyName + } + } +} -- Gitblit v1.9.3