Dot 点

用于装饰文本的前缀

基础用法

使用 type 属性来选择 dot 的类型。

primary
success
info
warning
danger

不同颜色

使用 color 属性来更改 dot 的颜色。

color1
color2
color3

不同尺寸

使用 size 属性来设置额外尺寸, 可选值包括 large default small 或者数值 eg: 10

small
default
large
10px
12px

配合 Text

建议配合 el-text 组件使用

primary
success
info
warning
danger

配合 Table

API

属性

属性名说明类型默认值
typedot 的类型enumprimary
color点的背景色string-
size点的尺寸enum-

Slots

事件名说明
default默认内容

源代码

组件样式文档

贡献者