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-radio-group/props.js | 85 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 85 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-radio-group/props.js b/uni_modules/uview-ui/components/u-radio-group/props.js new file mode 100644 index 0000000..bb86cba --- /dev/null +++ b/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