| | |
| | | <template> |
| | | <view class="wrapper"> |
| | | <top-bar selectedTitleIndex="activity" @changeTab="topBarChange" class="topBar"></top-bar> |
| | | <top-bar selectedTitleIndex="activity" textColor="black" @changeTab="topBarChange" class="topBar"></top-bar> |
| | | |
| | | <view style="height: 100rpx"></view> |
| | | <view style="height: 100rpx;margin-top: 50px"></view> |
| | | <!-- 内容区域 --> |
| | | <scroll-view scroll-y class="content" style="height: 40vh;" @scrolltolower="loadMore" :lower-threshold="100"> |
| | | <view class="waterfall"> |
| | |
| | | query: { |
| | | pageNumber: 1, |
| | | pageSize: 10, |
| | | publish:1, |
| | | }, |
| | | loading: false, // 是否正在加载 |
| | | noMore: false, // 是否没有更多数据 |
| | |
| | | this.getActivityList(); |
| | | }, |
| | | loadMore() { |
| | | |
| | | // 显示加载状态 |
| | | this.loading = true; |
| | | |