System.register(["./chunk-legacy-CGSAaekB.js","./souav-legacy-ptBXoxNy.js","./chunk-legacy-B09Jcn0a.js"],function(e){"use strict";var t,l,i,o,n,s,c,a,d,r,p,x,u,f,v,y,m,g,w;return{setters:[e=>{t=e._},e=>{l=e.a,i=e.c,o=e.f,n=e.d},e=>{s=e.C,c=e.r,a=e.b,d=e.P,r=e.S,p=e.M,x=e.Q,u=e.X,f=e.V,v=e.u,y=e.R,m=e.H,g=e.U,w=e.N}],execute:function(k,h){const _={class:"flex w-full flex-col"},b={class:"mt-3 flex w-full flex-row items-center justify-between px-2"},L={class:"text-[20px] font-bold text-white flex items-center gap-0.5 leading-none"},j={class:"mt-2 grid grow grid-cols-5 gap-x-[3px] gap-y-[5px] px-1"},C=["onClick"],S={class:f(["block w-full max-w-full justify-center truncate overflow-hidden rounded-[3px] border-[1px] border-[#5B5B5B] px-[1px] py-[2px] text-center text-[12px] font-medium text-ellipsis whitespace-nowrap text-[#74EF79]"])},B={key:2,class:"mt-2 grid grid-cols-2 gap-x-2 gap-y-2 px-1"},M={class:"text-[12px]"};e("_",s({__name:"SectionView1",props:{name:{},vodList:{},isMore:{type:Boolean},typeId:{},icon:{}},setup(e){const s=l(),k=e,h=k.icon||"icon-play",I=c(),N=i();function T(){var e,t,l;0===(null===(e=I.value)||void 0===e?void 0:e.type_pid)?n(`/filter/${I.value.type_id}`,{pageNo:1}):n(`/filter/${null===(t=I.value)||void 0===t?void 0:t.type_pid}/${null===(l=I.value)||void 0===l?void 0:l.type_id}`,{pageNo:1})}return a(()=>{for(const e of N.mainTypes)if(e.type_id.toString()===k.typeId){I.value=e;break}if(!I.value)for(const e of N.secondTypes)if(e.type_id.toString()===k.typeId){I.value=e;break}}),(e,l)=>(w(),d("div",_,[r("div",b,[r("span",L,[r("i",{class:f([v(h),"iconfont text-orange-500 h-[26px]"]),style:{"font-size":"26px"}},null,2),u(y(e.name),1)]),e.isMore?(w(),d("div",{key:0,class:"flex flex-row items-center text-[12px] text-white",onClick:T},l[0]||(l[0]=[r("span",{class:"text-[14px]"},"更多",-1),r("i",{class:"iconfont icon-arrow"},null,-1)]))):x("",!0)]),r("div",j,[(w(!0),d(m,null,g(v(s).gridTextAd,(e,t)=>(w(),d("div",{class:"col-span-1 min-w-0 overflow-hidden",key:t,onClick:t=>{return l=e,void o.clickAd(l);var l}},[r("a",S,y(e.title),1)],8,C))),128))]),e.vodList.length>0?(w(),p(t,{key:0,model:k.vodList[0],class:"mt-2 px-1"},null,8,["model"])):x("",!0),e.vodList.length>1?(w(),p(t,{key:1,model:k.vodList[1],class:"mt-2 px-1"},null,8,["model"])):x("",!0),e.vodList.length>2?(w(),d("div",B,[(w(!0),d(m,null,g(k.vodList.slice(2),(e,l)=>(w(),p(t,{model:e,key:l,rounded:"5px"},null,8,["model"]))),128))])):x("",!0),e.isMore?(w(),d("div",{key:3,class:"mt-5 flex flex-row items-center justify-center leading-none text-white",onClick:T},[r("p",M,"更多"+y(e.name),1),l[1]||(l[1]=r("i",{class:"iconfont icon-arrow ml-1",style:{"font-size":"11px"}},null,-1))])):x("",!0)]))}}))}}});
