feat(hub):右上角新增「开源」链接(Gitee 仓库新窗口打开,紧邻版本徽章/公告铃铛);README 更新日志同步追加条目
NodeJS with Webpack / build (push) Canceled after 0s
NodeJS with Webpack / build (push) Canceled after 0s
This commit is contained in:
1 parent
e35216d166
commit
a94a5a18f4
2 files changed
+27
No files matched your search
@@ -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`,未配置仅基础功能,引导免费注册)
|
||||
|
||||
@@ -10,6 +10,19 @@
|
||||
<a class="know" @click="dismissBanner">知道了</a>
|
||||
</div>
|
||||
|
||||
<!-- 开源地址(新窗口打开 Gitee 仓库) -->
|
||||
<Tooltip content="查看开源代码 · Gitee" placement="bottom">
|
||||
<a
|
||||
class="repo-link"
|
||||
href="https://gitee.com/jinghui111/kuaitu-editor"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
<Icon type="md-code" size="14" />
|
||||
开源
|
||||
</a>
|
||||
</Tooltip>
|
||||
|
||||
<!-- 右上角常驻版本徽章 -->
|
||||
<Tooltip
|
||||
:content="hasNew ? `有新版本 v${upd.latest_version}` : `当前版本 v${version}`"
|
||||
@@ -138,6 +151,19 @@ onMounted(() => {
|
||||
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;
|
||||
|
||||
Reference in new issue
Block a user