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