摘要:
onReachBottom() { //上拉加载更多 if (!this.data.canloadMore){ return;//不可以加载更多了 } this.setData({ playingPage: this.data.playingPage+1 }) // 请求正在热映的电影数据 getP 阅读全文
摘要:
const center = {}; center.on = function (eventName, callback) { if (!center[eventName]) { center[eventName] = []; } //保存回调函数 center[eventName].push(ca 阅读全文