diff --git a/worker.js b/worker.js index b6ebe77..9de21a0 100644 --- a/worker.js +++ b/worker.js @@ -261,6 +261,7 @@ function getHTML() { '', '', '', + '', 'Qwen VL 智能识别系统', // 添加 MathJax 支持 @@ -980,13 +981,6 @@ function getHTML() { ' color: #2980b9;', ' }', - ' .footer-content {', - ' margin-top: 2rem;', - ' padding-top: 1rem;', - ' border-top: 1px solid #eee;', - ' text-align: center;', - ' }', - ' .powered-by {', ' color: #7f8c8d;', ' font-size: 0.9rem;', @@ -1024,9 +1018,42 @@ function getHTML() { ' resize: none;', ' font-size: 14px;', ' }', + + ' .github-link {', + ' position: fixed;', + ' right: 150px;', // 放在 token 设置按钮左边 + ' top: 20px;', + ' background: #333;', // GitHub 的深色背景 + ' color: white;', + ' border: none;', + ' padding: 10px;', + ' border-radius: 50%;', // 圆形按钮 + ' cursor: pointer;', + ' z-index: 1001;', + ' width: 40px;', + ' height: 40px;', + ' display: flex;', + ' align-items: center;', + ' justify-content: center;', + ' transition: background 0.3s ease;', + ' }', + + ' .github-link:hover {', + ' background: #24292e;', // GitHub hover 颜色 + ' }', + + ' .github-icon {', + ' width: 24px;', + ' height: 24px;', + ' }', '', '', '', + '', + ' ', + ' ', + ' ', + '', '', '