## 代码演示 ### 基础用法 通过`v-model`表示进度条的当前进度,`text`属性控制进度条中间文字内容。 ``` html ``` ``` ts const current = ref(10) ``` ### 宽度控制 通过`strokeWidth`属性来控制进度条宽度,默认`24rpx`。 ``` html ``` ``` ts const current = ref(10) ``` ### 颜色定制 通过`color`属性控制进度条颜色,默认`#1C64FD`,通过`layerColor`属性控制进度条轨道颜色,默认`#EBEEF5`。 ``` html ``` ``` ts const current = ref(10) ``` ### 是否置灰 通过`inactive`属性来控制进度条是否处于禁用状态,默认false。 ``` html ``` ``` ts const current = ref(10) ``` ### 是否展示进度文字 通过`showText`属性来控制是否展示进度文字,默认true。 ``` html ``` ``` ts const current = ref(10) ```