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-radio/props.js | 64 ++++++++++++++++++++++++++++++++
1 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-radio/props.js b/minipro_standard/uni_modules/uview-ui/components/u-radio/props.js
new file mode 100644
index 0000000..3ec5f6b
--- /dev/null
+++ b/minipro_standard/uni_modules/uview-ui/components/u-radio/props.js
@@ -0,0 +1,64 @@
+export default {
+ props: {
+ // radio鐨勫悕绉�
+ name: {
+ type: [String, Number, Boolean],
+ default: uni.$u.props.radio.name
+ },
+ // 褰㈢姸锛宻quare涓烘柟褰紝circle涓哄渾鍨�
+ shape: {
+ type: String,
+ default: uni.$u.props.radio.shape
+ },
+ // 鏄惁绂佺敤
+ disabled: {
+ type: [String, Boolean],
+ default: uni.$u.props.radio.disabled
+ },
+ // 鏄惁绂佹鐐瑰嚮鎻愮ず璇�変腑鍗曢�夋
+ labelDisabled: {
+ type: [String, Boolean],
+ default: uni.$u.props.radio.labelDisabled
+ },
+ // 閫変腑鐘舵�佷笅鐨勯鑹诧紝濡傝缃鍊硷紝灏嗕細瑕嗙洊parent鐨刟ctiveColor鍊�
+ activeColor: {
+ type: String,
+ default: uni.$u.props.radio.activeColor
+ },
+ // 鏈�変腑鐨勯鑹�
+ inactiveColor: {
+ type: String,
+ default: uni.$u.props.radio.inactiveColor
+ },
+ // 鍥炬爣鐨勫ぇ灏忥紝鍗曚綅px
+ iconSize: {
+ type: [String, Number],
+ default: uni.$u.props.radio.iconSize
+ },
+ // label鐨勫瓧浣撳ぇ灏忥紝px鍗曚綅
+ labelSize: {
+ type: [String, Number],
+ default: uni.$u.props.radio.labelSize
+ },
+ // label鎻愮ず鏂囧瓧锛屽洜涓簄vue涓嬶紝鐩存帴slot杩涙潵鐨勬枃瀛楋紝鐢变簬鐗规畩鐨勭粨鏋勶紝鏃犳硶淇敼鏍峰紡
+ label: {
+ type: [String, Number],
+ default: uni.$u.props.radio.label
+ },
+ // 鏁翠綋鐨勫ぇ灏�
+ size: {
+ type: [String, Number],
+ default: uni.$u.props.radio.size
+ },
+ // 鍥炬爣棰滆壊
+ color: {
+ type: String,
+ default: uni.$u.props.radio.color
+ },
+ // label鐨勯鑹�
+ labelColor: {
+ type: String,
+ default: uni.$u.props.radio.labelColor
+ }
+ }
+}
--
Gitblit v1.9.3