mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
feat: allow string type z-index
This commit is contained in:
@@ -161,7 +161,7 @@ export 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` |
|
||||
| z-index | Z-index | *string \| 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` |
|
||||
|
@@ -168,7 +168,7 @@ export default {
|
||||
| v-model | 当前选中标签的名称或索引值 | *string \| number* | `0` |
|
||||
| fixed | 是否固定在底部 | *boolean* | `true` |
|
||||
| border | 是否显示外边框 | *boolean* | `true` |
|
||||
| z-index | 元素 z-index | *number* | `1` |
|
||||
| z-index | 元素 z-index | *string \| number* | `1` |
|
||||
| active-color | 选中标签的颜色 | *string* | `#1989fa` |
|
||||
| inactive-color | 未选中标签的颜色 | *string* | `#7d7e80` |
|
||||
| route | 是否开启路由模式 | *boolean* | `false` |
|
||||
|
@@ -9,7 +9,7 @@ export default createComponent({
|
||||
|
||||
props: {
|
||||
route: Boolean,
|
||||
zIndex: Number,
|
||||
zIndex: [Number, String],
|
||||
activeColor: String,
|
||||
inactiveColor: String,
|
||||
safeAreaInsetBottom: Boolean,
|
||||
|
Reference in New Issue
Block a user