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-radio-group/props.js | 85 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-radio-group/props.js b/minipro_standard/uni_modules/uview-ui/components/u-radio-group/props.js
index e69de29..bb86cba 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-radio-group/props.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-radio-group/props.js
@@ -0,0 +1,85 @@
+export default {
+ props: {
+ // 缁戝畾鐨勫��
+ value: {
+ type: [String, Number, Boolean],
+ default: uni.$u.props.radioGroup.value
+ },
+
+ // 鏄惁绂佺敤鍏ㄩ儴radio
+ disabled: {
+ type: Boolean,
+ default: uni.$u.props.radioGroup.disabled
+ },
+ // 褰㈢姸锛宑ircle-鍦嗗舰锛宻quare-鏂瑰舰
+ shape: {
+ type: String,
+ default: uni.$u.props.radioGroup.shape
+ },
+ // 閫変腑鐘舵�佷笅鐨勯鑹诧紝濡傝缃鍊硷紝灏嗕細瑕嗙洊parent鐨刟ctiveColor鍊�
+ activeColor: {
+ type: String,
+ default: uni.$u.props.radioGroup.activeColor
+ },
+ // 鏈�変腑鐨勯鑹�
+ inactiveColor: {
+ type: String,
+ default: uni.$u.props.radioGroup.inactiveColor
+ },
+ // 鏍囪瘑绗�
+ name: {
+ type: String,
+ default: uni.$u.props.radioGroup.name
+ },
+ // 鏁翠釜缁勪欢鐨勫昂瀵革紝榛樿px
+ size: {
+ type: [String, Number],
+ default: uni.$u.props.radioGroup.size
+ },
+ // 甯冨眬鏂瑰紡锛宺ow-妯悜锛宑olumn-绾靛悜
+ placement: {
+ type: String,
+ default: uni.$u.props.radioGroup.placement
+ },
+ // label鐨勬枃鏈�
+ label: {
+ type: [String],
+ default: uni.$u.props.radioGroup.label
+ },
+ // label鐨勯鑹� 锛堥粯璁� '#303133' 锛�
+ labelColor: {
+ type: [String],
+ default: uni.$u.props.radioGroup.labelColor
+ },
+ // label鐨勫瓧浣撳ぇ灏忥紝px鍗曚綅
+ labelSize: {
+ type: [String, Number],
+ default: uni.$u.props.radioGroup.labelSize
+ },
+ // 鏄惁绂佹鐐瑰嚮鏂囨湰鎿嶄綔checkbox(榛樿 false )
+ labelDisabled: {
+ type: Boolean,
+ default: uni.$u.props.radioGroup.labelDisabled
+ },
+ // 鍥炬爣棰滆壊
+ iconColor: {
+ type: String,
+ default: uni.$u.props.radioGroup.iconColor
+ },
+ // 鍥炬爣鐨勫ぇ灏忥紝鍗曚綅px
+ iconSize: {
+ type: [String, Number],
+ default: uni.$u.props.radioGroup.iconSize
+ },
+ // 绔栧悜閰嶅垪鏃讹紝鏄惁鏄剧ず涓嬪垝绾�
+ borderBottom: {
+ type: Boolean,
+ default: uni.$u.props.radioGroup.borderBottom
+ },
+ // 鍥炬爣涓庢枃瀛楃殑瀵归綈鏂瑰紡
+ iconPlacement: {
+ type: String,
+ default: uni.$u.props.radio.iconPlacement
+ }
+ }
+}
--
Gitblit v1.9.3