import{r as a,o as e,n as l,c as s,b as t,d as u,e as o,f as d,w as r,g as f,h as c,i as n,F as _,k as i,p,v,A as g}from"./index-DVkgSHpn.js";import{_ as m}from"./el-navbar.DVIyjZEN.js";import{_ as b}from"./el-refresh.CkIPFmzm.js";import{_ as h,a as x}from"./el-layout._U-vZTft.js";import"./el-empty.CMLN1lgh.js";import"./el-loading-icon.Bh3RKCou.js";const y=h({__name:"log",setup(h){const y=a(),w=a(0);e((()=>{l((()=>{k()}))}));const j=a([]),k=async()=>{var a;null==(a=y.value)||a.resetPage()},P=s((()=>{const{windowHeight:a}=i();return a-w.value})),H=()=>{k()},R=a=>{y.value.isMore()&&(y.value.loadingPage(),setTimeout((()=>{uni.$http.get("ucenter.withdraw/log",{page:a.page}).then((e=>{1==e.code?(1==a.page&&(j.value=[]),y.value.setData(e.data.total,e.data.list.length),j.value=j.value.concat(e.data.list)):-1==e.code&&(1==a.page&&e.data.list.length<=0&&(j.value=[]),y.value.emptyPage())}))}),100))};return(a,e)=>{const l=t(u("el-navbar"),m),s=p,i=t(u("el-refresh"),b),h=t(u("el-layout"),x);return o(),d(h,null,{default:r((()=>[f(l,{top:w.value,"onUpdate:top":e[0]||(e[0]=a=>w.value=a),placeholder:!0,fixed:!0,autoBack:!0,border:!0,title:"提现记录"},null,8,["top"]),f(i,{ref_key:"refreshRef",ref:y,onRefresh:H,onScrolltolower:R,scrollHeight:P.value},{default:r((()=>[f(s,{class:"wrapper"},{default:r((()=>[f(s,{class:"list-wrap"},{default:r((()=>[(o(!0),c(_,null,n(j.value,((a,e)=>(o(),d(s,{class:"list-box",key:e},{default:r((()=>[f(s,{class:"top"},{default:r((()=>[f(s,null,{default:r((()=>[v("提现至"+g(a.pay_name||""),1)])),_:2},1024),f(s,null,{default:r((()=>[v(g(a.price)+"元",1)])),_:2},1024)])),_:2},1024),f(s,{class:"content"},{default:r((()=>[f(s,{class:"field-box"},{default:r((()=>[f(s,{class:"label"},{default:r((()=>[v("帐户信息")])),_:1}),f(s,{class:"value"},{default:r((()=>[v(g(a.account),1)])),_:2},1024)])),_:2},1024),f(s,{class:"field-box"},{default:r((()=>[f(s,{class:"label"},{default:r((()=>[v("提现单号")])),_:1}),f(s,{class:"value"},{default:r((()=>[v(g(a.order_no),1)])),_:2},1024)])),_:2},1024),f(s,{class:"field-box"},{default:r((()=>[f(s,{class:"label"},{default:r((()=>[v("申请状态")])),_:1}),f(s,{class:"value"},{default:r((()=>[v(g(a.status),1)])),_:2},1024)])),_:2},1024),f(s,{class:"field-box"},{default:r((()=>[f(s,{class:"label"},{default:r((()=>[v("手续费")])),_:1}),f(s,{class:"value"},{default:r((()=>[v(g(a.pay_fee),1)])),_:2},1024)])),_:2},1024),f(s,{class:"field-box"},{default:r((()=>[f(s,{class:"label"},{default:r((()=>[v("申请时间")])),_:1}),f(s,{class:"value"},{default:r((()=>[v(g(a.create_time),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1},8,["scrollHeight"])])),_:1})}}},[["__scopeId","data-v-2d7ef3f0"]]);export{y as default};
//# sourceMappingURL=pages-ucenter-withdraw-log.DFkAt3dc.js.map
