mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-21 22:09:16 +08:00
[bugfix] Tabbar: z-index not work (#474)
This commit is contained in:
parent
853a2681af
commit
e11bc516a2
2
dist/tabbar/index.wxml
vendored
2
dist/tabbar/index.wxml
vendored
@ -1,6 +1,6 @@
|
|||||||
<view
|
<view
|
||||||
class="custom-class van-tabbar van-hairline--top-bottom {{ fixed ? 'van-tabbar--fixed' : '' }}"
|
class="custom-class van-tabbar van-hairline--top-bottom {{ fixed ? 'van-tabbar--fixed' : '' }}"
|
||||||
style="{{ zIndex ? 'style: ' + this.zIndex : '' }}"
|
style="{{ zIndex ? 'z-index: ' + zIndex : '' }}"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</view>
|
</view>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<view
|
<view
|
||||||
class="custom-class van-tabbar van-hairline--top-bottom {{ fixed ? 'van-tabbar--fixed' : '' }}"
|
class="custom-class van-tabbar van-hairline--top-bottom {{ fixed ? 'van-tabbar--fixed' : '' }}"
|
||||||
style="{{ zIndex ? 'style: ' + this.zIndex : '' }}"
|
style="{{ zIndex ? 'z-index: ' + zIndex : '' }}"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</view>
|
</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user