2015-05-27 15:43:29 +08:00
|
|
|
|
# Progress
|
|
|
|
|
|
2015-06-02 12:11:49 +08:00
|
|
|
|
- category: Components
|
2015-05-27 15:43:29 +08:00
|
|
|
|
- chinese: 进度条
|
2015-06-12 17:49:30 +08:00
|
|
|
|
- order: 0
|
2015-05-27 15:43:29 +08:00
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2015-06-14 12:55:44 +08:00
|
|
|
|
## 使用
|
2015-05-27 15:43:29 +08:00
|
|
|
|
|
2015-06-14 12:55:44 +08:00
|
|
|
|
`<Line perscent="30" />`
|
2015-05-27 15:43:29 +08:00
|
|
|
|
|
2015-06-14 12:55:44 +08:00
|
|
|
|
`<Circle perscent="30" />`
|
2015-05-27 15:43:29 +08:00
|
|
|
|
|
2015-06-14 12:55:44 +08:00
|
|
|
|
## 属性参数
|
|
|
|
|
|
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 |
|
|
|
|
|
|----------|----------------|----------|--------------|
|
|
|
|
|
| perscent | 百分比 | number | 0 |
|
|
|
|
|
| status | 状态,有两个值normal、exception | string | normal |
|
|
|
|
|
| strokeWidth | 进度条线宽度,单位是进度条画布宽度的百分比 | number | 1 |
|
2015-06-14 19:50:23 +08:00
|
|
|
|
| width | 必填,进度条画布宽度,单位px。这里没有提供height属性设置,Line型高度就是strokeWidth,Circle型高度等于width | number | null |
|
2015-05-27 15:43:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|