0.1.0 • Published 4 years ago
xiaoai--design v0.1.0
ai-ui
Button组件
- type
- String类型
- 不传为默认
- primary为主要按钮
- success为成功按钮
- warning为警告按钮
- info为信息按钮
- danger为危险按钮
- round
- Boolean类型
- 按钮是否为圆角按钮
- circel
- Boolean类型
- 按钮是否为圆形按钮
- disabled
- Boolean类型
- 按钮是否为禁用按钮
- icon
- String类型
- 图标按钮
Input组件
Dialog组件
- title
- String类型
- 标题: 支持直接传值和插槽形式
- width
- String类型
- dialog宽度
- top
- String类型
- dialog距离顶部的位置
Switch组件
- v-model
- switch是否打开
- active-color
- switch关闭时的背景色打开时的背景色
- inactive-color
- switch关闭时的背景色
- name
- switch的name属性
- change事件
- switch状态改变触发的事件,参数为改变后的值
0.1.0
4 years ago