mirror of
https://github.com/youzan/vant.git
synced 2026-01-16 07:02:16 +08:00
docs: type highlight (#4264)
This commit is contained in:
@@ -58,10 +58,10 @@ Use `pivot-text` to custom text,use `color` to custom bar color
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| inactive | Whether to be gray | `boolean` | `false` | - |
|
||||
| percentage | Percentage | `number` | `0` | - |
|
||||
| show-pivot | Whether to show text | `boolean` | `true` | - |
|
||||
| color | Color | `string` | `#1989fa` | - |
|
||||
| pivot-text | Text | `string` | percentage | - |
|
||||
| pivot-color | Text background color | `string` | inherit progress color | - |
|
||||
| text-color | Text color | `string` | `#fff` | - |
|
||||
| inactive | Whether to be gray | *boolean* | `false` | - |
|
||||
| percentage | Percentage | *number* | `0` | - |
|
||||
| show-pivot | Whether to show text | *boolean* | `true` | - |
|
||||
| color | Color | *string* | `#1989fa` | - |
|
||||
| pivot-text | Text | *string* | percentage | - |
|
||||
| pivot-color | Text background color | *string* | inherit progress color | - |
|
||||
| text-color | Text color | *string* | `#fff` | - |
|
||||
|
||||
@@ -56,10 +56,10 @@ Vue.use(Progress);
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| inactive | 是否置灰 | `boolean` | `false` | - |
|
||||
| percentage | 进度百分比 | `number` | `0` | - |
|
||||
| show-pivot | 是否显示进度文字 | `boolean` | `true` | - |
|
||||
| color | 进度条颜色 | `string` | `#1989fa` | - |
|
||||
| text-color | 进度条文字颜色 | `string` | `#fff` | - |
|
||||
| pivot-text | 文字显示 | `string` | 百分比文字 | - |
|
||||
| pivot-color | 文字背景色 | `string` | 与进度条颜色一致 | - |
|
||||
| inactive | 是否置灰 | *boolean* | `false` | - |
|
||||
| percentage | 进度百分比 | *number* | `0` | - |
|
||||
| show-pivot | 是否显示进度文字 | *boolean* | `true` | - |
|
||||
| color | 进度条颜色 | *string* | `#1989fa` | - |
|
||||
| text-color | 进度条文字颜色 | *string* | `#fff` | - |
|
||||
| pivot-text | 文字显示 | *string* | 百分比文字 | - |
|
||||
| pivot-color | 文字背景色 | *string* | 与进度条颜色一致 | - |
|
||||
|
||||
Reference in New Issue
Block a user