2024-10-12 19:40:17 +08:00
|
|
|
import{E as u}from"./element-plus.ab0703f2.js";import c from"./decoration-img.1dbda513.js";import{d as f,o as s,c as r,W as i,Q as p,a as t,F as n,a9 as l,K as h,V as m,T as v,bk as x,bj as y}from"./@vue.340249d8.js";import{d as b}from"./index.5ab034a5.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./lodash.3d784a58.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";const d=e=>(x("data-v-0edfaf16"),e=e(),y(),e),k={class:"pc-aside absolute top-0 bottom-0 left-0 w-[150px]"},g={class:"h-full px-[10px] flex flex-col"},w={class:"mb-auto"},S={class:"nav"},I=["to"],C=d(()=>t("span",null,null,-1)),E={class:"ml-[10px]"},V={class:"menu"},B=d(()=>t("span",null,null,-1)),N={class:"ml-[6px] line-clamp-1"},A=f({__name:"content",props:{nav:{type:Array,default:()=>[]},menu:{type:Array,default:()=>[]}},setup(e){return(D,F)=>{const _=u;return s(),r("div",k,[i(_,null,{default:p(()=>[t("div",g,[t("div",w,[t("div",S,[(s(!0),r(n,null,l(e.nav,(o,a)=>(s(),r(n,{key:a},[o.is_show=="1"?(s(),r("div",{key:0,to:o.link.path,class:h(["nav-item",{active:a==0}])},[i(c,{width:"18px",height:"18px",src:a==0?o.selected:o.unselected,fit:"cover"},{error:p(()=>[C]),_:2},1032,["src"]),t("div",E,m(o.name),1)],10,I)):v("",!0)],64))),128))])]),t("div",null,[t("div",V,[(s(!0),r(n,null,l(e.menu,(o,a)=>(s(),r("div",{class:"menu-item",key:a},[i(c,{width:"16px",height:"16px",src:o.unselected,fit:"cover"},{error:p(()=>[B]),_:2},1032,["src"]),t("span",N,m(o.name),1)]))),128))])])])]),_:1})])}}});const ut=b(A,[["__scopeId","data-v-0edfaf16"]]);export{ut as default};
|