Browse Source

游记攻略分页

master
jiazhipeng 1 year ago
parent
commit
ca803c5adc
  1. 11
      subPackages/travelGuide/travelGuide.vue

11
subPackages/travelGuide/travelGuide.vue

@ -58,13 +58,16 @@
}
},
onShow() {
this.showMore = true
this.list = []
this.getArticleByType()
// this.showMore = true
// this.list = []
// this.getArticleByType()
},
onReady() {
this.type_id = 42
this.getArticleType()
this.showMore = true
this.list = []
this.getArticleByType()
},
onLoad(options) {
let that = this
@ -123,7 +126,7 @@
},
onReachBottom() {
setTimeout(() => {
if (!this.showMore) this.getList()
if (this.showMore) this.getArticleByType()
},1000)
}
}

Loading…
Cancel
Save