From a94a5a18f4805843664840e1bdbd237664137036 Mon Sep 17 00:00:00 2001 From: personal827 Date: Thu, 29 Oct 2026 16:09:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(hub)=EF=BC=9A=E5=8F=B3=E4=B8=8A=E8=A7=92?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E3=80=8C=E5=BC=80=E6=BA=90=E3=80=8D=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=EF=BC=88Gitee=20=E4=BB=93=E5=BA=93=E6=96=B0=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E6=89=93=E5=BC=80=EF=BC=8C=E7=B4=A7=E9=82=BB=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=BE=BD=E7=AB=A0/=E5=85=AC=E5=91=8A=E9=93=83?= =?UTF-8?q?=E9=93=9B=EF=BC=89=EF=BC=9BREADME=20=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=90=8C=E6=AD=A5=E8=BF=BD=E5=8A=A0=E6=9D=A1=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/components/hubInfo.vue | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/README.md b/README.md index 8aeee22..dcc9d86 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ pnpm dev ### 2026-10-28 · v1.0.0 - ✨ 模板页底部新增「查看更多模板」醒目渐变大按钮(带剩余数量与 ↓ 动画,到底置灰,点击翻页并回列表顶部) +- ✨ 右上角新增「开源」链接(Gitee 仓库,新窗口打开),紧邻版本徽章与公告铃铛 - ✨ 右上角接入授权中心:常驻版本徽章 + 公告铃铛 + 新版本横幅提示;服务端新增 `/api/hub/*`(安装统计 / 心跳 / 公告 / 更新检查) - ✨ 公告弹窗:新公告按 ID 弹一次,已读不再打扰(铃铛红点可随时重看) - ✨ AI 生图 / 修图改为用户自配 Key(默认 `https://ai.88531.cn/v1` + `mimo-v2.6-flash`,未配置仅基础功能,引导免费注册) diff --git a/src/components/hubInfo.vue b/src/components/hubInfo.vue index 951b996..4b758df 100644 --- a/src/components/hubInfo.vue +++ b/src/components/hubInfo.vue @@ -10,6 +10,19 @@ 知道了 + + + + + 开源 + + + { font-family: Consolas, Monaco, monospace; } + .repo-link { + display: inline-flex; + align-items: center; + gap: 3px; + color: #808695; + font-size: 12px; + text-decoration: none; + + &:hover { + color: #2d8cf0; + } + } + .hub-banner { position: fixed; top: 0;