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-cell/props.js |  110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 110 insertions(+), 0 deletions(-)

diff --git a/uni_modules/uview-ui/components/u-cell/props.js b/uni_modules/uview-ui/components/u-cell/props.js
new file mode 100644
index 0000000..da03330
--- /dev/null
+++ b/uni_modules/uview-ui/components/u-cell/props.js
@@ -0,0 +1,110 @@
+export default {
+    props: {
+        // 鏍囬
+        title: {
+            type: [String, Number],
+            default: uni.$u.props.cell.title
+        },
+        // 鏍囬涓嬫柟鐨勬弿杩颁俊鎭�
+        label: {
+            type: [String, Number],
+            default: uni.$u.props.cell.label
+        },
+        // 鍙充晶鐨勫唴瀹�
+        value: {
+            type: [String, Number],
+            default: uni.$u.props.cell.value
+        },
+        // 宸︿晶鍥炬爣鍚嶇О锛屾垨鑰呭浘鐗囬摼鎺�(鏈湴鏂囦欢寤鸿浣跨敤缁濆鍦板潃)
+        icon: {
+            type: String,
+            default: uni.$u.props.cell.icon
+        },
+        // 鏄惁绂佺敤cell
+        disabled: {
+            type: Boolean,
+            default: uni.$u.props.cell.disabled
+        },
+        // 鏄惁鏄剧ず涓嬭竟妗�
+        border: {
+            type: Boolean,
+            default: uni.$u.props.cell.border
+        },
+        // 鍐呭鏄惁鍨傜洿灞呬腑(涓昏鏄拡瀵瑰彸渚х殑value閮ㄥ垎)
+        center: {
+            type: Boolean,
+            default: uni.$u.props.cell.center
+        },
+        // 鐐瑰嚮鍚庤烦杞殑URL鍦板潃
+        url: {
+            type: String,
+            default: uni.$u.props.cell.url
+        },
+        // 閾炬帴璺宠浆鐨勬柟寮忥紝鍐呴儴浣跨敤鐨勬槸uView灏佽鐨剅oute鏂规硶锛屽彲鑳戒細杩涜鎷︽埅鎿嶄綔
+        linkType: {
+            type: String,
+            default: uni.$u.props.cell.linkType
+        },
+        // 鏄惁寮�鍚偣鍑诲弽棣�(琛ㄧ幇涓虹偣鍑绘椂鍔犱笂鐏拌壊鑳屾櫙)
+        clickable: {
+            type: Boolean,
+            default: uni.$u.props.cell.clickable
+        },
+        // 鏄惁灞曠ず鍙充晶绠ご骞跺紑鍚偣鍑诲弽棣�
+        isLink: {
+            type: Boolean,
+            default: uni.$u.props.cell.isLink
+        },
+        // 鏄惁鏄剧ず琛ㄥ崟鐘舵�佷笅鐨勫繀濉槦鍙�(姝ょ粍浠跺彲鑳戒細鍐呭祵鍏nput缁勪欢)
+        required: {
+            type: Boolean,
+            default: uni.$u.props.cell.required
+        },
+        // 鍙充晶鐨勫浘鏍囩澶�
+        rightIcon: {
+            type: String,
+            default: uni.$u.props.cell.rightIcon
+        },
+        // 鍙充晶绠ご鐨勬柟鍚戯紝鍙�夊�间负锛歭eft锛寀p锛宒own
+        arrowDirection: {
+            type: String,
+            default: uni.$u.props.cell.arrowDirection
+        },
+        // 宸︿晶鍥炬爣鏍峰紡
+        iconStyle: {
+            type: [Object, String],
+            default: () => {
+				return uni.$u.props.cell.iconStyle
+			}
+        },
+        // 鍙充晶绠ご鍥炬爣鐨勬牱寮�
+        rightIconStyle: {
+            type: [Object, String],
+            default: () => {
+				return uni.$u.props.cell.rightIconStyle
+			}
+        },
+        // 鏍囬鐨勬牱寮�
+        titleStyle: {
+            type: [Object, String],
+			default: () => {
+				return uni.$u.props.cell.titleStyle
+			}
+        },
+        // 鍗曚綅鍏冪殑澶у皬锛屽彲閫夊�间负large
+        size: {
+            type: String,
+            default: uni.$u.props.cell.size
+        },
+        // 鐐瑰嚮cell鏄惁闃绘浜嬩欢浼犳挱
+        stop: {
+            type: Boolean,
+            default: uni.$u.props.cell.stop
+        },
+        // 鏍囪瘑绗︼紝cell琚偣鍑绘椂杩斿洖
+        name: {
+            type: [Number, String],
+            default: uni.$u.props.cell.name
+        }
+    }
+}

--
Gitblit v1.9.3