From f26f29d84e0a68831a6af14dab3eec5500496d2e Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 28 五月 2025 16:48:52 +0800
Subject: [PATCH] 初始化项目
---
uni_modules/wu-loading-icon/components/wu-loading-icon/props.js | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/uni_modules/wu-loading-icon/components/wu-loading-icon/props.js b/uni_modules/wu-loading-icon/components/wu-loading-icon/props.js
new file mode 100644
index 0000000..5a3e6f4
--- /dev/null
+++ b/uni_modules/wu-loading-icon/components/wu-loading-icon/props.js
@@ -0,0 +1,60 @@
+export default {
+ props: {
+ // 鏄惁鏄剧ず缁勪欢
+ show: {
+ type: Boolean,
+ default: true
+ },
+ // 棰滆壊
+ color: {
+ type: String,
+ default: '#909193'
+ },
+ // 鎻愮ず鏂囧瓧棰滆壊
+ textColor: {
+ type: String,
+ default: '#909193'
+ },
+ // 鏂囧瓧鍜屽浘鏍囨槸鍚﹀瀭鐩存帓鍒�
+ vertical: {
+ type: Boolean,
+ default: false
+ },
+ // 妯″紡閫夋嫨锛宑ircle-鍦嗗舰锛宻pinner-鑺辨湹褰紝semicircle-鍗婂渾褰�
+ mode: {
+ type: String,
+ default: 'spinner'
+ },
+ // 鍥炬爣澶у皬锛屽崟浣嶉粯璁x
+ size: {
+ type: [String, Number],
+ default: 24
+ },
+ // 鏂囧瓧澶у皬
+ textSize: {
+ type: [String, Number],
+ default: 15
+ },
+ // 鏂囧瓧鍐呭
+ text: {
+ type: [String, Number],
+ default: ''
+ },
+ // 鍔ㄧ敾妯″紡 https://www.runoob.com/cssref/css3-pr-animation-timing-function.html
+ timingFunction: {
+ type: String,
+ default: 'linear'
+ },
+ // 鍔ㄧ敾鎵ц鍛ㄦ湡鏃堕棿
+ duration: {
+ type: [String, Number],
+ default: 1200
+ },
+ // mode=circle鏃剁殑鏆楄竟棰滆壊
+ inactiveColor: {
+ type: String,
+ default: ''
+ },
+ ...uni.$w?.props?.loadingIcon
+ }
+}
\ No newline at end of file
--
Gitblit v1.9.3