2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
import{E as u}from"./element-plus.eb2e53ea.js";import c from"./decoration-img.51ecd14a.js";import{d as f,o as s,c as r,W as i,O as p,a as t,V as n,a7 as l,Q as h,U as m,S as v,bk as x,bj as y}from"./@vue.c3e77981.js";import{d as b}from"./index.01e2b43c.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.a2abcd4b.js";import"./vue-router.995b143f.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.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.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.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]"},S={class:"h-full px-[10px] flex flex-col"},g={class:"mb-auto"},w={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,j)=>{const _=u;return s(),r("div",k,[i(_,null,{default:p(()=>[t("div",S,[t("div",g,[t("div",w,[(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 _t=b(A,[["__scopeId","data-v-0edfaf16"]]);export{_t as default};
|