1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import { defineProps } from '../../libs/util/props';
- export default defineProps('radio', {
- // radio的名称
- name: {
- type: [String, Number, Boolean],
- default: ''
- },
- // 形状,square为方形,circle为圆型
- shape: {
- type: String,
- default: ''
- },
- // 是否禁用
- disabled: {
- type: [String, Boolean],
- default: null
- },
- // 是否禁止点击提示语选中单选框
- labelDisabled: {
- type: [String, Boolean],
- default: null
- },
- // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
- activeColor: {
- type: String,
- default: ''
- },
- // 未选中的颜色
- inactiveColor: {
- type: String,
- default: ''
- },
- // 图标的大小,单位px
- iconSize: {
- type: [String, Number],
- default: 12
- },
- // label的字体大小,px单位
- labelSize: {
- type: [String, Number],
- default: 14
- },
- // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
- label: {
- type: [String, Number],
- default: ''
- },
- // 整体的大小
- size: {
- type: [String, Number],
- default: ''
- },
- icon: {
- type: String,
- default: ''
- },
- // 图标颜色
- iconColor: {
- type: String,
- default: ''
- },
- // label的颜色
- labelColor: {
- type: String,
- default: ''
- },
- // label的颜色
- activeLabelColor: {
- type: String,
- default: ''
- },
- plain: {
- type: Boolean,
- default: true
- }
- })
|