import{_ as V,u as W,r as u,aA as m,aB as $,D as aa,C as ea,f as a,c as l,b as la,e as s,t as q,F as n,ap as ta,g as sa,w as ra,aa as E,P as ca,a as e,aC as ia,h as xa,__tla as ua}from"./index-WdVqRR-9.js";import{N as na,__tla as da}from"./index-N4risT1q.js";import{__tla as oa}from"./use-placeholder-8qMIDu-a.js";let H,pa=Promise.all([(()=>{try{return ua}catch(c){}})(),(()=>{try{return da}catch(c){}})(),(()=>{try{return oa}catch(c){}})()]).then(async()=>{let c,_,v,h,g,y,w,k,b,z,C,j,L,R,A,B,P,U,Y,D,F,G;c=""+new URL("sy-XYpLeZlw.png",import.meta.url).href,_=""+new URL("xx-GYowpRdp.png",import.meta.url).href,v={class:"h-full flex flex-col overflow-hidden pb-50px box-border"},h={class:"p-20px flex-1 overflow-auto"},g={class:"relative my-30px"},y={class:"text-center"},w={class:"w-100px h-100px m-auto"},k=["src"],b={class:"text-white mt-10px"},z={class:"flex items-center p-4px box-border bg-hex-1A1B22 rounded-12px text-14px"},C=["onClick"],j={key:1,class:"mt-20px flex"},L={class:"flex-1 mr-15px"},R=["src"],A={key:0,class:"h-190px rounded-14px text-center"},B=["src"],P=["src"],U=["src"],Y={key:0,class:"h-190px rounded-14px text-center"},D=["src"],F=["src"],G={__name:"index",setup(ma){const J=W();let r=u(!1);const K=u(["\u6211\u7684\u58F0\u97F3","\u6211\u7684\u5F62\u8C61"]);let i=u(""),d=u([]),o=u([]);I(0);function I(t){i.value=t,t==0?N():t==1&&O()}function M(){let t="";i.value==0?t="wdsy":i.value==1&&(t="wdxx"),J.push({path:"/home/wode/".concat(t)})}async function N(){let t={page:"1",limit:"1",axa_sycj_shzt_v2:"1",create_user_id:m.value.user_id};r.value=!0;let{code:p,data:x}=await $({url:"/aimooc/xnszr_audio/index",data:t});p==1&&(d.value=[...x.page_data],r.value=!1)}async function O(){let t={page:"1",limit:"1",axi_rxcj_shzt_v2:"1",create_user_id:m.value.user_id};r.value=!0;let{code:p,data:x}=await $({url:"/aimooc/xnszr_img/index",data:t});p==1&&(o.value=[...x.page_data],r.value=!1)}return(t,p)=>{var X,Z;const x=na,Q=ca,S=aa("loading");return ea((e(),l("div",v,[la(x,{title:"\u4E2A\u4EBA\u4E2D\u5FC3"}),s("div",h,[s("div",g,[s("div",y,[s("div",w,[s("img",{class:"w-full h-full rounded-50px",src:(X=a(m))==null?void 0:X.user_avatar,alt:""},null,8,k)]),s("div",b,q((Z=a(m))==null?void 0:Z.user_name),1)])]),s("div",z,[(e(!0),l(n,null,ta(K.value,(T,f)=>(e(),l("div",{class:ia(["tab_item",a(i)==f?"active":""]),key:f,onClick:_a=>I(f)},q(T),11,C))),128))]),a(r)===!0?(e(),sa(Q,{key:0,class:"text-center py-30px",color:"#ffffff",size:"24px"},{default:ra(()=>[xa("\u52A0\u8F7D\u4E2D...")]),_:1})):E("",!0),a(r)?E("",!0):(e(),l("div",j,[s("div",L,[a(i)==0?(e(),l(n,{key:0},[a(d).length==0?(e(),l("img",{key:0,class:"w-full max-h-190px",src:a(c),alt:""},null,8,R)):(e(),l(n,{key:1},[a(d)[0].axa_img?(e(),l("div",A,[s("img",{class:"max-w-full max-h-full rounded-14px",src:a(d)[0].axa_img,alt:"\u56FE\u7247"},null,8,B)])):(e(),l("img",{key:1,class:"w-full max-h-190px",src:a(c),alt:""},null,8,P))],64))],64)):(e(),l(n,{key:1},[a(o).length==0?(e(),l("img",{key:0,class:"w-full max-h-190px",src:a(_),alt:""},null,8,U)):(e(),l(n,{key:1},[a(o)[0].axi_img?(e(),l("div",Y,[s("img",{class:"max-w-full max-h-full rounded-14px",src:a(o)[0].axi_img,alt:"\u56FE\u7247"},null,8,D)])):(e(),l("img",{key:1,class:"w-full max-h-190px",src:a(_),alt:""},null,8,F))],64))],64))]),s("div",{class:"write-vertical-right rounded-5px text-white text-12px bg-white bg-opacity-10 w-30px flex items-center justify-center my-20px tracking-8px",onClick:M},"\u67E5\u770B\u66F4\u591A")]))])])),[[S,a(r)]])}}},H=V(G,[["__scopeId","data-v-7f88e065"]])});export{pa as __tla,H as default};
