mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-10-02 23:19:56 +08:00
[bugfix] Tab: decrease default z-index (#749)
This commit is contained in:
parent
f37cf4b8d0
commit
d0b1127802
@ -20,6 +20,7 @@ module.exports = {
|
||||
},
|
||||
serve: {
|
||||
open: true,
|
||||
host: '0.0.0.0',
|
||||
devMiddleware: {
|
||||
logLevel: 'warn'
|
||||
},
|
||||
|
@ -117,7 +117,7 @@ Page({
|
||||
|-----------|-----------|-----------|-------------|
|
||||
| active | 当前激活标签的索引 | `Number` | `0` |
|
||||
| color | 标签颜色 | `String` | `#f44` |
|
||||
| z-index | z-index 层级 | `Number` | 99 |
|
||||
| z-index | z-index 层级 | `Number` | `1` |
|
||||
| type | 样式风格,可选值为`card` | `String` | `line` |
|
||||
| border | 是否展示外边框,仅在`line`风格下生效 | `Boolean` | `true` |
|
||||
| duration | 动画时间 (单位秒) | `Number` | `0.2` |
|
||||
|
@ -47,7 +47,7 @@ VantComponent({
|
||||
},
|
||||
zIndex: {
|
||||
type: Number,
|
||||
value: 99
|
||||
value: 1
|
||||
},
|
||||
swipeThreshold: {
|
||||
type: Number,
|
||||
|
Loading…
x
Reference in New Issue
Block a user