优化滑动页面
This commit is contained in:
parent
0dd266954c
commit
8376536ce3
|
@ -20,7 +20,7 @@
|
|||
:current="tabIndex"
|
||||
:duration="300"
|
||||
@change="switchTab($event.detail.current)"
|
||||
:style="{ height: tabHeight + 'px' }"
|
||||
:style="{ minHeight: '75vh', height: tabHeight + 'px' }"
|
||||
>
|
||||
<swiper-item>
|
||||
<view class="detail-tab tab0">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
:current="tabIndex"
|
||||
:duration="300"
|
||||
@change="switchTab($event.detail.current)"
|
||||
:style="{ height: tabHeight + 'px' }"
|
||||
:style="{ minHeight: '75vh', height: tabHeight + 'px' }"
|
||||
>
|
||||
<block v-for="(tabItem, tabIdx) in tabList" :key="tabIdx">
|
||||
<swiper-item>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
:current="tabIndex"
|
||||
:duration="300"
|
||||
@change="changeTab"
|
||||
:style="{ height: tabHeight + 'px' }"
|
||||
:style="{ minHeight: '75vh', height: tabHeight + 'px' }"
|
||||
>
|
||||
<swiper-item>
|
||||
<view class="tab-item tab0">
|
||||
|
|
Loading…
Reference in New Issue