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

diff --git a/uni_modules/uview-ui/components/u-alert/props.js b/uni_modules/uview-ui/components/u-alert/props.js
new file mode 100644
index 0000000..4297e2c
--- /dev/null
+++ b/uni_modules/uview-ui/components/u-alert/props.js
@@ -0,0 +1,44 @@
+export default {
+    props: {
+        // 鏄剧ず鏂囧瓧
+        title: {
+            type: String,
+            default: uni.$u.props.alert.title
+        },
+        // 涓婚锛宻uccess/warning/info/error
+        type: {
+            type: String,
+            default: uni.$u.props.alert.type
+        },
+        // 杈呭姪鎬ф枃瀛�
+        description: {
+            type: String,
+            default: uni.$u.props.alert.description
+        },
+        // 鏄惁鍙叧闂�
+        closable: {
+            type: Boolean,
+            default: uni.$u.props.alert.closable
+        },
+        // 鏄惁鏄剧ず鍥炬爣
+        showIcon: {
+            type: Boolean,
+            default: uni.$u.props.alert.showIcon
+        },
+        // 娴呮垨娣辫壊璋冿紝light-娴呰壊锛宒ark-娣辫壊
+        effect: {
+            type: String,
+            default: uni.$u.props.alert.effect
+        },
+        // 鏂囧瓧鏄惁灞呬腑
+        center: {
+            type: Boolean,
+            default: uni.$u.props.alert.center
+        },
+        // 瀛椾綋澶у皬
+        fontSize: {
+            type: [String, Number],
+            default: uni.$u.props.alert.fontSize
+        }
+    }
+}

--
Gitblit v1.9.3