[bugfix] Tab: decrease default z-index (#749)

This commit is contained in:
neverland 2018-10-12 15:41:04 +08:00 committed by GitHub
parent f37cf4b8d0
commit d0b1127802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ module.exports = {
},
serve: {
open: true,
host: '0.0.0.0',
devMiddleware: {
logLevel: 'warn'
},

View File

@ -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` |

View File

@ -47,7 +47,7 @@ VantComponent({
},
zIndex: {
type: Number,
value: 99
value: 1
},
swipeThreshold: {
type: Number,