import{_,k as g,I as y,o as m,c as n,l as b,q as r,b as t,F as x,x as h,J as v,r as w,u as F,j as l,t as o,n as k}from"./index-CIAVq8iD-1776148658686.js";import{f as D}from"./utcFormat-Cl3Lb3s0-1776148658686.js";import{b as I}from"./lottery-BvmnIlAm-1776148658686.js";import{G as R}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";const j={class:"fullPage"},B={style:{padding:"16px",display:"flex","flex-direction":"column",gap:"12px"}},L={style:{padding:"12px","border-radius":"12px",background:"#fff","box-shadow":"0 0 4px 0 rgba(0, 0, 0, 0.25)",display:"flex","flex-direction":"column",gap:"4px"}},S={style:{display:"flex","justify-content":"space-between","align-items":"center"}},q={style:{"font-weight":"600"}},C={style:{"font-weight":"600"}},G={style:{display:"flex","justify-content":"space-between","align-items":"center"}},N={style:{color:"rgba(0, 0, 0, 0.4)","font-weight":"500"}},T={__name:"Details",setup(V){const{t:s,locale:c}=g();F();const d=v();c.value&&y(c.value);const u=d.query.activityId||"",i=w([]),f=e=>{if(e.status==0)return s("under_review");if(e.status==1)return s("approved");if(e.status==2)return s("rejection")},p=async()=>{const e=await I(u);e.status&&e.body?i.value=e.body.records:i.value=[]};return m(()=>{p()}),(e,z)=>(l(),n("div",j,[b(R,{showLanguageList:!0,title:r(s)("details"),style:{width:"100%"},color:"rgba(0, 0, 0, 0.80)"},null,8,["title"]),t("div",B,[(l(!0),n(x,null,h(i.value,a=>(l(),n("div",L,[t("div",S,[t("div",q,o(r(s)("cash_out")),1),t("div",C,"$"+o(a.amount),1)]),t("div",G,[t("div",N,o(r(D)(a.createTime)),1),t("div",{style:k([{"font-weight":"510","background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"},{backgroundImage:a.status==0?"linear-gradient(248deg, #759cff 5.66%, #3d73ff 42.49%)":a.status==1?"linear-gradient(248deg, #75FF98 5.66%, #3DFF54 42.49%)":"linear-gradient(248deg, #FF7578 5.66%, #FF3D40 42.49%)"}])},o(f(a)),5)])]))),256))])]))}},P=_(T,[["__scopeId","data-v-bbb38d83"]]);export{P as default};
