|
|
|
@ -3,12 +3,12 @@ |
|
|
|
<view class="lf-p-t-20 head" v-if="tab_list.length"> |
|
|
|
<u-tabs :list="tab_list" :is-scroll="true" :current="current" @change="tabChange"></u-tabs> |
|
|
|
</view> |
|
|
|
<swiper :style="{height: 'calc('+ windowHeight +'px - 240rpx)', width: '750rpx'}" :current="current" @change="swiperChange"> |
|
|
|
<swiper :style="{height: 'calc('+ windowHeight +'px - 238rpx)', width: '750rpx'}" :current="current" @change="swiperChange"> |
|
|
|
<swiper-item v-for="(tabItem, tabIndex) in tab_list" :key="tabIndex"> |
|
|
|
<scroll-view class="com" :scroll-y="true" :refresher-enabled="true" :refresher-triggered="isRefresher" @scrolltolower="onScrolltolower" @refresherrefresh="onRefresherrefresh"> |
|
|
|
<view class="lf-m-t-20"></view> |
|
|
|
<lf-waterfall :list="tabItem.list"></lf-waterfall> |
|
|
|
<view class="loading-more"> |
|
|
|
<view class="loading-more lf-m-b-10"> |
|
|
|
<text class="loading-more-text" v-if="tabItem.list.length">正在加载</text> |
|
|
|
<lf-nocontent v-else></lf-nocontent> |
|
|
|
</view> |
|
|
|
@ -142,6 +142,5 @@ |
|
|
|
height: 100%; |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 0rpx 32rpx; |
|
|
|
padding-bottom: 10rpx; |
|
|
|
} |
|
|
|
</style> |