const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./wallet-D3fDJJIs.js","./index-BhrLSE9x.js","../css/index-tJwlbOEN.css"])))=>i.map(i=>d[i]);
import{_ as a,bl as e,h as l,r as t,w as s,o as i,c as r,d as n,F as o,g as m,v as _,X as d,x as p,az as u,n as c,t as y,z as w,A as v}from"./index-BhrLSE9x.js";import{L as g}from"./index-CWkD8ML6.js";/* empty css                                                              */const h={class:"wallet-page"},k={class:"wallet-wrapper"},x={class:"left"},j={class:"menus"},E=["onClick"],C={class:"text"},f={class:"right"},A=a({__name:"index",setup(a){const{t:A}=e(),I=w({loader:()=>v((()=>import("./wallet-D3fDJJIs.js")),__vite__mapDeps([0,1,2]),import.meta.url),loadingComponent:g,delay:200}),L=w({loader:()=>v((()=>import("./wallet-D3fDJJIs.js")),__vite__mapDeps([0,1,2]),import.meta.url),loadingComponent:g,delay:200}),O=w({loader:()=>v((()=>import("./wallet-D3fDJJIs.js")),__vite__mapDeps([0,1,2]),import.meta.url),loadingComponent:g,delay:200}),D=p(),N=u(),P=l((()=>[{url:"clarity_wallet-solid",name:A("钱包"),key:"wallet",path:""},{url:"mingcute_pig-money-line",name:A("充值"),key:"recharge",path:""},{url:"uil_money-withdrawal",name:A("提款"),key:"withdrawal",path:""}])),R={wallet:I,recharge:L,withdrawal:O},T=t("wallet");return s((()=>D.query),(a=>{a?.menu&&(T.value=a.menu)}),{immediate:!0}),(a,e)=>(i(),r("div",h,[n("div",k,[n("div",x,[n("div",j,[(i(!0),r(o,null,m(P.value,(a=>(i(),r("div",{class:c(["item",{active:T.value===a.key}]),key:a.key,onClick:e=>(a=>{T.value=a.key,N.replace({query:{menu:a.key}})})(a)},[n("span",C,y(a.name),1)],10,E)))),128))])]),n("div",f,[e[0]||(e[0]=n("h2",{class:"title"},null,-1)),(i(),_(d(R[T.value])))])])]))}},[["__scopeId","data-v-ac8b5881"]]);export{A as default};
