mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
docs: add guide of safe-area-inset-bottom (#4418)
This commit is contained in:
@@ -148,7 +148,7 @@ export default {
|
||||
| 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, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | *boolean* | `false` | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `false` | - |
|
||||
|
||||
### Tabbar Events
|
||||
|
||||
|
@@ -154,7 +154,7 @@ export default {
|
||||
| active-color | 选中标签的颜色 | *string* | `#1989fa` | - |
|
||||
| inactive-color | 未选中标签的颜色 | *string* | `#7d7e80` | - |
|
||||
| route | 是否开启路由模式 | *boolean* | `false` | - |
|
||||
| safe-area-inset-bottom | 是否开启 iPhone X 底部安全区适配,需要在 `viewport` meta 标签中设置 `viewport-fit=cover` | *boolean* | `false` | - |
|
||||
| safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | - |
|
||||
|
||||
### Tabbar Events
|
||||
|
||||
|
Reference in New Issue
Block a user