| 1 |
- var x=(g,n,l)=>new Promise((u,p)=>{var t=a=>{try{e(l.next(a))}catch(d){p(d)}},c=a=>{try{e(l.throw(a))}catch(d){p(d)}},e=a=>a.done?u(a.value):Promise.resolve(a.value).then(t,c);e((l=l.apply(g,n)).next())});import{d as L,r as _,u as R,f as w,g as o,z as h,B as z,D as v,o as i,h as s,E as k,F as m,j as C,G as V,H as B,I as F,L as y,M as f,Q as N,q as $}from"./index-BvrJT4vV.js";import{_ as j}from"./wd-text.AZJSz_b6.js";import{_ as q}from"./z-paging.0LfmZNmx.js";import{u as D}from"./useZPaging.DPl6Aqd5.js";import{w as E}from"./wallet.BD-uL1iI.js";const A=L({name:"FrozenRecord",__name:"frozenRecord",setup(g){const n=_(null);D(n);const l=_({}),u=_([]);function p(t,c){return x(this,null,function*(){try{const e=yield E({page:t,size:c});n.value.complete(e.data.list)}catch(e){n.value.complete(!1)}})}return R(t=>{l.value=t}),(t,c)=>{const e=C,a=z(v("wd-text"),j),d=z(v("z-paging"),q),b=h("layout-default-uni");return i(),w(b,null,{default:o(()=>[s(d,{ref_key:"paging",ref:n,modelValue:m(u),"onUpdate:modelValue":c[0]||(c[0]=r=>k(u)?u.value=r:null),"use-page-scroll":"",onQuery:p},{default:o(()=>[s(e,{class:"py-20rpx"},{default:o(()=>[(i(!0),V(B,null,F(m(u),r=>(i(),w(e,{key:r.id,class:"bg-white px-22rpx py-18rpx"},{default:o(()=>[s(e,{class:"mb-8rpx flex items-center justify-between"},{default:o(()=>[s(e,null,{default:o(()=>[y(f(t.$t("myOrders.order.id"))+": "+f(r.bizNo),1)]),_:2},1024),s(e,null,{default:o(()=>[y(f(m(N)(r.freezeAmount)),1)]),_:2},1024)]),_:2},1024),s(e,{class:"flex items-center justify-between text-22rpx text-#3A444C"},{default:o(()=>[s(e,null,{default:o(()=>[y(f(r.createTime),1)]),_:2},1024),s(a,{type:"primary",bold:"",text:r.status===1?t.$t("wallet.frozenRecord.type.withdraw"):t.$t("wallet.frozenRecord.type.refund")},null,8,["text"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),M=$(A,[["__scopeId","data-v-9224171a"]]);export{M as default};
|