You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
export default {
|
|
|
|
|
props: {
|
|
|
|
|
// 绑定的值
|
|
|
|
|
value: {
|
|
|
|
|
type: [String, Number, Boolean],
|
|
|
|
|
default: uni.$u.props.radioGroup.value
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 是否禁用全部radio
|
|
|
|
|
disabled: {
|
|
|
|
|
type: Boolean,
|
|
|
|
|
default: uni.$u.props.radioGroup.disabled
|
|
|
|
|
},
|
|
|
|
|
// 形状,circle-圆形,square-方形
|
|
|
|
|
shape: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: uni.$u.props.radioGroup.shape
|
|
|
|
|
},
|
|
|
|
|
// 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
|
|
|
|
|
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
|
|
|
|
|
},
|
|
|
|
|
// 布局方式,row-横向,column-纵向
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|