# fine-badge

## Props

<!-- @vuese:fine-badge:props:start -->
|Name|Description|Type|Required|Default|
|---|---|---|---|---|
|value|显示的内容|`String` /  `Number`|`false`|`-`|
|type|显示的类型|`'default' | 'success' | 'error' | 'warning' | 'info'`|`false`|`'error'`|
|max|最大值，当内容超过最大值时会在内容的后面显示 + 号，内容为数字时有效|`String` /  `Number`|`false`|`99`|
|color|字体颜色|`String` /  `Number`|`false`|`-`|
|dot|是否显示为圆点|`Boolean`|`false`|`false`|
|height|高度，不为 dot 圆点时生效|`String` /  `Number`|`false`|`-`|
|radius|圆角值|`String` /  `Number`|`false`|`-`|
|dotSize|圆点大小|`String` /  `Number`|`false`|`16`|
|fontSize|字体大小|`String` /  `Number`|`false`|`24`|
|fontWeight|字体粗细|`String`|`false`|`-`|
|show|是否显示|`Boolean`|`false`|`true`|
|showZero|当内容为 0 时是否显示|`Boolean`|`false`|`false`|
|absolute|是否开启绝对定位|`Boolean`|`false`|`false`|
|position|绝对定位时显示的位置|`'lt' | 'lb' | 'rt' | 'rb'`|`false`|`rt`|
|verticalOffset|绝对定位时的垂直偏移，支持正负数|`String` /  `Number`|`false`|`-`|
|horizontalOffset|绝对定位时的水平偏移，支持正负数|`String` /  `Number`|`false`|`-`|
|background|背景颜色|`String`|`false`|`-`|
|unit|显示单位|`'rpx' | 'px'`|`false`|`-`|
|theme|主题，支持自定义|`'light' | 'dark'`|`false`|`99`|
|customStyle|自定义样式|`String` /  `Object`|`false`|`-`|

<!-- @vuese:fine-badge:props:end -->


## Slots

<!-- @vuese:fine-badge:slots:start -->
|Name|Description|Default Slot Content|
|---|---|---|
|default|-|-|
|value|-|-|

<!-- @vuese:fine-badge:slots:end -->


## MixIns

<!-- @vuese:fine-badge:mixIns:start -->
|MixIn|
|---|
|undefined|

<!-- @vuese:fine-badge:mixIns:end -->


