Progress


进度条

示例
默认用法
  1. <nut-progress
  2. percent='15'
  3. height='10px' />

15%

设置高度和颜色
  1. <nut-progress
  2. height='18px'
  3. color='#33C3F0' />

23%

内联显示进度数
  1. <nut-progress
  2. height='0.25rem'
  3. percent='20'
  4. showText='in' />

20%

Props
参数说明类型默认值可选值
percent百分比String, Number0
color背景色String#f23030
height高度String.06rem
showText显示百分比的位置Stringout