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

diff --git a/uni_modules/uview-ui/components/u-rate/props.js b/uni_modules/uview-ui/components/u-rate/props.js
new file mode 100644
index 0000000..2a56350
--- /dev/null
+++ b/uni_modules/uview-ui/components/u-rate/props.js
@@ -0,0 +1,69 @@
+export default {
+    props: {
+        // 鐢ㄤ簬v-model鍙屽悜缁戝畾閫変腑鐨勬槦鏄熸暟閲�
+        value: {
+            type: [String, Number],
+            default: uni.$u.props.rate.value
+        },
+        // 瑕佹樉绀虹殑鏄熸槦鏁伴噺
+        count: {
+            type: [String, Number],
+            default: uni.$u.props.rate.count
+        },
+        // 鏄惁涓嶅彲閫変腑
+        disabled: {
+            type: Boolean,
+            default: uni.$u.props.rate.disabled
+        },
+        // 鏄惁鍙
+        readonly: {
+            type: Boolean,
+            default: uni.$u.props.rate.readonly
+        },
+        // 鏄熸槦鐨勫ぇ灏忥紝鍗曚綅px
+        size: {
+            type: [String, Number],
+            default: uni.$u.props.rate.size
+        },
+        // 鏈�変腑鏃剁殑棰滆壊
+        inactiveColor: {
+            type: String,
+            default: uni.$u.props.rate.inactiveColor
+        },
+        // 閫変腑鐨勯鑹�
+        activeColor: {
+            type: String,
+            default: uni.$u.props.rate.activeColor
+        },
+        // 鏄熸槦涔嬮棿鐨勯棿璺濓紝鍗曚綅px
+        gutter: {
+            type: [String, Number],
+            default: uni.$u.props.rate.gutter
+        },
+        // 鏈�灏戣兘閫夋嫨鐨勬槦鏄熶釜鏁�
+        minCount: {
+            type: [String, Number],
+            default: uni.$u.props.rate.minCount
+        },
+        // 鏄惁鍏佽鍗婃槦
+        allowHalf: {
+            type: Boolean,
+            default: uni.$u.props.rate.allowHalf
+        },
+        // 閫変腑鏃剁殑鍥炬爣(鏄熸槦)
+        activeIcon: {
+            type: String,
+            default: uni.$u.props.rate.activeIcon
+        },
+        // 鏈�変腑鏃剁殑鍥炬爣(鏄熸槦)
+        inactiveIcon: {
+            type: String,
+            default: uni.$u.props.rate.inactiveIcon
+        },
+        // 鏄惁鍙互閫氳繃婊戝姩鎵嬪娍閫夋嫨璇勫垎
+        touchable: {
+            type: Boolean,
+            default: uni.$u.props.rate.touchable
+        }
+    }
+}

--
Gitblit v1.9.3