2 lines
2.6 KiB
JavaScript
2 lines
2.6 KiB
JavaScript
import{a as n,o as r,c as v,w as t,b as e,u as a,j as w,e as _,v as b,k as g,l as k,m as y,n as B,q as C,s as I,x as M,r as p,f as x,F as N,d as h,_ as T}from"./index-0f1208b8.js";import{a as V}from"./axios-4a70c6fc.js";function $(){V.get("/test").then(d=>{})}const z={__name:"leftMenu",setup(d){return(i,m)=>{const l=n("el-icon"),o=n("el-menu-item"),u=n("el-menu-item-group"),s=n("el-sub-menu"),c=n("el-menu"),f=n("el-scrollbar");return r(),v(f,null,{default:t(()=>[e(c,{router:!0},{default:t(()=>[e(s,{index:"1"},{title:t(()=>[e(l,null,{default:t(()=>[e(a(w))]),_:1}),_(" 订阅管理 ")]),default:t(()=>[e(u,null,{default:t(()=>[e(o,{index:"/subscribe"},{default:t(()=>[e(l,null,{default:t(()=>[e(a(b))]),_:1}),_(" 电视剧订阅 ")]),_:1}),e(o,{index:""},{default:t(()=>[e(l,null,{default:t(()=>[e(a(g))]),_:1}),_(" 电影订阅 ")]),_:1})]),_:1})]),_:1}),e(s,{index:"2"},{title:t(()=>[e(l,null,{default:t(()=>[e(a(k))]),_:1}),_(" 功能测试 ")]),default:t(()=>[e(u,null,{title:t(()=>[_("测试模块")]),default:t(()=>[e(o,{index:"/medaInfoTest"},{default:t(()=>[e(l,null,{default:t(()=>[e(a(y))]),_:1}),_(" MediaInfo ")]),_:1}),e(o,{index:"1"},{default:t(()=>[e(l,null,{default:t(()=>[e(a(B))]),_:1}),_(" 图像截取 ")]),_:1}),e(o,{index:"/downloadTest",to:""},{default:t(()=>[e(l,null,{default:t(()=>[e(a(C))]),_:1}),_(" 视频下载 ")]),_:1}),e(o,{onClick:$},{default:t(()=>[e(l,null,{default:t(()=>[e(a(I))]),_:1}),_(" 功能测试 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}},E=h("h3",{style:{width:"180px"}},"WEB-DL发布工具",-1),F=h("div",{class:"h-6"},null,-1),S=M({__name:"headerMenu",setup(d){const i=p("1");p("1");const m=(l,o)=>{console.log(l,o)};return(l,o)=>{const u=n("el-menu-item"),s=n("el-sub-menu"),c=n("el-avatar"),f=n("el-menu");return r(),x(N,null,[e(f,{"default-active":i.value,class:"el-menu-demo",mode:"horizontal",onSelect:m},{default:t(()=>[E,e(u,{index:"1"},{default:t(()=>[_("首页")]),_:1}),e(s,{index:"2"},{title:t(()=>[_("设置")]),default:t(()=>[e(u,{index:"2-1"},{default:t(()=>[_("item one")]),_:1})]),_:1}),e(c,{style:{position:"absolute",right:"0"},size:50,src:"https://www.konfan.cn/img/favicon.png"})]),_:1},8,["default-active"]),F],64)}}});const j={class:"common-layout"},q={__name:"index",setup(d){return(i,m)=>{const l=n("el-header"),o=n("el-aside"),u=n("router-view"),s=n("el-main"),c=n("el-container");return r(),x("div",j,[e(c,null,{default:t(()=>[e(l,null,{default:t(()=>[e(S)]),_:1}),e(c,null,{default:t(()=>[e(o,{width:"200px"},{default:t(()=>[e(z)]),_:1}),e(s,null,{default:t(()=>[e(u)]),_:1})]),_:1})]),_:1})])}}},W=T(q,[["__scopeId","data-v-10e397ef"]]);export{W as default};
|