mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[new feature] progress add showPivot prop (#300)
* fix: Tabbar icon line-height * [new feature] progress add showPivot prop
This commit is contained in:
@@ -49,6 +49,7 @@ Use `pivot-text` to custom text,use `color` to custom bar color
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| inactive | Whether to be gray | `Boolean` | `false` | - |
|
||||
| percentage | Percentage | `Number` | `false` | `0-100` |
|
||||
| showPivot | Whether to show text | `Boolean` | `true` | - |
|
||||
| pivotText | Text | `String` | percentage | - |
|
||||
| color | Color | `String` | `#38f` | hexvalue |
|
||||
| textColor | Text color | `String` | `#fff` | hexvalue |
|
||||
|
@@ -59,6 +59,7 @@ Vue.component(Progress.name, Progress);
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| inactive | 是否置灰 | `Boolean` | `false` | - |
|
||||
| percentage | 进度百分比 | `Number` | `false` | `0-100` |
|
||||
| showPivot | 是否显示进度文字 | `Boolean` | `true` | - |
|
||||
| pivotText | 文字显示 | `String` | 百分比文字 | - |
|
||||
| color | 进度条颜色 | `String` | `#38f` | hexvalue |
|
||||
| textColor | 进度条文字颜色 | `String` | `#fff` | hexvalue |
|
||||
|
Reference in New Issue
Block a user