PageSourceSearch

https://d3xai.ai/assets/backout-record-CJ-4sUb4.js

js d3xai.ai collected 2026-10-05 12:01:45 UTC 2,868 bytes, 1 lines download raw bytes

1import{_ as e}from"./Loader.vue_vue_type_script_setup_true_lang-B13w6hsU.js";import{cM as t,cN as s,c$ as a,cO as r,d4 as i,cT as o,cU as l,cV as n,d5 as d,da as c,db as u,cW as m,d6 as p,dc as v,c_ as g,d3 as x,df as y,cY as f,d7 as h,d2 as _}from"./index-Dmu6oiBK.js";import{u as b}from"./useInfiniteQuery-D37_DgMI.js";import{a as F,u as k}from"./useToken-l4xTdmhR.js";import{f as P}from"./format-H3uh4WQQ.js";import{u as j}from"./useWithdraw-B4rkD7Ay.js";import"./getTimePeriods-CbO6JQ5u.js";/* empty css              */import"./Withdraw-CscrcsXF.js";const w={class:"space-y-4"},C={key:0,class:"text-center mt-3"},T={class:"text-xl font-bold"},N={class:""},M={class:"text-sm"},W={class:"text-[10px] mt-[10px]"},z={class:"text-right"},Y={class:"text-sm text-success"},q={class:"text-[10px] mt-[10px]"},D=t({__name:"backout-record",props:{isComponent:{type:Boolean,default:!1},token:{default:""}},setup(t){const{t:D}=s();g();const H=t,S=v(),B=h(()=>H.token||S.query.t),U=F(B);k();const L=a({load_end:!0,total:0,historyTotalWithdrew:Number(S.query.amount||0),params:{page:1,size:20,orderType:void 0}}),{account:O}=r();j();const V=h(()=>!!O.value),A=h(()=>{var e;return["getMarketBuyCancelHistory",O.value,null==(e=U.value)?void 0:e.address]}),{data:I,isPending:K,isFetching:Q,refetch:$,status:E,hasNextPage:G,fetchNextPage:J,isFetchingNextPage:R}=b({queryKey:A,refetchOnWindowFocus:!1,enabled:V,getNextPageParam:(e,t)=>e.nextCursor,initialPageParam:1,queryFn:async({pageParam:e=0})=>{var t;const s={account:O.value,page:e,size:L.value.params.size},a=await _.SwaggerV3Api.get_api_market_getMarketBuyCancelHistory(s);return _.isSuccess(a)?{...a.data,list:a.data.list||[],nextCursor:(null==(t=a.data.list)?void 0:t.length)===s.size?s.page+1:void 0}:{list:[],nextCursor:void 0}}});return(s,a)=>{var r,v,g,h,_;const b=e;return x(),i("div",{class:p(["invite-record pb-8",{"px-4":!t.isComponent}])},[o("div",w,[t.isComponent?d("",!0):(x(),i("div",C,[o("div",T,l(n(P)(L.value.historyTotalWithdrew)),1),a[1]||(a[1]=o("div",{class:"text-[10px] mt-1 text-white/50"},"USDT",-1))])),(x(!0),i(c,null,u(null==(r=n(I))?void 0:r.pages,e=>(x(),i(c,{key:e.nextCursor},[(x(!0),i(c,null,u(e.list,e=>(x(),i("div",{key:e.id,class:"profit-item grid grid-cols-2 gap-x-2 border-b border-[#FFFFFF0F] py-3 text-white/80"},[o("div",N,[o("div",M,l(n(D)("撤销金额")),1),o("div",W,l(n(y)(1e3*e.time).format("YYYY-MM-DD HH:mm:ss")),1)]),o("div",z,[o("div",Y,[f(" + "+l(n(P)(Number(e.amount)))+" ",1),a[2]||(a[2]=o("span",{class:"text-[10px] ml-1"},"USDT",-1))]),o("div",q,l(n(D)("已到账")),1)])]))),128))],64))),128))]),m(b,{load_end:!n(G),loading:n(K)||n(Q)||n(R),refresh:!0,onLoadMore:a[0]||(a[0]=e=>{J()}),length:(null==(_=null==(h=null==(g=null==(v=n(I))?void 0:v.pages)?void 0:g[0])?void 0:h.list)?void 0:_.length)||0},null,8,["load_end","loading","length"])],2)}}});export{D as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.