From 68c5ef7d9fea3f911e250fb5f8b300bc76099e49 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:55:49 +0800
Subject: [PATCH] 小程序
---
minipro_standard/uni_modules/uview-ui/components/u-rate/props.js | 69 ++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-rate/props.js b/minipro_standard/uni_modules/uview-ui/components/u-rate/props.js
index e69de29..2a56350 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-rate/props.js
+++ b/minipro_standard/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