# progress

手机 手表

# 概述

进度条

# 子组件

不支持

# 属性

支持通用属性

名称 类型 默认值 必填 描述
percent <number> 0 当前进度(type 为 circular 时不生效)
type horizontal | circular horizontal 进度条类型,不支持动态修改,手表只支持 horizontal

# 样式

支持通用样式

horizontal progress 底色为#f0f0f0

circular progress 默认宽高为 32px,宽高设置不一致时,circular 图标为宽高的较小值

名称 类型 默认值 必填 描述
color <color> #33b4ff 或者 rgb(51, 180, 255) 进度条的颜色
stroke-width <length> 32px 进度条的宽度(type 为 circular 时不生效)

# 事件

支持通用事件

# progress   示例代码

查看示例代码 (opens new window)