"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");if(!Array){e.resolveComponent("z-paging")()}Math;const a={__name:"incomeList",setup(a){e.ref({});const r=e.ref(null);let t=e.ref([]),l=()=>!r.value;e.onPullDownRefresh((()=>{l()||r.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(r.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&r.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||r.value.pageReachBottom()}));const c=(e,a)=>{const t={current:e,pageSize:a};o.walletRecord(t).then((e=>{r.value.complete(e)})).catch((e=>{r.value.complete(!1)}))};return(o,a)=>({a:e.f(e.unref(t),((o,a,r)=>({a:e.t(o.recordName||"-"),b:e.t(o.createTime),c:e.t(o.amount),d:a}))),b:e.sr(r,"6ff95d97-0",{k:"paging"}),c:e.o(c),d:e.o((o=>e.isRef(t)?t.value=o:t=o)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(t)})})}},r=e._export_sfc(a,[["__scopeId","data-v-6ff95d97"]]);a.__runtimeHooks=1,wx.createPage(r);
