mirror of
https://github.com/rachelos/we-mp-rss.git
synced 2026-09-21 13:50:34 +08:00
1.4.2 1.4.2
This commit is contained in:
+2
-2
@@ -27,6 +27,6 @@ def CallBackNotice():
|
||||
rss_domain=cfg.get("rss.base_url","")
|
||||
url=rss_domain+str(url)
|
||||
text=f""
|
||||
text+=f"<img src='{url}' width=100 height=100 />"
|
||||
text+=f"<img src='{url}' width=40 height=40 />"
|
||||
text+=f"\n\n## 请使用微信扫描二维码进行授权"
|
||||
sys_notice(text, "WeRss授权过期通知")
|
||||
sys_notice(text, "WeRss授权过期")
|
||||
@@ -0,0 +1 @@
|
||||
import{h as w,_ as D,d as E,r as I,o as N,c as p,w as u,a as s,b as m,e as t,f as o,t as l,g as S}from"./index.46de72f2.js";const M=async()=>await w.get("/wx/sys/info");const P=E({__name:"SysInfo",setup(F){const n=I({os:{name:"",version:"",release:""},python_version:"",uptime:0,system:{node:"",machine:"",processor:""},api_version:"/api/v1/wx",core_version:"",latest_version:"",need_update:!0,wx:{token:"",expiry_time:""},queue:{is_running:!1,pending_tasks:0}}),f=d=>{const e=Math.floor(d/86400),r=Math.floor(d%86400/3600),a=Math.floor(d%3600/60);return`${e}\u5929 ${r}\u5C0F\u65F6 ${a}\u5206\u949F`},C=()=>{window.open("https://github.com/rachelos/we-mp-rss","_blank")};return N(async()=>{n.value=await M()}),(d,e)=>{const r=s("desktop-outlined"),a=s("a-descriptions-item"),_=s("code-outlined"),v=s("clock-circle-outlined"),b=s("deployment-unit-outlined"),i=s("api-outlined"),y=s("appstore-outlined"),c=s("cloud-download-outlined"),B=s("a-button"),x=s("a-descriptions"),g=s("a-card"),k=s("a-page-header");return m(),p(k,{title:"\u7CFB\u7EDF\u4FE1\u606F","sub-title":`\u7248\u672C: ${n.value.version}`},{default:u(()=>[t(g,{bordered:!1,class:"sys-info-card"},{default:u(()=>[t(x,{bordered:"",column:{xs:1,sm:1,md:1,lg:2}},{default:u(()=>[t(a,{label:"\u64CD\u4F5C\u7CFB\u7EDF"},{label:u(()=>[t(r),e[0]||(e[0]=o(" \u64CD\u4F5C\u7CFB\u7EDF "))]),default:u(()=>[o(" "+l(n.value.os.name),1)]),_:1}),t(a,{label:"\u7CFB\u7EDF\u7248\u672C"},{label:u(()=>[t(_),e[1]||(e[1]=o(" \u7CFB\u7EDF\u7248\u672C "))]),default:u(()=>[o(" "+l(n.value.os.version)+" ("+l(n.value.os.release)+") ",1)]),_:1}),t(a,{label:"Python\u7248\u672C"},{label:u(()=>[t(_),e[2]||(e[2]=o(" Python\u7248\u672C "))]),default:u(()=>[o(" "+l(n.value.python_version),1)]),_:1}),t(a,{label:"\u8FD0\u884C\u65F6\u95F4"},{label:u(()=>[t(v),e[3]||(e[3]=o(" \u8FD0\u884C\u65F6\u95F4 "))]),default:u(()=>[o(" "+l(f(n.value.uptime)),1)]),_:1}),t(a,{label:"\u7CFB\u7EDF\u67B6\u6784"},{label:u(()=>[t(b),e[4]||(e[4]=o(" \u7CFB\u7EDF\u67B6\u6784 "))]),default:u(()=>[o(" "+l(n.value.system.node)+" / "+l(n.value.system.machine)+" ("+l(n.value.system.processor)+") ",1)]),_:1}),t(a,{label:"TOKEN"},{label:u(()=>[t(i),e[5]||(e[5]=o(" TOKEN "))]),default:u(()=>[o(" "+l(n.value.wx.token),1)]),_:1}),t(a,{label:"\u8FC7\u671F\u65F6\u95F4"},{label:u(()=>[t(i),e[6]||(e[6]=o(" \u8FC7\u671F\u65F6\u95F4 "))]),default:u(()=>[o(" "+l(n.value.wx.expiry_time),1)]),_:1}),t(a,{label:"API\u7248\u672C"},{label:u(()=>[t(i),e[7]||(e[7]=o(" API\u7248\u672C "))]),default:u(()=>[o(" "+l(n.value.api_version),1)]),_:1}),t(a,{label:"\u961F\u5217\u72B6\u6001"},{label:u(()=>[t(i),e[8]||(e[8]=o(" \u961F\u5217\u72B6\u6001 "))]),default:u(()=>[o(" "+l(n.value.queue.is_running||!1),1)]),_:1}),t(a,{label:"\u961F\u5217\u6570\u91CF"},{label:u(()=>[t(i),e[9]||(e[9]=o(" \u6302\u8D77\u961F\u5217\u6570\u91CF "))]),default:u(()=>[o(" "+l(n.value.queue.pending_tasks||0),1)]),_:1}),t(a,{label:"\u6838\u5FC3\u7248\u672C"},{label:u(()=>[t(y),e[10]||(e[10]=o(" \u6838\u5FC3\u7248\u672C "))]),default:u(()=>[o(" "+l(n.value.core_version),1)]),_:1}),t(a,{label:"\u6700\u65B0\u7248\u672C"},{label:u(()=>[t(c),e[11]||(e[11]=o(" \u6700\u65B0\u7248\u672C "))]),default:u(()=>[o(" "+l(n.value.latest_version)+" ",1),n.value.need_update?(m(),p(B,{key:0,type:"text",size:"small",style:{"margin-left":"8px"},onClick:C},{default:u(()=>e[12]||(e[12]=[o("\u7ACB\u5373\u66F4\u65B0")])),_:1,__:[12]})):S("",!0)]),_:1})]),_:1})]),_:1})]),_:1},8,["sub-title"])}}});var q=D(P,[["__scopeId","data-v-69f02b08"]]);export{q as default};
|
||||
@@ -0,0 +1 @@
|
||||
.sys-info-container[data-v-69f02b08]{margin-top:16px}.sys-info-card[data-v-69f02b08]{margin-bottom:16px;border-radius:8px;box-shadow:0 2px 12px #0000001f;transition:all .3s ease;background:var(--color-bg-2);height:100%}.sys-info-card[data-v-69f02b08]:hover{box-shadow:0 4px 16px #00000029;transform:translateY(-2px)}.sys-info-card[data-v-69f02b08] .ant-card-head{border-bottom:none}.sys-info-card[data-v-69f02b08] .ant-descriptions-item-label{display:flex;align-items:center;gap:8px;font-weight:500}.sys-info-card[data-v-69f02b08] .ant-descriptions-item-content{color:var(--color-text-1)}.sys-info-card[data-v-69f02b08] .anticon{font-size:16px}.sys-info-card[data-v-69f02b08] .ant-descriptions-row{padding:12px 0}.sys-info-card[data-v-69f02b08] .ant-descriptions-item{padding-bottom:0}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 539 B |
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>微信公众号订阅助手</title>
|
||||
<script type="module" crossorigin src="/assets/index.46de72f2.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.a51d4d5c.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1748335085743" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5212" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M511.1 65.2c-247.4 0-448 200.6-448 448s200.6 448 448 448 448-200.6 448-448-200.6-448-448-448z m-0.3 629.3c-25.5 0-50.4-3.7-73.3-10.4-2.1-0.6-4.7-1.1-6.7-1.1-4.2 0-8.3 1.6-12 3.6L370 715.2c-1.1 1.1-2.6 1.6-4.2 1.6-4.2 0-7.3-3.1-7.3-7.3 0-2.1 0.6-4.2 1.1-5.7 0-1 6.3-23.9 9.9-37.9 0.6-1.6 1.1-3.1 1.1-4.7 0-4.7-2.6-9.3-6.2-12C317.1 615 287 564 287 507.9c0-103.4 100.8-187.1 224.4-187.1 75.9 0 142.8 31.2 183.4 79L468.3 500.7c-2.6 1.1-5.2 1.6-7.8 1.6-4.7 0-8.8-1.6-12.5-3.6l-48.3-34.3c-1.6-1.1-3.1-1.6-4.7-1.6-4.2 0-7.3 3.1-7.3 7.3 0 1.1 0 2.1 0.5 3.1l41 89.4 1.1 2.1c2.6 4.7 7.3 7.8 13 7.8 2.6 0 4.7-0.5 6.7-1.6l1.6-1.1 258.1-149.2c16.1 26 25.5 55.6 25.5 86.8 0 103.4-100.8 187.1-224.4 187.1z" p-id="5213" fill="#d81e06"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
Reference in New Issue
Block a user