//import * as WxJsApi from '@/utils/wxJsApi.js' import * as API from '@/apis/hr/news.js' import ResumeItem from '@/components/hr/ResumeItem.vue' export default { data() { return { isReady:false, list: [ ], pageIndex:1, recordsTotal:0, src: '/static/img/head/png', background: { backgroundColor: '#2295ff', }, } }, components: { ResumeItem }, onLoad(op){ //this.id=op.id; }, onReachBottom() { if(this.list.length { this.list=[ ...this.list, ...res.data.data ]; this.recordsTotal=res.data.recordsTotal uni.hideLoading() }).catch(error => { uni.showToast({ title:error }) }) } },onReady(){ this.getList() this.isReady=true; },onShow(){ if(this.isReady){ } }, }