Merge pull request #168 from fantasy-ke/main

文件夹输入feature打包文件
This commit is contained in:
叁月柒
2025-03-05 18:07:43 +08:00
committed by GitHub
45 changed files with 69 additions and 1 deletions
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
+1 -1
View File
@@ -1,4 +1,4 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.38dcb97d.js"></script><link href="/css/app.9a1a6b51.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sanyue_imghub doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><style>/* 下拉菜单样式 */
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.035d90fe.js"></script><link href="/css/app.36ace63b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sanyue_imghub doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><style>/* 下拉菜单样式 */
.el-dropdown__popper.el-popper {
border-radius: 12px;
border: none;
BIN
View File
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[172],{2542:function(e,t,a){a.d(t,{A:function(){return h}});var s=a(6768),r=a(4232);const n={key:0,class:"page-footer"},o=["href"];function i(e,t,a,i,l,c){const d=(0,s.g2)("font-awesome-icon");return c.disableFooter?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",n,[(0,s.Lk)("p",null,[(0,s.eW)("© 2024-"+(0,r.v_)(c.thisYear)+" Designed by ",1),t[0]||(t[0]=(0,s.Lk)("a",{class:"footer-name",href:"https://github.com/MarSeventh",target:"_blank"},"SanyueQi",-1)),t[1]||(t[1]=(0,s.eW)(" for You! ")),(0,s.Lk)("a",{href:c.footerLink,target:"_blank"},[(0,s.bF)(d,{icon:"paper-plane",class:"footer-link-icon"})],8,o)])]))}var l=a(782),c={name:"Footer",computed:{...(0,l.L8)(["userConfig"]),footerLink(){return this.userConfig?.footerLink||"https://github.com/MarSeventh/CloudFlare-ImgBed"},thisYear(){return(new Date).getFullYear()},disableFooter(){return this.userConfig?.disableFooter||!1}}},d=a(1241);const u=(0,d.A)(c,[["render",i],["__scopeId","data-v-6eac6ae4"]]);var h=u},3525:function(e,t,a){a.d(t,{A:function(){return k}});var s=a(6768),r=a(4232);const n={id:"themeMask"},o=["cx","cy","r"],i=["r"],l=["opacity"];function c(e,t,a,c,d,u){return(0,s.uX)(),(0,s.CE)("div",{id:"themeToggle",onClick:t[0]||(t[0]=(...e)=>u.handleToggleClick&&u.handleToggleClick(...e))},[((0,s.uX)(),(0,s.CE)("svg",{class:(0,r.C4)(["theme_toggle_svg",{dark:d.isDark}]),width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor"},[(0,s.Lk)("mask",n,[t[1]||(t[1]=(0,s.Lk)("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"white"},null,-1)),(0,s.Lk)("circle",{class:"theme_toggle_circle1",fill:"black",cx:d.isDark?"50%":"100%",cy:d.isDark?"23%":"0%",r:d.isDark?"9":"5"},null,8,o)]),(0,s.Lk)("circle",{class:"theme_toggle_circle2",cx:"12",cy:"12",r:d.isDark?"9":"5",mask:"url(#themeMask)"},null,8,i),(0,s.Lk)("g",{class:"theme_toggle_g",stroke:"currentColor",opacity:d.isDark?0:1},t[2]||(t[2]=[(0,s.Fv)('<line x1="12" y1="1" x2="12" y2="3" data-v-019ed83e></line><line x1="12" y1="21" x2="12" y2="23" data-v-019ed83e></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64" data-v-019ed83e></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78" data-v-019ed83e></line><line x1="1" y1="12" x2="3" y2="12" data-v-019ed83e></line><line x1="21" y1="12" x2="23" y2="12" data-v-019ed83e></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36" data-v-019ed83e></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22" data-v-019ed83e></line>',8)]),8,l)],2))])}var d={name:"ToggleDark",data(){return{isDark:this.$store.getters.useDarkMode}},methods:{handleToggleClick(){this.isDark=!this.isDark,this.$store.commit("setUseDarkMode",this.isDark),this.$store.commit("setCusDarkMode",!0)}}},u=a(1241);const h=(0,u.A)(d,[["render",c],["__scopeId","data-v-019ed83e"]]);var k=h},4172:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=a(2542),r=a(47),n=(a(5331),a(9648),a(2105)),o=(a(9092),a(3525)),i=a(6768),l=a(5130);const c={class:"login"},d={class:"login-container"},u={class:"input-container"},h={class:"input-container"};function k(e,t,a,k,g,m){const p=o.A,v=n.WK,y=r.S2,f=s.A;return(0,i.uX)(),(0,i.CE)("div",c,[(0,i.bF)(p,{class:"toggle-dark"}),(0,i.Lk)("div",d,[t[5]||(t[5]=(0,i.Lk)("h1",{class:"login-title"},"管理端登录",-1)),(0,i.Lk)("div",u,[t[2]||(t[2]=(0,i.Lk)("a",{class:"input-name"},"用户名",-1)),(0,i.bF)(v,{modelValue:g.username,"onUpdate:modelValue":t[0]||(t[0]=e=>g.username=e),placeholder:"请输入用户名",class:"password-input"},null,8,["modelValue"])]),(0,i.Lk)("div",h,[t[3]||(t[3]=(0,i.Lk)("a",{class:"input-name"},"密码",-1)),(0,i.bF)(v,{modelValue:g.password,"onUpdate:modelValue":t[1]||(t[1]=e=>g.password=e),placeholder:"请输入密码",class:"password-input",type:"password","show-password":"",onKeyup:(0,l.jR)(m.login,["enter","native"])},null,8,["modelValue","onKeyup"])]),(0,i.bF)(y,{class:"submit",type:"primary",onClick:m.login},{default:(0,i.k6)((()=>t[4]||(t[4]=[(0,i.eW)("登录")]))),_:1},8,["onClick"])]),(0,i.bF)(f,{class:"footer"})])}a(4114),a(4979);var g={data(){return{password:"",username:""}},components:{Footer:s.A,ToggleDark:o.A},methods:{async login(){const e=btoa(`${this.username}:${this.password}`);try{const t=await fetch("/api/manage/check",{method:"GET",headers:{Authorization:`Basic ${e}`},credentials:"include"});401===t.status?this.$message.error("用户名或密码错误"):200===t.status?(this.$store.commit("setCredentials",e),this.$router.push("/dashboard")):this.$message.error("用户名或密码错误")}catch(t){this.$message.error("服务器错误")}}}},m=a(1241);const p=(0,m.A)(g,[["render",k],["__scopeId","data-v-d60f6b8c"]]);var v=p}}]);
//# sourceMappingURL=172.21c5782f.js.map
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.