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