mirror of
https://github.com/MarSeventh/CloudFlare-ImgBed.git
synced 2026-01-31 09:03:19 +08:00
Feat:支持全局搜索;支持自定义后台登录页背景图;多项体验优化
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<p><em>🗂️Open-source file hosting solution based on Cloudflare Pages, supporting multiple storage channels such as Telegram Bot, Cloudflare R2, S3, etc.</em></p>
|
||||
<p>
|
||||
<a href="https://github.com/MarSeventh/CloudFlare-ImgBed/blob/main/README.md">简体中文</a> | <a href="https://github.com/MarSeventh/CloudFlare-ImgBed/blob/main/README_en.md">English</a> | <a
|
||||
href="https://cfbed.sanyue.de">Official Website</a>
|
||||
href="https://cfbed.sanyue.de/en">Official Website</a>
|
||||
</p>
|
||||
<div>
|
||||
<a href="https://github.com/MarSeventh/CloudFlare-ImgBed/blob/main/LICENSE">
|
||||
@@ -70,11 +70,11 @@
|
||||
|
||||
# 1. Introduction
|
||||
|
||||
Free file hosting solution with full lifecycle features including **upload**, **management**, **read**, and **delete**, supporting **authentication**, **directories**, **image moderation**, **random images**, and other features (see [Feature Docs](https://cfbed.sanyue.de/guide/features.html) for details).
|
||||
Free file hosting solution with full lifecycle features including **upload**, **management**, **read**, and **delete**, supporting **authentication**, **directories**, **image moderation**, **random images**, and other features (see [Feature Docs](https://cfbed.sanyue.de/en/guide/features.html) for details).
|
||||
|
||||

|
||||
|
||||
# 2. [Document](https://cfbed.sanyue.de)
|
||||
# 2. [Document](https://cfbed.sanyue.de/en)
|
||||
|
||||
Provides detailed deployment documentation, feature docs, development plans, update logs, FAQ, and more to help you get started quickly.
|
||||
|
||||
@@ -103,7 +103,7 @@ Provides detailed deployment documentation, feature docs, development plans, upd
|
||||
|
||||
- Frontend is open source, see [MarSeventh/Sanyue-ImgHub](https://github.com/MarSeventh/Sanyue-ImgHub).
|
||||
|
||||
- **Ecosystem**: We welcome community participation in the ecosystem construction. Feel free to submit PRs or Issues, and high-quality content can be found on the [official ecosystem page](https://cfbed.sanyue.de/about/ecosystem.html).
|
||||
- **Ecosystem**: We welcome community participation in the ecosystem construction. Feel free to submit PRs or Issues, and high-quality content can be found on the [official ecosystem page](https://cfbed.sanyue.de/en/about/ecosystem.html).
|
||||
|
||||
- **Sponsor**: Maintaining the project is not easy. If you like it, please support the author. Your support is the motivation to keep going~
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
.page-footer[data-v-6eac6ae4]{display:flex;justify-content:center;align-items:center;width:100vw;color:var(--page-footer-text-color);font-size:large;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width:768px){.page-footer[data-v-6eac6ae4]{font-size:small}}.footer-name[data-v-6eac6ae4]{color:var(--page-footer-name-color);font-weight:700;text-decoration:none}.footer-link-icon[data-v-6eac6ae4]{color:var(--page-footer-name-color);margin-left:5px}#themeToggle[data-v-019ed83e]{border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem}@media (max-width:768px){#themeToggle[data-v-019ed83e]{width:2rem;height:2rem}}.theme_toggle_circle1[data-v-019ed83e]{transition:cx .5s ease-in-out,cy .5s ease-in-out,r .5s ease-in-out}.theme_toggle_circle2[data-v-019ed83e]{transition:all .5s ease-in-out;fill:var(--theme-toggle-bg-color)}.theme_toggle_svg[data-v-019ed83e]{transition:transform .5s cubic-bezier(.68,-.55,.27,1.55);transform:rotate(90deg);color:var(--theme-toggle-color)}.dark.theme_toggle_svg[data-v-019ed83e]{transform:rotate(40deg)}.theme_toggle_g[data-v-019ed83e]{transition:opacity .5s ease-in-out}.login[data-v-2d9c1fb8]{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100vh;background:var(--bg-color)}.login-container[data-v-2d9c1fb8]{display:flex;flex-direction:column;justify-content:space-around;align-items:center;height:40vh;width:40vw;border-radius:12px;box-shadow:var(--login-container-box-shadow);background-color:var(--login-container-bg-color);backdrop-filter:blur(8px);transition:all .3s ease}@media (max-width:768px){.login-container[data-v-2d9c1fb8]{width:80vw}}.login-container[data-v-2d9c1fb8]:hover{box-shadow:var(--login-container-hover-box-shadow);transform:translateY(-5px)}.login-title[data-v-2d9c1fb8]{font-size:2.1rem;margin-bottom:15px;color:var(--login-title-color);font-family:Noto Sans SC,sans-serif}@media (max-width:768px){.login-title[data-v-2d9c1fb8]{font-size:1.5rem}}.input-container[data-v-2d9c1fb8]{display:flex;align-items:center;justify-content:start;width:35vw}@media (max-width:768px){.input-container[data-v-2d9c1fb8]{width:75vw}}.input-name[data-v-2d9c1fb8]{width:14%;color:var(--login-title-color);text-align:right;margin-right:10px}@media (max-width:768px){.input-name[data-v-2d9c1fb8]{width:20%}}.password-input[data-v-2d9c1fb8]{width:78%;height:140%}.password-input[data-v-2d9c1fb8] .el-input__wrapper{border-radius:12px;background-color:var(--password-input-bg-color);border:var(--password-input-border);box-shadow:none}@media (max-width:768px){.password-input[data-v-2d9c1fb8]{width:75%}}.submit[data-v-2d9c1fb8]{margin-top:10px;width:40%;height:15%;border-radius:12px;background-color:var(--login-submit-btn-bg-color);transition:all .3s ease;border:none}.background-image1[data-v-2d9c1fb8],.background-image2[data-v-2d9c1fb8]{position:fixed;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1;opacity:0;transition:all 1s ease-in-out}.footer[data-v-2d9c1fb8]{position:fixed;bottom:0;width:100vw}.toggle-dark[data-v-2d9c1fb8]{position:fixed;top:30px;right:30px;border:none;transition:all .3s ease;background-color:var(--toolbar-button-bg-color);box-shadow:var(--toolbar-button-shadow);backdrop-filter:blur(10px);border-radius:12px}
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
.page-footer[data-v-6eac6ae4]{display:flex;justify-content:center;align-items:center;width:100vw;color:var(--page-footer-text-color);font-size:large;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width:768px){.page-footer[data-v-6eac6ae4]{font-size:small}}.footer-name[data-v-6eac6ae4]{color:var(--page-footer-name-color);font-weight:700;text-decoration:none}.footer-link-icon[data-v-6eac6ae4]{color:var(--page-footer-name-color);margin-left:5px}#themeToggle[data-v-019ed83e]{border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem}@media (max-width:768px){#themeToggle[data-v-019ed83e]{width:2rem;height:2rem}}.theme_toggle_circle1[data-v-019ed83e]{transition:cx .5s ease-in-out,cy .5s ease-in-out,r .5s ease-in-out}.theme_toggle_circle2[data-v-019ed83e]{transition:all .5s ease-in-out;fill:var(--theme-toggle-bg-color)}.theme_toggle_svg[data-v-019ed83e]{transition:transform .5s cubic-bezier(.68,-.55,.27,1.55);transform:rotate(90deg);color:var(--theme-toggle-color)}.dark.theme_toggle_svg[data-v-019ed83e]{transform:rotate(40deg)}.theme_toggle_g[data-v-019ed83e]{transition:opacity .5s ease-in-out}.login[data-v-d60f6b8c]{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100vh;background:var(--admin-container-bg-color)}.login-title[data-v-d60f6b8c]{font-size:2.5rem;margin-bottom:15px;color:var(--login-title-color);font-family:Noto Sans SC,sans-serif}@media (max-width:768px){.login-title[data-v-d60f6b8c]{font-size:1.5rem}}.login-container[data-v-d60f6b8c]{display:flex;flex-direction:column;justify-content:space-around;align-items:center;height:40vh;width:40vw;border-radius:12px;box-shadow:var(--login-container-box-shadow);background-color:var(--login-container-bg-color);backdrop-filter:blur(8px);transition:all .3s ease}@media (max-width:768px){.login-container[data-v-d60f6b8c]{width:80vw}}.login-container[data-v-d60f6b8c]:hover{box-shadow:var(--login-container-hover-box-shadow);transform:translateY(-5px)}.input-container[data-v-d60f6b8c]{display:flex;align-items:center;width:35vw}@media (max-width:768px){.input-container[data-v-d60f6b8c]{width:75vw}}.input-name[data-v-d60f6b8c]{width:15%;color:var(--login-title-color);text-align:right;margin-right:10px}@media (max-width:768px){.input-name[data-v-d60f6b8c]{width:20%}}.submit[data-v-d60f6b8c]{margin-top:10px;width:40%;height:15%;border-radius:12px;background-color:var(--login-submit-btn-bg-color);transition:all .3s ease;border:none}.password-input[data-v-d60f6b8c]{width:80%;height:140%}.password-input[data-v-d60f6b8c] .el-input__wrapper{border-radius:12px;background-color:var(--password-input-bg-color);border:var(--password-input-border);box-shadow:none}@media (max-width:768px){.password-input[data-v-d60f6b8c]{width:75%}}.footer[data-v-d60f6b8c]{position:fixed;bottom:0;width:100vw}.toggle-dark[data-v-d60f6b8c]{position:fixed;top:30px;right:30px;border:none;transition:all .3s ease;background-color:var(--toolbar-button-bg-color);box-shadow:var(--toolbar-button-shadow);backdrop-filter:blur(10px);border-radius:12px}
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
css/279.4777a8d8.css.gz
Normal file
BIN
css/279.4777a8d8.css.gz
Normal file
Binary file not shown.
1
css/356.e322e1db.css
Normal file
1
css/356.e322e1db.css
Normal file
@@ -0,0 +1 @@
|
||||
.page-footer[data-v-08acbaa9]{display:flex;justify-content:center;align-items:center;width:100vw;color:var(--page-footer-text-color);font-size:large;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width:768px){.page-footer[data-v-08acbaa9]{font-size:small}}.footer-name[data-v-08acbaa9]{color:var(--page-footer-name-color);font-weight:700;text-decoration:none;position:relative;transition:all .3s ease}.footer-name[data-v-08acbaa9]:after{content:"";position:absolute;width:0;height:2px;bottom:-2px;left:0;background-color:var(--page-footer-name-color);transition:width .3s ease-in-out}.footer-name[data-v-08acbaa9]:hover:after{width:100%}.footer-link-icon[data-v-08acbaa9]{color:var(--page-footer-name-color);margin-left:5px;transition:transform .3s ease-in-out}.footer-link-icon[data-v-08acbaa9]:hover{transform:scale(1.2) rotate(-12deg)}#themeToggle[data-v-019ed83e]{border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem}@media (max-width:768px){#themeToggle[data-v-019ed83e]{width:2rem;height:2rem}}.theme_toggle_circle1[data-v-019ed83e]{transition:cx .5s ease-in-out,cy .5s ease-in-out,r .5s ease-in-out}.theme_toggle_circle2[data-v-019ed83e]{transition:all .5s ease-in-out;fill:var(--theme-toggle-bg-color)}.theme_toggle_svg[data-v-019ed83e]{transition:transform .5s cubic-bezier(.68,-.55,.27,1.55);transform:rotate(90deg);color:var(--theme-toggle-color)}.dark.theme_toggle_svg[data-v-019ed83e]{transform:rotate(40deg)}.theme_toggle_g[data-v-019ed83e]{transition:opacity .5s ease-in-out}.login[data-v-243b066e]{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100vh;background:var(--admin-container-bg-color)}.login-title[data-v-243b066e]{font-size:2.5rem;margin-bottom:15px;color:var(--login-title-color);font-family:Noto Sans SC,sans-serif;cursor:pointer}@media (max-width:768px){.login-title[data-v-243b066e]{font-size:1.5rem}}.login-container[data-v-243b066e]{display:flex;flex-direction:column;justify-content:space-around;align-items:center;height:40vh;width:40vw;border-radius:12px;box-shadow:var(--login-container-box-shadow);background-color:var(--login-container-bg-color);backdrop-filter:blur(8px);transition:all .3s ease}@media (max-width:768px){.login-container[data-v-243b066e]{width:80vw}}.login-container[data-v-243b066e]:hover{box-shadow:var(--login-container-hover-box-shadow);transform:translateY(-5px)}.input-container[data-v-243b066e]{display:flex;align-items:center;width:35vw}@media (max-width:768px){.input-container[data-v-243b066e]{width:75vw}}.input-name[data-v-243b066e]{width:15%;color:var(--login-title-color);text-align:right;margin-right:10px}@media (max-width:768px){.input-name[data-v-243b066e]{width:20%}}.submit[data-v-243b066e]{margin-top:10px;width:40%;height:15%;border-radius:12px;background-color:var(--login-submit-btn-bg-color);transition:all .3s ease;border:none}.password-input[data-v-243b066e]{width:80%;height:140%}.password-input[data-v-243b066e] .el-input__wrapper{border-radius:12px;background-color:var(--password-input-bg-color);border:var(--password-input-border);box-shadow:none}@media (max-width:768px){.password-input[data-v-243b066e]{width:75%}}.footer[data-v-243b066e]{position:fixed;bottom:0;width:100vw}.toggle-dark[data-v-243b066e]{position:fixed;top:30px;right:30px;border:none;transition:all .3s ease;background-color:var(--toolbar-button-bg-color);box-shadow:var(--toolbar-button-shadow);backdrop-filter:blur(10px);border-radius:12px}.toggle-dark[data-v-243b066e]:hover{transform:scale(1.05);box-shadow:var(--toolbar-button-shadow-hover)}.logo[data-v-243b066e]{height:70px;width:70px;position:fixed;top:5px;left:5px;z-index:100;transition:all .3s ease}.logo[data-v-243b066e]:hover{transform:scale(1.1) rotate(5deg)}.background-image1[data-v-243b066e],.background-image2[data-v-243b066e]{position:fixed;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1;opacity:0;transition:all 1s ease-in-out}
|
||||
BIN
css/356.e322e1db.css.gz
Normal file
BIN
css/356.e322e1db.css.gz
Normal file
Binary file not shown.
Binary file not shown.
1
css/528.3a9d9354.css
Normal file
1
css/528.3a9d9354.css
Normal file
@@ -0,0 +1 @@
|
||||
.page-footer[data-v-08acbaa9]{display:flex;justify-content:center;align-items:center;width:100vw;color:var(--page-footer-text-color);font-size:large;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width:768px){.page-footer[data-v-08acbaa9]{font-size:small}}.footer-name[data-v-08acbaa9]{color:var(--page-footer-name-color);font-weight:700;text-decoration:none;position:relative;transition:all .3s ease}.footer-name[data-v-08acbaa9]:after{content:"";position:absolute;width:0;height:2px;bottom:-2px;left:0;background-color:var(--page-footer-name-color);transition:width .3s ease-in-out}.footer-name[data-v-08acbaa9]:hover:after{width:100%}.footer-link-icon[data-v-08acbaa9]{color:var(--page-footer-name-color);margin-left:5px;transition:transform .3s ease-in-out}.footer-link-icon[data-v-08acbaa9]:hover{transform:scale(1.2) rotate(-12deg)}#themeToggle[data-v-019ed83e]{border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem}@media (max-width:768px){#themeToggle[data-v-019ed83e]{width:2rem;height:2rem}}.theme_toggle_circle1[data-v-019ed83e]{transition:cx .5s ease-in-out,cy .5s ease-in-out,r .5s ease-in-out}.theme_toggle_circle2[data-v-019ed83e]{transition:all .5s ease-in-out;fill:var(--theme-toggle-bg-color)}.theme_toggle_svg[data-v-019ed83e]{transition:transform .5s cubic-bezier(.68,-.55,.27,1.55);transform:rotate(90deg);color:var(--theme-toggle-color)}.dark.theme_toggle_svg[data-v-019ed83e]{transform:rotate(40deg)}.theme_toggle_g[data-v-019ed83e]{transition:opacity .5s ease-in-out}.login[data-v-7c18e13f]{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100vh;background:var(--bg-color)}.login-container[data-v-7c18e13f]{display:flex;flex-direction:column;justify-content:space-around;align-items:center;height:40vh;width:40vw;border-radius:12px;box-shadow:var(--login-container-box-shadow);background-color:var(--login-container-bg-color);backdrop-filter:blur(8px);transition:all .3s ease}@media (max-width:768px){.login-container[data-v-7c18e13f]{width:80vw}}.login-container[data-v-7c18e13f]:hover{box-shadow:var(--login-container-hover-box-shadow);transform:translateY(-5px)}.login-title[data-v-7c18e13f]{font-size:2.1rem;margin-bottom:15px;color:var(--login-title-color);font-family:Noto Sans SC,sans-serif;cursor:pointer}@media (max-width:768px){.login-title[data-v-7c18e13f]{font-size:1.5rem}}.input-container[data-v-7c18e13f]{display:flex;align-items:center;justify-content:start;width:35vw}@media (max-width:768px){.input-container[data-v-7c18e13f]{width:75vw}}.input-name[data-v-7c18e13f]{width:14%;color:var(--login-title-color);text-align:right;margin-right:10px}@media (max-width:768px){.input-name[data-v-7c18e13f]{width:20%}}.password-input[data-v-7c18e13f]{width:78%;height:140%}.password-input[data-v-7c18e13f] .el-input__wrapper{border-radius:12px;background-color:var(--password-input-bg-color);border:var(--password-input-border);box-shadow:none}@media (max-width:768px){.password-input[data-v-7c18e13f]{width:75%}}.submit[data-v-7c18e13f]{margin-top:10px;width:40%;height:15%;border-radius:12px;background-color:var(--login-submit-btn-bg-color);transition:all .3s ease;border:none}.footer[data-v-7c18e13f]{position:fixed;bottom:0;width:100vw}.toggle-dark[data-v-7c18e13f]{position:fixed;top:30px;right:30px;border:none;transition:all .3s ease;background-color:var(--toolbar-button-bg-color);box-shadow:var(--toolbar-button-shadow);backdrop-filter:blur(10px);border-radius:12px}.toggle-dark[data-v-7c18e13f]:hover{transform:scale(1.05);box-shadow:var(--toolbar-button-shadow-hover)}.logo[data-v-7c18e13f]{height:70px;width:70px;position:fixed;top:5px;left:5px;z-index:100;transition:all .3s ease}.logo[data-v-7c18e13f]:hover{transform:scale(1.1) rotate(5deg)}.background-image1[data-v-7c18e13f],.background-image2[data-v-7c18e13f]{position:fixed;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1;opacity:0;transition:all 1s ease-in-out}
|
||||
BIN
css/528.3a9d9354.css.gz
Normal file
BIN
css/528.3a9d9354.css.gz
Normal file
Binary file not shown.
1
css/635.0197f607.css
Normal file
1
css/635.0197f607.css
Normal file
File diff suppressed because one or more lines are too long
BIN
css/635.0197f607.css.gz
Normal file
BIN
css/635.0197f607.css.gz
Normal file
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
BIN
css/963.f440a719.css.gz
Normal file
BIN
css/963.f440a719.css.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
css/app.0d5704bb.css.gz
Normal file
BIN
css/app.0d5704bb.css.gz
Normal file
Binary file not shown.
Binary file not shown.
@@ -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"><link rel="apple-touch-icon" href="/logo.png"><link rel="mask-icon" href="/logo.png" color="#f4b400"><meta name="description" content="Sanyue ImgHub - A modern file hosting platform"><meta name="keywords" content="Sanyue, ImgHub, file hosting, image hosting, cloud storage"><meta name="author" content="SanyueQi"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.c5d19a67.js"></script><link href="/css/app.b0a6c83b.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"><link rel="apple-touch-icon" href="/logo.png"><link rel="mask-icon" href="/logo.png" color="#f4b400"><meta name="description" content="Sanyue ImgHub - A modern file hosting platform"><meta name="keywords" content="Sanyue, ImgHub, file hosting, image hosting, cloud storage"><meta name="author" content="SanyueQi"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.86844e8f.js"></script><link href="/css/app.0d5704bb.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
index.html.gz
BIN
index.html.gz
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.
@@ -1,2 +0,0 @@
|
||||
"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.2e22a600.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
BIN
js/279.34c72273.js.gz
Normal file
BIN
js/279.34c72273.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/279.34c72273.js.map.gz
Normal file
BIN
js/279.34c72273.js.map.gz
Normal file
Binary file not shown.
2
js/356.b0884ba2.js
Normal file
2
js/356.b0884ba2.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/356.b0884ba2.js.gz
Normal file
BIN
js/356.b0884ba2.js.gz
Normal file
Binary file not shown.
1
js/356.b0884ba2.js.map
Normal file
1
js/356.b0884ba2.js.map
Normal file
File diff suppressed because one or more lines are too long
BIN
js/356.b0884ba2.js.map.gz
Normal file
BIN
js/356.b0884ba2.js.map.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
js/528.aaa66607.js
Normal file
2
js/528.aaa66607.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/528.aaa66607.js.gz
Normal file
BIN
js/528.aaa66607.js.gz
Normal file
Binary file not shown.
1
js/528.aaa66607.js.map
Normal file
1
js/528.aaa66607.js.map
Normal file
File diff suppressed because one or more lines are too long
BIN
js/528.aaa66607.js.map.gz
Normal file
BIN
js/528.aaa66607.js.map.gz
Normal file
Binary file not shown.
2
js/635.5922f2cc.js
Normal file
2
js/635.5922f2cc.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/635.5922f2cc.js.gz
Normal file
BIN
js/635.5922f2cc.js.gz
Normal file
Binary file not shown.
1
js/635.5922f2cc.js.map
Normal file
1
js/635.5922f2cc.js.map
Normal file
File diff suppressed because one or more lines are too long
BIN
js/635.5922f2cc.js.map.gz
Normal file
BIN
js/635.5922f2cc.js.map.gz
Normal file
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.
@@ -1,2 +1,2 @@
|
||||
"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[673],{8673:function(e,t,n){n.r(t),n.d(t,{default:function(){return s}});var a=n(6768);const i={class:"blocked-image-page"};function l(e,t,n,l,o,d){return(0,a.uX)(),(0,a.CE)("div",i,t[0]||(t[0]=[(0,a.Lk)("div",null,[(0,a.Lk)("div",null,[(0,a.eW)(" 抱歉,当前已开启白名单模式,上传的图片需要审核通过后才能展示,请等待审核通过后再进行访问。 "),(0,a.Lk)("br"),(0,a.eW)(" Sorry, the whitelist mode is currently enabled, the uploaded images need to be audited before they can be displayed, please wait for the audit to be passed before visiting. ")]),(0,a.Lk)("br"),(0,a.Lk)("div",null,[(0,a.eW)("Powered By: "),(0,a.Lk)("span",null,[(0,a.Lk)("a",{href:"https://github.com/MarSeventh/CloudFlare-ImgBed",style:{color:"cornflowerblue"}}," CloudFlare-ImgBed ")])])],-1)]))}var o=n(3129),d={name:"BlockedImage",setup(){(0,o.u)({title:"White List On",meta:[{name:"robots",content:"noindex, nofollow"},{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"UTF-8"}]})}},r=n(1241);const u=(0,r.A)(d,[["render",l],["__scopeId","data-v-0023e522"]]);var s=u}}]);
|
||||
//# sourceMappingURL=673.dbfcf7e2.js.map
|
||||
//# sourceMappingURL=673.9e1575ea.js.map
|
||||
BIN
js/673.9e1575ea.js.gz
Normal file
BIN
js/673.9e1575ea.js.gz
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
{"version":3,"file":"js/673.dbfcf7e2.js","mappings":"oLACA,MAAMA,EAAa,CACjBC,MAAO,sBAEF,SAASC,EAAOC,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GAC1D,OAAO,WAAc,QAAoB,MAAOR,EAAYI,EAAO,KAAOA,EAAO,GAAK,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAiB,oDAAoD,QAAoB,OAAO,QAAiB,qLAAqL,QAAoB,OAAO,QAAoB,MAAO,KAAM,EAAC,QAAiB,iBAAiB,QAAoB,OAAQ,KAAM,EAAC,QAAoB,IAAK,CAC1lBK,KAAM,kDACNC,MAAO,CACL,MAAS,mBAEV,6BAA8B,KACnC,C,cCVA,GACEC,KAAM,eACN,KAAAC,IACE,IAAAC,GAAQ,CACNC,MAAO,gBACPC,KAAM,CAAC,CACLJ,KAAM,SACNK,QAAS,qBACR,CACDL,KAAM,WACNK,QAAS,uCACR,CACDC,QAAS,WAGf,G,UCTF,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAShB,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://sanyue_imghub/./src/views/WhiteListOn.vue?9449","webpack://sanyue_imghub/./src/views/WhiteListOn.vue","webpack://sanyue_imghub/./src/views/WhiteListOn.vue?05e5"],"sourcesContent":["import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nconst _hoisted_1 = {\n class: \"blocked-image-page\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, _cache[0] || (_cache[0] = [_createElementVNode(\"div\", null, [_createElementVNode(\"div\", null, [_createTextVNode(\" 抱歉,当前已开启白名单模式,上传的图片需要审核通过后才能展示,请等待审核通过后再进行访问。 \"), _createElementVNode(\"br\"), _createTextVNode(\" Sorry, the whitelist mode is currently enabled, the uploaded images need to be audited before they can be displayed, please wait for the audit to be passed before visiting. \")]), _createElementVNode(\"br\"), _createElementVNode(\"div\", null, [_createTextVNode(\"Powered By: \"), _createElementVNode(\"span\", null, [_createElementVNode(\"a\", {\n href: \"https://github.com/MarSeventh/CloudFlare-ImgBed\",\n style: {\n \"color\": \"cornflowerblue\"\n }\n }, \" CloudFlare-ImgBed \")])])], -1)]));\n}","import { useHead } from '@vueuse/head';\nexport default {\n name: 'BlockedImage',\n setup() {\n useHead({\n title: 'White List On',\n meta: [{\n name: 'robots',\n content: 'noindex, nofollow'\n }, {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1'\n }, {\n charset: 'UTF-8'\n }]\n });\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./WhiteListOn.vue?vue&type=template&id=0023e522&scoped=true\"\nimport script from \"./WhiteListOn.vue?vue&type=script&lang=js\"\nexport * from \"./WhiteListOn.vue?vue&type=script&lang=js\"\n\nimport \"./WhiteListOn.vue?vue&type=style&index=0&id=0023e522&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0023e522\"]])\n\nexport default __exports__"],"names":["_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","href","style","name","setup","u","title","meta","content","charset","__exports__"],"sourceRoot":""}
|
||||
{"version":3,"file":"js/673.9e1575ea.js","mappings":"oLACA,MAAMA,EAAa,CACjBC,MAAO,sBAEF,SAASC,EAAOC,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GAC1D,OAAO,WAAc,QAAoB,MAAOR,EAAYI,EAAO,KAAOA,EAAO,GAAK,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAiB,oDAAoD,QAAoB,OAAO,QAAiB,qLAAqL,QAAoB,OAAO,QAAoB,MAAO,KAAM,EAAC,QAAiB,iBAAiB,QAAoB,OAAQ,KAAM,EAAC,QAAoB,IAAK,CAC1lBK,KAAM,kDACNC,MAAO,CACL,MAAS,mBAEV,6BAA8B,KACnC,C,cCVA,GACEC,KAAM,eACN,KAAAC,IACE,IAAAC,GAAQ,CACNC,MAAO,gBACPC,KAAM,CAAC,CACLJ,KAAM,SACNK,QAAS,qBACR,CACDL,KAAM,WACNK,QAAS,uCACR,CACDC,QAAS,WAGf,G,UCTF,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAShB,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://sanyue_imghub/./src/views/WhiteListOn.vue?9449","webpack://sanyue_imghub/./src/views/WhiteListOn.vue","webpack://sanyue_imghub/./src/views/WhiteListOn.vue?05e5"],"sourcesContent":["import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nconst _hoisted_1 = {\n class: \"blocked-image-page\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, _cache[0] || (_cache[0] = [_createElementVNode(\"div\", null, [_createElementVNode(\"div\", null, [_createTextVNode(\" 抱歉,当前已开启白名单模式,上传的图片需要审核通过后才能展示,请等待审核通过后再进行访问。 \"), _createElementVNode(\"br\"), _createTextVNode(\" Sorry, the whitelist mode is currently enabled, the uploaded images need to be audited before they can be displayed, please wait for the audit to be passed before visiting. \")]), _createElementVNode(\"br\"), _createElementVNode(\"div\", null, [_createTextVNode(\"Powered By: \"), _createElementVNode(\"span\", null, [_createElementVNode(\"a\", {\n href: \"https://github.com/MarSeventh/CloudFlare-ImgBed\",\n style: {\n \"color\": \"cornflowerblue\"\n }\n }, \" CloudFlare-ImgBed \")])])], -1)]));\n}","import { useHead } from '@vueuse/head';\nexport default {\n name: 'BlockedImage',\n setup() {\n useHead({\n title: 'White List On',\n meta: [{\n name: 'robots',\n content: 'noindex, nofollow'\n }, {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1'\n }, {\n charset: 'UTF-8'\n }]\n });\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./WhiteListOn.vue?vue&type=template&id=0023e522&scoped=true\"\nimport script from \"./WhiteListOn.vue?vue&type=script&lang=js\"\nexport * from \"./WhiteListOn.vue?vue&type=script&lang=js\"\n\nimport \"./WhiteListOn.vue?vue&type=style&index=0&id=0023e522&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0023e522\"]])\n\nexport default __exports__"],"names":["_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","href","style","name","setup","u","title","meta","content","charset","__exports__"],"sourceRoot":""}
|
||||
BIN
js/673.9e1575ea.js.map.gz
Normal file
BIN
js/673.9e1575ea.js.map.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
js/963.0483b5a4.js
Normal file
2
js/963.0483b5a4.js
Normal file
File diff suppressed because one or more lines are too long
BIN
js/963.0483b5a4.js.gz
Normal file
BIN
js/963.0483b5a4.js.gz
Normal file
Binary file not shown.
1
js/963.0483b5a4.js.map
Normal file
1
js/963.0483b5a4.js.map
Normal file
File diff suppressed because one or more lines are too long
BIN
js/963.0483b5a4.js.map.gz
Normal file
BIN
js/963.0483b5a4.js.map.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/app.86844e8f.js.gz
Normal file
BIN
js/app.86844e8f.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
js/app.86844e8f.js.map.gz
Normal file
BIN
js/app.86844e8f.js.map.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user