mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(tab): fix tab height
This commit is contained in:
parent
588ba18b75
commit
a1a1af37f1
@ -1,7 +1,7 @@
|
|||||||
<wxs src="../wxs/utils.wxs" module="utils" />
|
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||||
<wxs src="./index.wxs" module="computed" />
|
<wxs src="./index.wxs" module="computed" />
|
||||||
|
|
||||||
<view class="custom-class {{ utils.bem('tabs', [type]) }}">
|
<view class="custom-class {{ utils.bem('tabs') }}">
|
||||||
<van-sticky
|
<van-sticky
|
||||||
disabled="{{ !sticky }}"
|
disabled="{{ !sticky }}"
|
||||||
z-index="{{ zIndex }}"
|
z-index="{{ zIndex }}"
|
||||||
@ -9,7 +9,7 @@
|
|||||||
container="{{ container }}"
|
container="{{ container }}"
|
||||||
bind:scroll="onTouchScroll"
|
bind:scroll="onTouchScroll"
|
||||||
>
|
>
|
||||||
<view class="{{ utils.bem('tabs__wrap', { scrollable }) }} {{ type === 'line' && border ? 'van-hairline--top-bottom' : '' }} wrap-class">
|
<view class="{{ utils.bem('tabs__wrap', { scrollable }) }} {{ type === 'line' && border ? 'van-hairline--top-bottom' : '' }} {{ utils.bem('tabs--' + type) }} wrap-class">
|
||||||
<slot name="nav-left" />
|
<slot name="nav-left" />
|
||||||
|
|
||||||
<scroll-view
|
<scroll-view
|
||||||
|
Loading…
x
Reference in New Issue
Block a user