[Improvement] Tabbar: add z-index prop (#1310)

This commit is contained in:
neverland
2018-06-20 23:01:12 +08:00
committed by GitHub
parent 0a99da352e
commit 3c48de191d
5 changed files with 30 additions and 4 deletions
@@ -3,7 +3,7 @@
exports[`renders demo correctly 1`] = `
<div>
<div>
<div class="van-hairline--top-bottom van-tabbar van-tabbar--fixed">
<div class="van-hairline--top-bottom van-tabbar van-tabbar--fixed" style="z-index:1;">
<div class="van-tabbar-item">
<div class="van-tabbar-item__icon">
<i class="van-icon van-icon-shop" style="color:undefined;">
@@ -43,7 +43,7 @@ exports[`renders demo correctly 1`] = `
</div>
</div>
<div>
<div class="van-hairline--top-bottom van-tabbar van-tabbar--fixed">
<div class="van-hairline--top-bottom van-tabbar van-tabbar--fixed" style="z-index:1;">
<div class="van-tabbar-item">
<div class="van-tabbar-item__icon">
<img src="https://img.yzcdn.cn/public_files/2017/10/13/c547715be149dd3faa817e4a948b40c4.png">