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-tabs/props.js | 64 ++++++++++++++++++++++++++++++++
1 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-tabs/props.js b/minipro_standard/uni_modules/uview-ui/components/u-tabs/props.js
new file mode 100644
index 0000000..2cfa41f
--- /dev/null
+++ b/minipro_standard/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