import{b7 as p,as as y,ae as v,bM as b,aS as C,aT as o,bf as l,a$ as n,aY as c,bg as h,bh as k,c as u,ba as d,bN as x,b9 as N,b0 as B,aX as G}from"./index-xnhGKCfe.js";import{P as w}from"./index-97-mhYEo.js";import"./pre-D84pmYLY.js";import"./currency-DTUBf2lI.js";import"./useProtocol-DJp7lFWi.js";const D={class:"category-name"},I={class:"list-container"},L=["onClick"],M={class:"inner"},P=["src"],S=p({__name:"index",setup(q){const r=y(),{categoryList:i,onGameJump:m,getGameStatusImg:_}=v(),g=u(()=>{const a=r.query.categoryCode;if(!a)return"";const e=i.value.find(s=>s.categoryCode===a);return(e==null?void 0:e.categoryName)||""}),f=u(()=>{const a=r.query.categoryCode;if(!a)return[];const e=i.value.find(s=>s.categoryCode===a);return(e==null?void 0:e.gameList)||[]});return(a,e)=>{const s=b("lazy");return o(),C(w,{class:"category-page","is-overfllow":!1},{title:l(()=>[n("div",D,B(g.value),1)]),default:l(()=>[n("div",I,[(o(!0),c(h,null,k(f.value,t=>(o(),c("div",{class:"item",key:t.gameCode,onClick:z=>d(m)(t)},[n("div",M,[x(n("img",null,null,512),[[s,t.img]]),t.isGameMaintenance||t.isPlatMaintenance?(o(),c("img",{key:0,src:d(_)(t),class:"fgImg"},null,8,P)):N("",!0)])],8,L))),128))])]),_:1})}}}),R=G(S,[["__scopeId","data-v-b3810f46"]]);export{R as default};
