import{d as a,as as s,J as t,s as e,a as l,b as i,h as c,k as d,e as n,t as o,f as r,l as p,w as f,p as m,_ as v}from"./index-d052b22f-1780912037814v=1.0.0.js";const u={class:"card-container"},h={class:"header"},_={class:"left flex"},b={class:"pl12"},x={key:0,class:"pr8"},g={class:"select"},k={class:"table"},w=v(a({__name:"StatisticsCard",props:{path:{default:"matchActivityPlan"},title:{default:"赛事活动计划"},icon:{default:"Grid"}},setup(a){const{flatMenuListGet:v}=s(),w=t(),y=a,A=e((()=>v.filter((a=>!a.meta.isHide)).some((a=>a.name==y.path)))),C=()=>{y.path&&v.filter((a=>!a.meta.isHide)).some((a=>a.name==y.path))&&w.push({name:y.path})};return(a,s)=>{const t=l("SvgIcon"),e=l("ArrowRight"),v=l("el-icon");return i(),c("div",u,[d("div",h,[d("div",_,[n(t,{name:y.icon,class:"icon"},null,8,["name"]),d("span",b,o(y.title),1)]),d("div",{class:"right flex",onClick:C},[r(A)?(i(),c("span",x,"详情")):p("v-if",!0),n(v,null,{default:f((()=>[n(e)])),_:1})])]),d("div",g,[m(a.$slots,"select",{},void 0,!0)]),d("div",k,[m(a.$slots,"table",{},void 0,!0)])])}}}),[["__scopeId","data-v-158d0d0c"]]);export{w as default};
