import{d as R,V as D,dJ as z,dK as I,s as g,r as L,o as M,a_ as V,c as S,e,f as a,g as t,h as v,i as u,u as x,F as p,j as d,k as h,R as q,S as J,_ as N}from"./index.0308b213.js";import m from"./sub-menu.575e7e61.js";const T=s=>(q("data-v-2d258a5a"),s=s(),J(),s),W={class:"layout-aside"},Y={class:"scrollbar-wrap"},K=T(()=>t("div",{style:{width:"130px",height:"95px",display:"flex","justify-content":"center","align-items":"center","margin-top":"15px"}},[t("div",null,[t("div",{style:{display:"flex","justify-content":"center","align-items":"center","margin-bottom":"14px"}},[t("img",{style:{width:"27px",height:"27px"},src:"https://qny.wdsp666.com/images/1/2021/01/hS7jqYSWy09ozR1Q07hzsDJYjy0RjZ.jpg?imageMogr2/thumbnail/400x"})]),t("div",null," \u6211\u7684\u4E0A\u94FA ")])],-1)),P=R({emits:["onChangeCollapse"],setup(s,{emit:C}){const{route:_}=D(),F=z();I(F);const f=g(()=>[{meta:{title:"\u9884\u7EA6",icon:"time-fill"},path:"/shopSystem"},{meta:{title:"\u5F00\u5355",icon:"time-fill"},path:"/shopSystem2"},{meta:{title:"\u987E\u5BA2",icon:"my-circle-fill"},path:"/shopSystem3"},{meta:{title:"\u5458\u5DE5",icon:"team-fill"},path:"/shopSystem4"},{meta:{title:"\u8425\u9500",icon:"funds-fill"},path:"/shopSystem5"},{meta:{title:"\u5546\u54C1",icon:"buy-fill"},path:"/shopSystem6"},{meta:{title:"\u5E94\u7528",icon:"home-fill"},path:"/shopSystem7"},{meta:{title:"\u6570\u636E",icon:"statistics-fill"},path:"/shopSystem8"},{meta:{title:"\u8BBE\u7F6E",icon:"set-fill"},path:"/shopSystem9"}]),b=g(()=>{var r,c;return(c=(r=_.meta)==null?void 0:r.parent)!=null?c:_.path}),n=L(!1);let i=null;console.log(f,"routes");const y=()=>{i||(i=setTimeout(()=>{n.value===!0&&C("onChangeCollapse",!1),n.value=!1,i=null},500))};return M(()=>{console.log("\u52A0\u8F7D\u5B8C\u6BD5"),y(),window.addEventListener("resize",y)}),V(()=>{console.log("\u9500\u6BC1\u524D\u6267\u884C")}),(r,c)=>{const B=S("el-menu"),E=S("el-scrollbar");return e(),a("div",W,[t("div",Y,[v(E,{style:{height:"100%"},class:"ls-scrollbar"},{default:u(()=>[K,v(B,{"background-color":"#FFFFFF","default-active":x(b),"text-color":"#080808",router:"",collapse:n.value},{default:u(()=>[(e(!0),a(p,null,d(x(f),(o,w)=>(e(),h(m,{key:w,route:o},{default:u(()=>[(e(!0),a(p,null,d(o==null?void 0:o.children,(l,k)=>(e(),h(m,{key:k,route:l},{default:u(()=>[(e(!0),a(p,null,d(l==null?void 0:l.children,(j,A)=>(e(),h(m,{key:A,route:j},null,8,["route"]))),128))]),_:2},1032,["route"]))),128))]),_:2},1032,["route"]))),128))]),_:1},8,["default-active","collapse"])]),_:1})])])}}});const Z=N(P,[["__scopeId","data-v-2d258a5a"]]);export{Z as default};
