import share from '~/mixins/share' import { getUserReadByExampleId } from '~/api/works' import reachBottom from '~/mixins/reachBottom' Page({ behaviors: [reachBottom,share], data: { exampleId: '' }, onLoad(options) { console.log(options); this.setData({ exampleId: options.exampleId }) this.resetData() }, loadMore() { this.getData(getUserReadByExampleId, { exampleId: this.data.exampleId }) }, onReachBottom() { this.loadMore() } })