fix count 报错
This commit is contained in:
parent
01308db3cf
commit
2573e824c3
1
view/dist/assets/addSubscribe-04680239.css
vendored
1
view/dist/assets/addSubscribe-04680239.css
vendored
@ -1 +0,0 @@
|
||||
.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
1
view/dist/assets/addSubscribe-0de7d687.js
vendored
File diff suppressed because one or more lines are too long
1
view/dist/assets/addSubscribe-80e86ca4.js
vendored
Normal file
1
view/dist/assets/addSubscribe-80e86ca4.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
view/dist/assets/addSubscribe-b3ee662e.css
vendored
Normal file
1
view/dist/assets/addSubscribe-b3ee662e.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.list[data-v-3b288cf6]{display:flex;flex-wrap:wrap}.list .item[data-v-3b288cf6]{width:200px;margin:20px}.list .item img[data-v-3b288cf6]{height:300px}.time[data-v-3b288cf6]{font-size:12px;color:#999}.bottom[data-v-3b288cf6]{margin-top:13px;line-height:12px;display:flex;justify-content:space-between;align-items:center}.button[data-v-3b288cf6]{padding:0;min-height:auto;min-width:40px}.image[data-v-3b288cf6]{width:100%;display:block}
|
@ -1 +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};
|
||||
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-adc67fa5.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 +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};
|
||||
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-adc67fa5.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-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
File diff suppressed because one or more lines are too long
@ -1 +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};
|
||||
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};
|
@ -1 +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};
|
||||
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-adc67fa5.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 +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};
|
||||
import{_ as s,r as e,o as n,h as r,w as c,a,f as _}from"./index-adc67fa5.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 +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};
|
||||
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-adc67fa5.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};
|
4
view/dist/index.html
vendored
4
view/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
<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-ccfbebb1.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index-e0450ab1.css">
|
||||
<script type="module" crossorigin src="./assets/index-adc67fa5.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index-6ef103ac.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -43,6 +43,9 @@
|
||||
<el-input style="width: 30%;left:30px" v-model="ep">
|
||||
<template #prepend>订阅位置(集)</template>
|
||||
</el-input>
|
||||
<el-input style="width: 30%;left:30px" v-model="count">
|
||||
<template #prepend>总集数</template>
|
||||
</el-input>
|
||||
</div>
|
||||
<div style="display: flex;align-items: center;padding: 5px">
|
||||
<el-select v-model="type" value-key="browsecat">
|
||||
|
Loading…
Reference in New Issue
Block a user