mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
docs: update version tag
This commit is contained in:
@@ -161,16 +161,16 @@ export default {
|
||||
|
||||
### Tabbar Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Identifier of current tab | *string \| number* | `0` | - |
|
||||
| fixed | Whether to fixed bottom | *boolean* | `true` | - |
|
||||
| border | Whether to show border | *boolean* | `true` | - |
|
||||
| z-index | Z-index | *number* | `1` | - |
|
||||
| active-color | Color of active tab item | *string* | `#1989fa` | - |
|
||||
| inactive-color | Color of inactive tab item | *string* | `#7d7e80` | - |
|
||||
| route | Whether to enable route mode | *boolean* | `false` | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `false` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Identifier of current tab | *string \| number* | `0` |
|
||||
| fixed | Whether to fixed bottom | *boolean* | `true` |
|
||||
| border | Whether to show border | *boolean* | `true` |
|
||||
| z-index | Z-index | *number* | `1` |
|
||||
| active-color | Color of active tab item | *string* | `#1989fa` |
|
||||
| inactive-color | Color of inactive tab item | *string* | `#7d7e80` |
|
||||
| route | Whether to enable route mode | *boolean* | `false` |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `false` |
|
||||
|
||||
### Tabbar Events
|
||||
|
||||
@@ -180,15 +180,15 @@ export default {
|
||||
|
||||
### TabbarItem Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| name | Identifier | *string \| number* | Item index | - |
|
||||
| icon | Icon name | *string* | - | - |
|
||||
| dot | Whether to show red dot | *boolean* | - | - |
|
||||
| info | Content of the badge | *string \| number* | - | - |
|
||||
| url | Link | *string* | - | - |
|
||||
| to | Target route of the link, same as to of vue-router | *string \| object* | - | - |
|
||||
| replace | If true, the navigation will not leave a history record | *boolean* | `false` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| name | Identifier | *string \| number* | Item index |
|
||||
| icon | Icon name | *string* | - |
|
||||
| dot | Whether to show red dot | *boolean* | - |
|
||||
| info | Content of the badge | *string \| number* | - |
|
||||
| url | Link | *string* | - |
|
||||
| to | Target route of the link, same as to of vue-router | *string \| object* | - |
|
||||
| replace | If true, the navigation will not leave a history record | *boolean* | `false` |
|
||||
|
||||
### TabbarItem Slots
|
||||
|
||||
|
@@ -168,16 +168,16 @@ export default {
|
||||
|
||||
### Tabbar Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前选中标签的名称或索引值 | *string \| number* | `0` | - |
|
||||
| fixed | 是否固定在底部 | *boolean* | `true` | - |
|
||||
| border | 是否显示外边框 | *boolean* | `true` | - |
|
||||
| z-index | 元素 z-index | *number* | `1` | - |
|
||||
| active-color | 选中标签的颜色 | *string* | `#1989fa` | - |
|
||||
| inactive-color | 未选中标签的颜色 | *string* | `#7d7e80` | - |
|
||||
| route | 是否开启路由模式 | *boolean* | `false` | - |
|
||||
| safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| v-model | 当前选中标签的名称或索引值 | *string \| number* | `0` |
|
||||
| fixed | 是否固定在底部 | *boolean* | `true` |
|
||||
| border | 是否显示外边框 | *boolean* | `true` |
|
||||
| z-index | 元素 z-index | *number* | `1` |
|
||||
| active-color | 选中标签的颜色 | *string* | `#1989fa` |
|
||||
| inactive-color | 未选中标签的颜色 | *string* | `#7d7e80` |
|
||||
| route | 是否开启路由模式 | *boolean* | `false` |
|
||||
| safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` |
|
||||
|
||||
### Tabbar Events
|
||||
|
||||
@@ -187,15 +187,15 @@ export default {
|
||||
|
||||
### TabbarItem Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| name | 标签名称,作为匹配的标识符 | *string \| number* | 当前标签的索引值 | - |
|
||||
| icon | 图标名称或图片链接,可选值见 [Icon 组件](#/zh-CN/icon)| *string* | - | - |
|
||||
| dot | 是否显示图标右上角小红点 | *boolean* | `false` | - |
|
||||
| info | 图标右上角徽标的内容 | *string \| number* | - | - |
|
||||
| url | 点击后跳转的链接地址 | *string* | - | - |
|
||||
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - |
|
||||
| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| name | 标签名称,作为匹配的标识符 | *string \| number* | 当前标签的索引值 |
|
||||
| icon | 图标名称或图片链接,可选值见 [Icon 组件](#/zh-CN/icon)| *string* | - |
|
||||
| dot | 是否显示图标右上角小红点 | *boolean* | `false` |
|
||||
| info | 图标右上角徽标的内容 | *string \| number* | - |
|
||||
| url | 点击后跳转的链接地址 | *string* | - |
|
||||
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - |
|
||||
| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` |
|
||||
|
||||
### TabbarItem Slots
|
||||
|
||||
|
Reference in New Issue
Block a user