mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
docs(Steps): update active-color default value (#13031)
This commit is contained in:
parent
3fd0539ece
commit
49b8f042ec
@ -79,7 +79,7 @@ export default {
|
||||
| --- | --- | --- | --- |
|
||||
| active | Active step | _number \| string_ | `0` |
|
||||
| direction | Can be set to `vertical` | _string_ | `horizontal` |
|
||||
| active-color | Active step color | _string_ | `#07c160` |
|
||||
| active-color | Active step color | _string_ | `#1989fa` |
|
||||
| inactive-color | Inactive step color | _string_ | `#969799` |
|
||||
| active-icon | Active icon name | _string_ | `checked` |
|
||||
| inactive-icon | Inactive icon name | _string_ | - |
|
||||
|
@ -88,7 +88,7 @@ export default {
|
||||
| active-icon | 当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon) | _string_ | `checked` |
|
||||
| inactive-icon | 非当前步骤对应的底部图标,可选值见 [Icon 组件](#/zh-CN/icon) | _string_ | - |
|
||||
| finish-icon | 已完成步骤对应的底部图标,优先级高于 `inactive-icon`,可选值见 [Icon 组件](#/zh-CN/icon) | _string_ | - |
|
||||
| active-color | 当前步骤和已完成步骤的颜色 | _string_ | `#07c160` |
|
||||
| active-color | 当前步骤和已完成步骤的颜色 | _string_ | `#1989fa` |
|
||||
| inactive-color | 未激活步骤的颜色 | _string_ | `#969799` |
|
||||
| icon-prefix | 图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` |
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user