|
@@ -19,6 +19,7 @@ Progress is used to show the progress of current operation, and inform the user
|
|
|
```html
|
|
|
<el-progress :percentage="0"></el-progress>
|
|
|
<el-progress :percentage="70"></el-progress>
|
|
|
+<el-progress :percentage="80" color="#8e71c7"></el-progress>
|
|
|
<el-progress :percentage="100" status="success"></el-progress>
|
|
|
<el-progress :percentage="50" status="exception"></el-progress>
|
|
|
```
|
|
@@ -32,6 +33,7 @@ In this case the percentage takes no additional space.
|
|
|
```html
|
|
|
<el-progress :text-inside="true" :stroke-width="18" :percentage="0"></el-progress>
|
|
|
<el-progress :text-inside="true" :stroke-width="18" :percentage="70"></el-progress>
|
|
|
+<el-progress :text-inside="true" :stroke-width="18" :percentage="80" color="rgba(142, 113, 199, 0.7)"></el-progress>
|
|
|
<el-progress :text-inside="true" :stroke-width="18" :percentage="100" status="success"></el-progress>
|
|
|
<el-progress :text-inside="true" :stroke-width="18" :percentage="50" status="exception"></el-progress>
|
|
|
```
|
|
@@ -43,6 +45,7 @@ In this case the percentage takes no additional space.
|
|
|
```html
|
|
|
<el-progress type="circle" :percentage="0"></el-progress>
|
|
|
<el-progress type="circle" :percentage="25"></el-progress>
|
|
|
+<el-progress type="circle" :percentage="80" color="#8e71c7"></el-progress>
|
|
|
<el-progress type="circle" :percentage="100" status="success"></el-progress>
|
|
|
<el-progress type="circle" :percentage="50" status="exception"></el-progress>
|
|
|
```
|
|
@@ -56,6 +59,6 @@ In this case the percentage takes no additional space.
|
|
|
| stroke-width | the width of progress bar | number | — | 6 |
|
|
|
| text-inside | whether to place the percentage inside progress bar, only works when `type` is 'line' | boolean | — | false |
|
|
|
| status | the current status of progress bar | string | success/exception | — |
|
|
|
+| color | the color of progress bar, can override the color of the current status | string | — | — |
|
|
|
| width | the canvas width of circle progress bar | number | — | 126 |
|
|
|
| show-text | whether to show percentage | boolean | — | true |
|
|
|
-
|