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.
1 lines
1.7 KiB
1 lines
1.7 KiB
import{$ as t,q as s,u 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,y as d,f as m,t as p,l as f}from"./index-4ddb689d.js";import{M as _,_ as g}from"./mescroll-mixins.a7931123.js";import{r as h}from"./uni-app.es.24af5d4f.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const x="recharge.order/list";const b=y({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(x,n)).then((t=>{const o=t.data.list;e.list.data=a(o,e.list,s),l(o)}))}))}}},[["render",function(t,s,a,_,y,x){const b=f,L=n,j=h(d("mescroll-body"),g);return e(),l(L,{class:"container"},{default:o((()=>[i(j,{ref:"mescrollRef",sticky:!0,onInit:t.mescrollInit,down:{use:!1},up:y.upOption,onUp:x.upCallback},{default:o((()=>[i(L,{class:"log-list"},{default:o((()=>[(e(!0),r(u,null,c(y.list.data,((t,s)=>(e(),l(L,{key:s,class:"log-item"},{default:o((()=>[i(L,{class:"item-left flex-box"},{default:o((()=>[i(L,{class:"rec-status"},{default:o((()=>[i(b,null,{default:o((()=>[m(p("充值成功"))])),_:1})])),_:1}),i(L,{class:"rec-time"},{default:o((()=>[i(b,null,{default:o((()=>[m(p(t.pay_time),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(L,{class:"item-right"},{default:o((()=>[i(b,null,{default:o((()=>[m("+"+p(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};
|
|
|