diff --git a/pages/home/home.vue b/pages/home/home.vue index bf87025..f82dcce 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -61,7 +61,7 @@ org_id: getApp().globalData.org_id, type: 3, page: 1, - limit: 10, + limit: 20, }, swiperList: [], assetList: [], @@ -96,11 +96,11 @@ } }, onReachBottom() { - if (this.assetList.length >= that.count) { + if (this.assetList.length >= this.count) { this.status = 'nomore'; return } - this.page++ + this.queryParams.page++ this.status = 'loading'; this.getList() @@ -148,7 +148,7 @@ }) }, search() { - this.page = 1 + this.queryParams.page=1 this.assetList = [] this.getList() }, @@ -180,7 +180,7 @@ }, btntabs(item) { this.queryParams.type = item.type - this.page = 1 + this.queryParams.page = 1 this.assetList = [] this.getList() }, diff --git a/pages/mine/history.vue b/pages/mine/history.vue index 35e8278..4c75529 100644 --- a/pages/mine/history.vue +++ b/pages/mine/history.vue @@ -12,7 +12,7 @@ - @@ -84,13 +84,13 @@ } }, onReachBottom() { - if (this.assetList.length >= that.count) { + if (this.assetList.length >= this.count) { this.status = 'nomore'; return } - this.page++ + this.queryParams.page++ this.status = 'loading'; - this.getList() + this.getLists() }, onLoad(options) { @@ -214,7 +214,7 @@ changeTab(item) { this.tabIndex = item.index this.swiperIndex = item.index - this.page = 1 + this.queryParams.page = 1 this.assetList = [] this.queryParams.type = item.type this.getLists() diff --git a/pages/news/cpns/topic-list.vue b/pages/news/cpns/topic-list.vue index 3f7193c..8c60a14 100644 --- a/pages/news/cpns/topic-list.vue +++ b/pages/news/cpns/topic-list.vue @@ -2,7 +2,7 @@ - + {{item.asset_name}} {{item.digest}} diff --git a/pages/news/cpns/topic-lists.vue b/pages/news/cpns/topic-lists.vue index 3f7193c..ca1c757 100644 --- a/pages/news/cpns/topic-lists.vue +++ b/pages/news/cpns/topic-lists.vue @@ -2,10 +2,10 @@ - + {{item.asset_name}} {{item.digest}} - + 点击量:{{formatNumber(item.read_num)}} 今日:{{formatNumber(item.today)}}