|
@@ -123,7 +123,8 @@
|
|
this.isActivityFlag = true
|
|
this.isActivityFlag = true
|
|
this.GetPromotionsrList()
|
|
this.GetPromotionsrList()
|
|
}else{
|
|
}else{
|
|
- this.GetPageTopicInfo(this.headTab.list[0].linkParam.id)
|
|
|
|
|
|
+ this.headTabId = this.headTab.list[0].linkParam.id
|
|
|
|
+ this.GetPageTopicInfo(this.headTabId)
|
|
}
|
|
}
|
|
}).catch(error =>{
|
|
}).catch(error =>{
|
|
this.$util.msg(error.msg,2000)
|
|
this.$util.msg(error.msg,2000)
|
|
@@ -250,6 +251,16 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ onPullDownRefresh() {//下拉刷新
|
|
|
|
+ if(this.isActivityFlag){
|
|
|
|
+ this.listQuery.pageNum =1
|
|
|
|
+ this.GetPromotionsrListBottomData()
|
|
|
|
+ uni.stopPullDownRefresh()
|
|
|
|
+ }else{
|
|
|
|
+ this.GetPageTopicInfo(this.headTabId)
|
|
|
|
+ uni.stopPullDownRefresh()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
onPageScroll(e){//实时获取到滚动的值
|
|
onPageScroll(e){//实时获取到滚动的值
|
|
if(e.scrollTop>600){
|
|
if(e.scrollTop>600){
|
|
this.isScrollTop = true
|
|
this.isScrollTop = true
|