## 代码演示
### 基础用法
通过`v-model`绑定当前选中标签的对应索引,默认第一个标签。
``` html
```
``` ts
const active = ref(0)
```
### 选中标签颜色
通过`activeColor`设置选中标签颜色。
``` html
```
``` ts
const active = ref(0)
```
### 选中标签下划线颜色
通过`lineColor`设置选中标签下划线颜色。
``` html
```
``` ts
const active = ref(0)
const lineColor = ref( 'linear-gradient(135deg, #3391FF 0%, #1C64FD 100%)')
```
### 选中标签下划线长度
通过`lineWidth`设置选中标签下划线长度,默认是0。
``` html
```
``` ts
const active = ref(0)
const lineColor = ref( 'linear-gradient(135deg, #3391FF 0%, #1C64FD 100%)')
const lineWidth = ref(24)
```
### 是否展示下划线动画
通过`lineAnimated`设置是否展示下划线动画,默认是`true`。
``` html
```
``` ts
const active = ref(0)
const lineColor = ref( 'linear-gradient(135deg, #3391FF 0%, #1C64FD 100%)')
const lineWidth = ref(24)
const lineAnimated = ref(true)
```