index.js 283 B

12345678910111213141516171819
  1. import {
  2. getSelfRead
  3. } from '~/api/user'
  4. import reachBottom from '~/mixins/reachBottom'
  5. Page({
  6. behaviors: [reachBottom],
  7. data: {
  8. },
  9. onLoad(options) {
  10. this.loadMore()
  11. },
  12. loadMore() {
  13. this.getData(getSelfRead)
  14. },
  15. onReachBottom() {
  16. this.loadMore()
  17. },
  18. })