add dist
This commit is contained in:
parent
43e891713a
commit
4b47482b17
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
view/node_modules/
|
view/node_modules/
|
||||||
.idea/
|
.idea/
|
||||||
view/dist/
|
|
1
view/dist/assets/Video-8e45cd37.js
vendored
Normal file
1
view/dist/assets/Video-8e45cd37.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a as t}from"./axios-4a70c6fc.js";const e=t.create({baseURL:""});async function s(a){return await e.get("/videoInfo/getVideoInfo",{params:{id:a}})}async function i(a){return await e.get("/videoInfo/searchVideo",{params:{name:a}})}async function o(a){return await e.get("/videoInfo/getImdbName",{params:{url:a}})}async function r(a){return await e.post("/videoInfo/addSubscribe",a)}async function c(){return await e.get("/videoInfo/getSubscribe")}async function d(a){return await e.get("/videoInfo/delSubscribe",{params:{id:a}})}export{s as a,o as b,r as c,d,c as g,i as s};
|
1
view/dist/assets/addSubscribe-04680239.css
vendored
Normal file
1
view/dist/assets/addSubscribe-04680239.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.list[data-v-c81a2b48]{display:flex;flex-wrap:wrap}.list .item[data-v-c81a2b48]{width:200px;margin:20px}.list .item img[data-v-c81a2b48]{height:300px}.time[data-v-c81a2b48]{font-size:12px;color:#999}.bottom[data-v-c81a2b48]{margin-top:13px;line-height:12px;display:flex;justify-content:space-between;align-items:center}.button[data-v-c81a2b48]{padding:0;min-height:auto;min-width:40px}.image[data-v-c81a2b48]{width:100%;display:block}
|
1
view/dist/assets/addSubscribe-0de7d687.js
vendored
Normal file
1
view/dist/assets/addSubscribe-0de7d687.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
view/dist/assets/axios-4a70c6fc.js
vendored
Normal file
3
view/dist/assets/axios-4a70c6fc.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
view/dist/assets/downloadTest-7f5de767.js
vendored
Normal file
1
view/dist/assets/downloadTest-7f5de767.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a as x}from"./axios-4a70c6fc.js";import{_ as D,g as u,r as n,o as h,h as E,w as o,a as e,f as r,b as v,c as b,i as L,t as U,F as N,E as w,p as j,j as F}from"./index-b619957d.js";const M=i=>(j("data-v-509f07c5"),i=i(),F(),i),R=M(()=>r("div",{class:"card-header"},[r("span",null,"Video Download Test")],-1)),z={style:{display:"flex",width:"100%"}},Q={style:{display:"flex"}},A={style:{display:"flex"}},G={style:{width:"100%",height:"100%","overflow-y":"auto"}},H={__name:"downloadTest",setup(i){const d=u(!1),l=u({name:"https://v.qq.com/x/cover/mzc002007vp35qj.html",start:1,save:localStorage.getItem("save")}),c=u([]),p=u();function V(){x.get("/getQqList",{params:{url:l.value.name}}).then(t=>{c.value=t.data})}function k(){p.value.clearSelection();for(let t=l.value.start-1;t<c.value.length;t++)console.log(t),p.value.toggleRowSelection(c.value[t],void 0)}const m=u([]);async function S(){let t=p.value.getSelectionRows();if(t.length===0){w({showClose:!0,message:"请选择要下载的剧集",type:"error"});return}if(!l.value.save){w({showClose:!0,message:"请填写下载位置",type:"error"});return}d.value=!0,localStorage.setItem("save",l.value.save);for(let a of t)await x.get("/startDown",{params:{...a,save:l.value.save+"/"+a.title.split(" ")[0]}});w({showClose:!0,message:"添加完成",type:"success"})}const C=new EventSource("/msg");C.onmessage=t=>{m.value.length>200&&m.value.splice(200),m.value.unshift(t.data)};function I(){d.value=!0}return(t,a)=>{const f=n("el-input"),_=n("el-button"),g=n("el-form-item"),y=n("el-table-column"),T=n("el-table"),q=n("el-dialog"),B=n("el-card");return h(),E(B,{class:"box-card"},{header:o(()=>[R]),default:o(()=>[e(g,{label:"视频地址"},{default:o(()=>[r("div",z,[e(f,{style:{width:"100%"},modelValue:l.value.name,"onUpdate:modelValue":a[0]||(a[0]=s=>l.value.name=s)},null,8,["modelValue"]),e(_,{style:{"flex-shrink":"0",margin:"0 10px"},onClick:V,type:"primary"},{default:o(()=>[v("获取")]),_:1})])]),_:1}),e(g,{label:"第几集开始"},{default:o(()=>[r("div",Q,[e(f,{modelValue:l.value.start,"onUpdate:modelValue":a[1]||(a[1]=s=>l.value.start=s)},null,8,["modelValue"]),e(_,{style:{"flex-shrink":"0",margin:"0 10px"},onClick:k,type:"primary"},{default:o(()=>[v("设置")]),_:1})])]),_:1}),e(g,{label:"下载保存地址"},{default:o(()=>[r("div",A,[e(f,{modelValue:l.value.save,"onUpdate:modelValue":a[2]||(a[2]=s=>l.value.save=s)},null,8,["modelValue"]),e(_,{style:{"flex-shrink":"0",margin:"0 10px"},onClick:S,type:"primary"},{default:o(()=>[v("下载")]),_:1}),e(_,{style:{"flex-shrink":"0",margin:"0 10px"},onClick:I,type:"primary"},{default:o(()=>[v("查看进度")]),_:1})])]),_:1}),e(T,{ref_key:"table",ref:p,data:c.value,style:{width:"100%"}},{default:o(()=>[e(y,{type:"selection",width:"55"}),e(y,{label:"title",prop:"title"}),e(y,{label:"url",prop:"url"})]),_:1},8,["data"]),e(q,{fullscreen:!0,modelValue:d.value,"onUpdate:modelValue":a[3]||(a[3]=s=>d.value=s),title:"Tips",width:"30%"},{default:o(()=>[r("div",G,[(h(!0),b(N,null,L(m.value,s=>(h(),b("div",null,U(s),1))),256))])]),_:1},8,["modelValue"])]),_:1})}}},O=D(H,[["__scopeId","data-v-509f07c5"]]);export{O as default};
|
1
view/dist/assets/downloadTest-ce26e49c.css
vendored
Normal file
1
view/dist/assets/downloadTest-ce26e49c.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.card-header[data-v-509f07c5]{display:flex;justify-content:space-between;align-items:center}.text[data-v-509f07c5]{font-size:14px}.item[data-v-509f07c5]{margin-bottom:18px}.box-card[data-v-509f07c5]{width:480px}
|
1
view/dist/assets/getMediaInfoTest-d9b8302c.css
vendored
Normal file
1
view/dist/assets/getMediaInfoTest-d9b8302c.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.card-header[data-v-215ae4a3]{display:flex;justify-content:space-between;align-items:center}.text[data-v-215ae4a3]{font-size:14px}.item[data-v-215ae4a3]{margin-bottom:18px}.box-card[data-v-215ae4a3]{width:480px}
|
1
view/dist/assets/getMediaInfoTest-fd7e0dc8.js
vendored
Normal file
1
view/dist/assets/getMediaInfoTest-fd7e0dc8.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a as i}from"./axios-4a70c6fc.js";import{_ as f,g as m,r as o,o as v,h as x,w as s,f as _,a as d,b as I,k as g,p as h,j as M}from"./index-b619957d.js";const T=e=>(h("data-v-215ae4a3"),e=e(),M(),e),V={class:"card-header"},b=T(()=>_("span",null,"MediaInfo Test",-1)),k={__name:"getMediaInfoTest",setup(e){const a=m("");function c(){i.get("/getMediaInfo",{params:{filePath:a.value}}).then(n=>{g.alert(n.data.data)})}return(n,t)=>{const p=o("el-button"),r=o("el-input"),u=o("el-card");return v(),x(u,{class:"box-card"},{header:s(()=>[_("div",V,[b,d(p,{onClick:t[0]||(t[0]=l=>c()),class:"button",text:""},{default:s(()=>[I("Test")]),_:1})])]),default:s(()=>[d(r,{modelValue:a.value,"onUpdate:modelValue":t[1]||(t[1]=l=>a.value=l),placeholder:"视频文件绝对路径"},null,8,["modelValue"])]),_:1})}}},C=f(k,[["__scopeId","data-v-215ae4a3"]]);export{C as default};
|
1
view/dist/assets/index-4a6c5d2a.js
vendored
Normal file
1
view/dist/assets/index-4a6c5d2a.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
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-b619957d.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};
|
1
view/dist/assets/index-6ef103ac.css
vendored
Normal file
1
view/dist/assets/index-6ef103ac.css
vendored
Normal file
File diff suppressed because one or more lines are too long
54
view/dist/assets/index-b619957d.js
vendored
Normal file
54
view/dist/assets/index-b619957d.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
view/dist/assets/main-8818121c.js
vendored
Normal file
1
view/dist/assets/main-8818121c.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as p,r as n,o as u,c as r,a as e,w as t,b as c,u as f,e as h,F as v,f as l}from"./index-b619957d.js";const x=l("div",{class:"card-header"},[l("span",null,"控制台")],-1),b=l("div",{style:{display:"inline-flex","align-items":"center"}}," 成功 ",-1),g=l("div",{style:{"padding-top":"20px"}},null,-1),w=l("h4",null,"Update Github template",-1),y=l("p",null,"Tom committed 2018/4/12 20:46",-1),B=l("h4",null,"Update Github template",-1),C=l("p",null,"Tom committed 2018/4/3 20:46",-1),k=p({__name:"main",setup(E){return(N,T)=>{const a=n("el-statistic"),o=n("el-col"),i=n("el-icon"),d=n("el-row"),s=n("el-card"),_=n("el-timeline-item"),m=n("el-timeline");return u(),r(v,null,[e(s,{class:"box-card"},{header:t(()=>[x]),default:t(()=>[e(d,null,{default:t(()=>[e(o,{span:6},{default:t(()=>[e(a,{title:"订阅",value:268500})]),_:1}),e(o,{span:6},{default:t(()=>[e(a,{value:138},{title:t(()=>[b]),suffix:t(()=>[c("/100")]),_:1})]),_:1}),e(o,{span:6},{default:t(()=>[e(a,{title:"失败",value:172e3})]),_:1}),e(o,{span:6},{default:t(()=>[e(a,{title:"重试",value:562},{suffix:t(()=>[e(i,{style:{"vertical-align":"-0.125em"}},{default:t(()=>[e(f(h))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),g,e(s,{class:"box-card"},{default:t(()=>[e(m,null,{default:t(()=>[e(_,{center:"",timestamp:"2018/4/12",placement:"top"},{default:t(()=>[e(s,null,{default:t(()=>[w,y]),_:1})]),_:1}),e(_,{timestamp:"2018/4/3",placement:"top"},{default:t(()=>[e(s,null,{default:t(()=>[B,C]),_:1})]),_:1}),e(_,{center:"",timestamp:"2018/4/2",placement:"top"},{default:t(()=>[c(" Event start ")]),_:1}),e(_,{timestamp:"2018/4/2",placement:"top"},{default:t(()=>[c(" Event end ")]),_:1})]),_:1})]),_:1})],64)}}});export{k as default};
|
1
view/dist/assets/settings-9471ed83.js
vendored
Normal file
1
view/dist/assets/settings-9471ed83.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as s,r as e,o as n,h as r,w as c,a,f as _}from"./index-b619957d.js";const d={},i=_("h1",{style:{padding:"20px"}},"设置页面",-1);function l(p,f){const t=e("el-divider"),o=e("el-row");return n(),r(o,{gutter:20},{default:c(()=>[i,a(t)]),_:1})}const h=s(d,[["render",l]]);export{h as default};
|
1
view/dist/assets/subscribe-b09d73f4.js
vendored
Normal file
1
view/dist/assets/subscribe-b09d73f4.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{g as l,d as f}from"./Video-8e45cd37.js";import{d as v,g as x,l as y,r,o,c,F as h,i as k,a as d,w as _,f as s,t as i,b as w,k as B,E as u}from"./index-b619957d.js";import"./axios-4a70c6fc.js";const C={class:"list"},E={class:"item"},M=["src"],N={style:{padding:"14px"}},S={class:"bottom"},T={class:"time"},$=v({__name:"subscribe",setup(V){const a=x([]);y(async()=>{const e=await l();a.value=e.data});function m(e){B.confirm("确认删除?","Warning",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{p(e)}).catch(()=>{})}async function p(e){(await f(e)).data=="删除成功"?u({message:"删除成功",type:"success"}):u({message:"删除失败",type:"error"});const n=await l();a.value=n.data}return(e,g)=>{const n=r("el-button"),b=r("el-card");return o(),c("div",C,[(o(!0),c(h,null,k(a.value,t=>(o(),c("div",E,[d(b,{"body-style":{padding:"0px"}},{default:_(()=>[s("img",{src:t.img,class:"image"},null,8,M),s("div",N,[s("span",null,i(t.name),1),s("div",S,[s("time",T,"正在订阅:"+i(t.skip)+"/"+i(t.count),1),d(n,{text:"",class:"button",onClick:F=>m(t.id)},{default:_(()=>[w("删除")]),_:2},1032,["onClick"])])])]),_:2},1024)]))),256))])}}});export{$ as default};
|
1
view/dist/assets/subscribe-b20a9491.css
vendored
Normal file
1
view/dist/assets/subscribe-b20a9491.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.list{display:flex;flex-wrap:wrap}.list .item{width:200px;margin:20px}.list .item img{height:300px}.time{font-size:12px;color:#999}.bottom{margin-top:13px;line-height:12px;display:flex;justify-content:space-between;align-items:center}.button{padding:0;min-height:auto;min-width:40px}.image{width:100%;display:block}
|
16
view/dist/index.html
vendored
Normal file
16
view/dist/index.html
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Vite + Vue</title>
|
||||||
|
<meta name="referrer" content="never">
|
||||||
|
<script type="module" crossorigin src="./assets/index-b619957d.js"></script>
|
||||||
|
<link rel="stylesheet" href="./assets/index-6ef103ac.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
1
view/dist/vite.svg
vendored
Normal file
1
view/dist/vite.svg
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue
Block a user