Skip to content

Progress 进度条组件

进度条组件,线性进度、百分比、颜色。

基础用法

vue
<template>
  <parrot-progress />
</template>

API

Props

属性类型默认值说明
percentnumber0百分比 0-100
colorstring'#1a7eff'进度条颜色
trackColorstring'#e5e7eb'轨道颜色
heightstring'12rpx'高度
showTextbooleantrue显示百分比

Slots

插槽说明
default默认内容

Released under the MIT License.