2 lines
3.1 KiB
JavaScript
2 lines
3.1 KiB
JavaScript
import{g as v,r as n,o as h,h as b,w as t,a as e,u as a,y as g,z as y,b as o,A as V,B as k,C as B,D as C,G as I,H as $,I as K,J as M,K as N,f as i,d as T,L as z,c as w,M as D,N as E,F,_ as L}from"./index-adc67fa5.js";import{a as U}from"./axios-4a70c6fc.js";const q=i("span",null,"首页",-1),A=i("span",null,"系统设置",-1),x=v("");function G(){U.get("http://127.0.0.1:3050/test").then(r=>{})}const H={__name:"leftMenu",setup(r){return(f,u)=>{const l=n("el-icon"),_=n("el-menu-item"),s=n("el-menu-item-group"),d=n("el-sub-menu"),c=n("el-menu"),m=n("el-scrollbar");return h(),b(m,null,{default:t(()=>[e(c,{modelValue:x.value,"onUpdate:modelValue":u[0]||(u[0]=p=>x.value=p),router:!0},{default:t(()=>[e(_,{index:"/"},{default:t(()=>[e(l,null,{default:t(()=>[e(l,null,{default:t(()=>[e(a(g))]),_:1})]),_:1}),q]),_:1}),e(d,{index:"2"},{title:t(()=>[e(l,null,{default:t(()=>[e(a(y))]),_:1}),o(" 订阅管理 ")]),default:t(()=>[e(s,null,{default:t(()=>[e(_,{index:"/subscribe"},{default:t(()=>[e(l,null,{default:t(()=>[e(a(V))]),_:1}),o(" 电视剧订阅 ")]),_:1}),e(_,{index:""},{default:t(()=>[e(l,null,{default:t(()=>[e(a(k))]),_:1}),o(" 发布记录 ")]),_:1}),e(_,{index:""},{default:t(()=>[e(l,null,{default:t(()=>[e(a(B))]),_:1}),o(" 失败记录 ")]),_:1})]),_:1})]),_:1}),e(_,{index:"/settings"},{default:t(()=>[e(l,null,{default:t(()=>[e(l,null,{default:t(()=>[e(a(C))]),_:1})]),_:1}),A]),_:1}),e(d,{index:"4"},{title:t(()=>[e(l,null,{default:t(()=>[e(a(I))]),_:1}),o(" 功能测试 ")]),default:t(()=>[e(s,null,{title:t(()=>[o("测试模块")]),default:t(()=>[e(_,{index:"/medaInfoTest"},{default:t(()=>[e(l,null,{default:t(()=>[e(a($))]),_:1}),o(" MediaInfo ")]),_:1}),e(_,{index:"1"},{default:t(()=>[e(l,null,{default:t(()=>[e(a(K))]),_:1}),o(" 图像截取 ")]),_:1}),e(_,{index:"/downloadTest",to:""},{default:t(()=>[e(l,null,{default:t(()=>[e(a(M))]),_:1}),o(" 视频下载 ")]),_:1}),e(_,{onClick:G},{default:t(()=>[e(l,null,{default:t(()=>[e(a(N))]),_:1}),o(" 功能测试 ")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}}},J=i("h3",{style:{width:"180px"}},"WEB-DL发布工具",-1),R=i("div",{class:"h-6"},null,-1),S=T({__name:"headerMenu",setup(r){const f=z(),u=v("");function l(){f.push({path:"/addSubscribe",query:{name:u.value}})}return(_,s)=>{const d=n("el-input"),c=n("el-menu-item-group"),m=n("el-menu");return h(),w(F,null,[e(m,{class:"el-menu-demo",mode:"horizontal",ellipsis:!1},{default:t(()=>[J,e(c,null,{default:t(()=>[e(d,{style:{"min-width":"auto"},modelValue:u.value,"onUpdate:modelValue":s[0]||(s[0]=p=>u.value=p),placeholder:"搜索资源","prefix-icon":a(D),onKeydown:E(l,["enter"])},null,8,["modelValue","prefix-icon","onKeydown"])]),_:1})]),_:1}),R],64)}}});const W={class:"common-layout"},j={__name:"index",setup(r){return(f,u)=>{const l=n("el-header"),_=n("el-aside"),s=n("router-view"),d=n("el-main"),c=n("el-container");return h(),w("div",W,[e(c,null,{default:t(()=>[e(l,null,{default:t(()=>[e(S)]),_:1}),e(c,null,{default:t(()=>[e(_,{width:"200px"},{default:t(()=>[e(H)]),_:1}),e(d,null,{default:t(()=>[e(s)]),_:1})]),_:1})]),_:1})])}}},Q=L(j,[["__scopeId","data-v-10e397ef"]]);export{Q as default};
|