123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- const pages = require('../../mixin/pages')
- Page({
-
- data: {
- ...pages.data(),
- listUrl: '/api/user/vr/list',
- searchForm: {
- key_words: ''
- },
- topSwiperData: []
- },
- ...pages.methods,
-
- onLoad(options) {
- this.fetchOrderList()
- },
-
- onReady() {
- },
-
- onShow() {
- },
-
- onHide() {
- },
-
- onUnload() {
- },
-
- onPullDownRefresh() {
- if (this.data.freshing) {
- return
- }
- this.setData({
- freshing: true
- })
- this.bindCallBack()
- },
-
- onReachBottom() {
- this.fetchOrderList()
- },
- bindCallBack() {
- this.refreshOrderList()
- }
- })
|