import{_ as M,u as O,r as e,c as r,b as m,w as A,e as i,F as B,ap as j,f as x,az as Q,aA as R,aB as S,a as u,aC as T,t as D,I as V,__tla as W}from"./index-WdVqRR-9.js";import{L as $,__tla as X}from"./index-vnsi0pI6.js";import{N as Y,__tla as Z}from"./index-N4risT1q.js";import{__tla as aa}from"./use-placeholder-8qMIDu-a.js";let F,ea=Promise.all([(()=>{try{return W}catch(t){}})(),(()=>{try{return X}catch(t){}})(),(()=>{try{return Z}catch(t){}})(),(()=>{try{return aa}catch(t){}})()]).then(async()=>{let t,p,h,g,b,y,k,w,C,z;t={class:"h-full flex flex-col overflow-hidden pb-50px box-border"},p={class:"mx-20px mt-15px flex items-center p-4px box-border bg-hex-1A1B22 rounded-12px text-14px"},h=["onClick"],g={class:"p-20px flex-1 overflow-auto"},b={class:"grid grid-cols-2 gap-12px"},y=["onClick"],k={class:"h-110px bg-hex-004816 rounded-14px text-center"},w=["src"],C={class:"text-center text-white mt-6px mb-10px"},z={__name:"wdxx",setup(ta){const I=O();function P(){I.back()}const L=e([{name:"\u901A\u8FC7",value:"1"},{name:"\u4E0D\u901A\u8FC7",value:"2"},{name:"\u5F85\u5BA1\u6838",value:"3"}]);let v=e(0);function U(s){v.value=s,E()}let l=e(!1),f=e(!1),o=e([]),c=e("1"),q=e("10");async function N(){let s={page:c.value,limit:q.value,axi_rxcj_shzt_v2:L.value[v.value].value,create_user_id:R.value.user_id};l.value=!0;let{code:d,data:_}=await S({url:"/aimooc/xnszr_img/index",data:s});d==1&&(o.value=[...o.value,..._.page_data],f.value=Number(_.total_page)===Number(c.value),c.value++,l.value=!1)}function E(){c.value=1,o.value=[],f.value=!1,N()}function G(s){I.push({name:"myImage-id",params:{id:s.axi_id}})}return(s,d)=>{const _=V,H=Y,J=$;return u(),r("div",t,[m(H,{title:"\u6211\u7684\u5F62\u8C61",onClickLeft:P},{left:A(()=>[m(_,{name:"arrow-left",color:"#ffffff",size:"18px"})]),_:1}),i("div",p,[(u(!0),r(B,null,j(L.value,(a,n)=>(u(),r("div",{class:T(["type_item",x(v)==n?"active":""]),key:n,onClick:K=>U(n)},D(a.name),11,h))),128))]),i("div",g,[m(J,{loading:x(l),"onUpdate:loading":d[0]||(d[0]=a=>Q(l)?l.value=a:l=a),finished:x(f),"finished-text":"\u6CA1\u6709\u66F4\u591A\u6570\u636E\u4E86",onLoad:N},{default:A(()=>[i("div",b,[(u(!0),r(B,null,j(x(o),(a,n)=>(u(),r("div",{key:n,onClick:K=>G(a)},[i("div",k,[i("img",{class:"max-w-full h-full rounded-14px",src:a.axi_img,alt:"\u56FE\u7247"},null,8,w)]),i("div",C,D(a.axi_name),1)],8,y))),128))])]),_:1},8,["loading","finished"])])])}}},F=M(z,[["__scopeId","data-v-1f1d6ada"]])});export{ea as __tla,F as default};
