System.register(["./index-legacy-9fc2ee5c.js","./vendor-legacy-aeda4e3d.js","./index-legacy-6df88539.js","./index-legacy-f74c251a.js"],function(e,t){"use strict";var a,l,i,n,r,o,s,d,c,v,u,m,f,g,h,y,p,x,_,w;return{setters:[e=>{a=e._,l=e.w,i=e.f,n=e.ac,r=e.h},e=>{o=e.l,s=e.q,d=e.o,c=e.a,v=e.g,u=e.f,m=e.u,f=e.h,g=e.w,h=e.e,y=e.F,p=e.ar,x=e.i,_=e.t},null,e=>{w=e.g}],execute:function(){var t=document.createElement("style");t.textContent="*[data-v-8993f9c0]{color:var(--ex-home-list-ftcolor2)}.recordList[data-v-8993f9c0]{max-height:100vh;flex:1;overflow:auto}[data-v-8993f9c0] .van-list__finished-text{height:2.106667rem;display:flex;align-items:center;justify-content:center;font-size:.373333rem;color:var(--ex-passive-font-color)}.item[data-v-8993f9c0]{padding:.266667rem .4rem;border-bottom:.026667rem solid var(--ex-border-color)}.item .everyItem[data-v-8993f9c0]{padding:.266667rem 0;display:flex;justify-content:space-between;align-items:center;font-size:.32rem;color:var(--ex-passive-font-color)}.item .everyItem .itemRight[data-v-8993f9c0]{font-size:.32rem}\n",document.head.appendChild(t);const b={class:"columnFlex"},I={class:"recordList"},j={class:"everyItem"},z={class:"itemRight fw-num"},R={style:{"font-size":"12px"}},k={class:"everyItem"},C={class:"itemRight fw-num"},F={class:"everyItem"},L={class:"itemRight fw-num"},N={class:"everyItem"},S={class:"itemRight fw-num"},$={class:"everyItem"},q={class:"itemRight fw-num"};e("default",a({__name:"order",setup(e){const t=o([]),a=o(1),A=o(8),B=o(!1),E=o(!1),H=o(!1),M=o(0),T=async()=>{try{const e=await U();t.value=[...t.value,...e],0===t.value.length?B.value=!0:B.value=!1,t.value.length===M.value&&(H.value=!0),a.value++}catch(e){}finally{E.value=!1}},U=async()=>{let e={};e=`pageNum=${a.value}&pageSize=${A.value}&orderByColumn=createTime&isAsc=desc`;const t=await w(e);if(200===t.code)return M.value=t.total,t.rows;H.value=!0};return s(()=>{T()}),(e,a)=>{const o=l,s=p,w=r;return d(),c(y,null,[v("div",b,[u(o,{currentName:m(i)("pledge_order_record"),border_bottom:!0},null,8,["currentName"])]),v("div",I,[t.value.length>0&&!B.value?(d(),f(s,{key:0,loading:E.value,"onUpdate:loading":a[0]||(a[0]=e=>E.value=e),finished:H.value,"finished-text":m(i)("no_more_data"),"loading-text":m(i)("loading"),onLoad:T},{default:g(()=>[(d(!0),c(y,null,x(t.value,(e,t)=>(d(),c("div",{class:"item",key:t},[v("div",j,[v("div",null,_(m(i)("order_number")),1),v("div",z,[u(n,{data:e.orderId,contentFix:"start",fontSize:"12px"},{copyMsg:g(()=>[v("span",R,_(e.orderId),1)]),_:2},1032,["data"])])]),v("div",k,[v("div",null,_(m(i)("recharge_coin")),1),v("div",C,_(e.ownCoin),1)]),v("div",F,[v("div",null,_(m(i)("metastaking_bb_count")),1),v("div",L,_(e.number),1)]),v("div",N,[v("div",null,_(m(i)("selling_price")),1),v("div",S,_(e.price),1)]),v("div",$,[v("div",null,_(m(i)("total_price")),1),v("div",q,_(e.amount),1)])]))),128))]),_:1},8,["loading","finished","finished-text","loading-text"])):h("",!0),0===t.value.length&&B.value?(d(),f(w,{key:1})):h("",!0)])],64)}}},[["__scopeId","data-v-8993f9c0"]]))}}});
