|
|
@ -25,6 +25,12 @@ Page({ |
|
|
|
// 加载网格长管辖的网格列表
|
|
|
|
noticelist() { |
|
|
|
let that = this |
|
|
|
|
|
|
|
if(that.data.noticeCategory =='notice_navigation_hot'){ |
|
|
|
that.setData({ |
|
|
|
pageIndex:1 |
|
|
|
}) |
|
|
|
} |
|
|
|
let params = { |
|
|
|
pageIndex: that.data.pageIndex, |
|
|
|
pageSize: that.data.pageSize, |
|
|
@ -118,6 +124,8 @@ Page({ |
|
|
|
* 页面上拉触底事件的处理函数 |
|
|
|
*/ |
|
|
|
onReachBottom: function () { |
|
|
|
console.log(this.data.noticeCategory) |
|
|
|
if(this.data.noticeCategory !='notice_navigation_hot'){ |
|
|
|
this.setData({ |
|
|
|
loadMoreVisible: true |
|
|
|
}) |
|
|
@ -128,6 +136,7 @@ Page({ |
|
|
|
}) |
|
|
|
this.noticelist(); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|