|
|
@ -57,6 +57,7 @@ |
|
|
|
:autoplay="true" |
|
|
|
:duration="500"> |
|
|
|
<swiper-item v-for="(item, index) in actorList" |
|
|
|
style="background-color: #fff;" |
|
|
|
:key="index"> |
|
|
|
<view class="swiper-item"> |
|
|
|
<image |
|
|
@ -141,7 +142,7 @@ |
|
|
|
console.log("======首页滑动到底部触发====") |
|
|
|
let total = this.queryParams.pageNo * this.queryParams.pageSize |
|
|
|
if(total < this.total){ |
|
|
|
this.queryParams.pageSize += 10 |
|
|
|
this.queryParams.pageNo += 1 |
|
|
|
this.indexGetTrendsPage(res => { |
|
|
|
this.trends.push(...res.result.records) |
|
|
|
}) |
|
|
@ -179,8 +180,8 @@ |
|
|
|
this.queryParams, res => { |
|
|
|
uni.stopPullDownRefresh() |
|
|
|
if(res.code == 200){ |
|
|
|
// fn && fn(res) |
|
|
|
this.trends = res.result.records |
|
|
|
fn && fn(res) |
|
|
|
// this.trends = res.result.records |
|
|
|
this.total = res.result.total |
|
|
|
} |
|
|
|
}) |
|
|
|