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.

65 lines
1.9 KiB
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

export default {
props: {
// radio的名称
name: {
type: [String, Number, Boolean],
default: uni.$u.props.radio.name
},
// 形状square为方形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的activeColor值
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提示文字因为nvue下直接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
}
}
}