You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/assets/pages-wallet-recharge-order...

1 lines
1.7 KiB

import{$ as t,p as s,q as a,o as e,c as l,w as o,i as n,a as i,b as r,d as c,F as u,x as d,f as p,t as m,k as f}from"./index-ae8bbb19.js";import{M as _,_ as g}from"./mescroll-mixins.7cda1bf3.js";import{r as h}from"./uni-app.es.ee1d5b08.js";import{_ as x}from"./_plugin-vue_export-helper.1b428a4d.js";const y="recharge.order/list";const b=x({mixins:[_],data:()=>({list:s(),upOption:{auto:!0,page:{size:15},noMoreSize:12,empty:{tip:"亲,暂无充值记录"}}}),onLoad(t){},methods:{upCallback(t){const s=this;s.getLogList(t.num).then((t=>{const a=t.data.length,e=t.data.total;s.mescroll.endBySize(a,e)})).catch((()=>s.mescroll.endErr()))},getLogList(s=1){const e=this;return new Promise(((l,o)=>{var n;(n={page:s},t.get(y,n)).then((t=>{const o=t.data.list;e.list.data=a(o,e.list,s),l(o)}))}))}}},[["render",function(t,s,a,_,x,y){const b=f,k=n,L=h(d("mescroll-body"),g);return e(),l(k,{class:"container"},{default:o((()=>[i(L,{ref:"mescrollRef",sticky:!0,onInit:t.mescrollInit,down:{use:!1},up:x.upOption,onUp:y.upCallback},{default:o((()=>[i(k,{class:"log-list"},{default:o((()=>[(e(!0),r(u,null,c(x.list.data,((t,s)=>(e(),l(k,{key:s,class:"log-item"},{default:o((()=>[i(k,{class:"item-left flex-box"},{default:o((()=>[i(k,{class:"rec-status"},{default:o((()=>[i(b,null,{default:o((()=>[p(m("充值成功"))])),_:1})])),_:1}),i(k,{class:"rec-time"},{default:o((()=>[i(b,null,{default:o((()=>[p(m(t.pay_time),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(k,{class:"item-right"},{default:o((()=>[i(b,null,{default:o((()=>[p("+"+m(t.actual_money)+"元",1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1},8,["onInit","up","onUp"])])),_:1})}],["__scopeId","data-v-3c64842f"]]);export{b as default};