| 1 |
- import{d as m,K as d,c as f,o as t,e as c,F as _,T as p,u as h,R as e,fV as o,co as a,fH as v,cB as g,fO as w,cl as S,L as i,f as y,t as C,_ as I}from"./index.932f1548.js";const k={class:"slide-menu",id:"slide-menu"},N=["onClick"],B=m({__name:"slide-menu",props:{activeName:null},emits:["changeItem"],setup(r){const l=d(()=>{const s=[{name:e.summaryShow,config:o(e.summaryShow),...a[e.summaryShow]}];return v.ga==="true"&&s.unshift({name:e.fireInfo,config:o(e.fireInfo),...a[e.fireInfo]}),g.value.length&&s.push({name:e.viewShow,config:o(e.viewShow),...a[e.viewShow]}),w.value.length&&s.push({name:e.recordShow,config:o(e.recordShow),...a[e.recordShow]}),s});return(s,x)=>{const u=f("ui-icon");return t(),c("div",k,[(t(!0),c(_,null,p(h(l),n=>(t(),c("div",{class:S({active:n.name===r.activeName}),key:n.name,onClick:R=>s.$emit("changeItem",n)},[i("span",null,[y(u,{type:n.icon,class:"icon"},null,8,["type"]),i("p",null,C(n.title),1)])],10,N))),128))])}}});const b=I(B,[["__scopeId","data-v-f8bd5e08"]]);export{b as S};
|