diff --git a/CHANGELOG.md b/CHANGELOG.md index bc7afde..3aebd6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,9 +37,11 @@ **首页底部新增「导航站 / 开源地址」区块** - 位置:紧接 CTA 之后、页面最底部(Footer 已下线),独立深色区块 + 紫色光晕,眉标 MORE + 标题「我的导航站 / 开源地址」 -- 左卡「我的导航站」`https://nav.88531.cn`(20+ 自建站点,200 可达);右卡「开源地址」`https://gitee.com/676015863/unicut`(许可按事实标 `Apache-2.0 with additional conditions`,项目无 LICENSE 文件故不写 MIT) +- 左卡「我的导航站」`https://nav.88531.cn`(20+ 自建站点,200 可达);右卡「开源地址」`https://gitee.com/jinghui111/unicut`(**你自己的仓**,公开且由 Gitea 同步 cron 自动跟进,含全部本地化改造;上游原项目 `676015863/unicut` 最后更新停在 2026-09-18,不适合当出口);许可条款按事实以仓库说明为准(仓库无 LICENSE 文件,故页面不写 MIT) - 双卡大按钮(桌面 648×160、移动 342 宽),`target="_blank" rel="noreferrer"` 新标签打开;浅色主题有独立覆写,白底不白字 - `scripts/e2e_home_links.py` 16/16:文案、href 精确、外链属性、卡片尺寸、区块位置、无横向溢出、无 JS 崩溃;深色/浅色/390px 三态视觉验收通过 +- 开源地址指向自建仓 `gitee.com/jinghui111/unicut`(含全部本地化改造),上游项目仅以「基于上游开源项目二次开发」形式注明 +- 授权中心「米剪」项目(编号 9)真实链路跑通:登记、心跳、版本检查、公告四端点全通;基线版本 1.0.0 已发布,老客户端会收到更新提示 **首页与菜单瘦身** - 首页删除「收费标准」整段(BYOK 免费工具,收费无从谈起) diff --git a/docs/功能清单.md b/docs/功能清单.md index 327f60a..c4f6301 100644 --- a/docs/功能清单.md +++ b/docs/功能清单.md @@ -350,7 +350,7 @@ AI 自动分析视频内容,智能选取精彩片段进行剪辑,适合快 ## 十二、自建服务与站点入口 ### 12.1 首页底部「导航站 / 开源地址」 -首页最底部常驻两个大卡入口:左侧「我的导航站」`https://nav.88531.cn`(聚合 20+ 自建站点),右侧「开源地址」`https://gitee.com/676015863/unicut`(许可 `Apache-2.0 with additional conditions`)。均新标签打开,深/浅色主题与移动端(342px 宽卡片)都已适配。 +首页最底部常驻两个大卡入口:左侧「我的导航站」`https://nav.88531.cn`(聚合 20+ 自建站点),右侧「开源地址」`https://gitee.com/jinghui111/unicut`(本改造版源码,公开、随 Gitea 自动同步;许可条款以仓库说明为准)。均新标签打开,深/浅色主题与移动端(342px 宽卡片)都已适配。 ### 12.2 授权中心(CardAuth) 接入 `auth.88531.cn`:装机数与在线人数统计、公告发布(首页弹窗 + 顶栏铃铛未读红点)、版本推送(右上角常驻 `v1.0.0`,有新版转琥珀并弹「发现新版本」)。密钥只在 nginx 反代注入,不进前端包;授权中心不可达时全部静默降级,不影响剪辑功能。只显示本项目编号的公告,编号未配置时不展示任何公告。 diff --git a/scripts/e2e_home_links.py b/scripts/e2e_home_links.py index 6331980..ad276b6 100644 --- a/scripts/e2e_home_links.py +++ b/scripts/e2e_home_links.py @@ -41,15 +41,15 @@ def main(): check('A1 出现「我的导航站」', '我的导航站' in txt) check('A2 出现「开源地址」', '开源地址' in txt) check('A3 出现导航站域名', 'nav.88531.cn' in txt) - check('A4 出现 Gitee 源码地址', 'gitee.com/676015863/unicut' in txt) - check('A5 出现 GitHub 镜像行', 'github.com/mtsee/unicut' in txt) + check('A4 出现 Gitee 源码地址', 'gitee.com/jinghui111/unicut' in txt) + check('A5 出现上游开源项目行', 'github.com/mtsee/unicut' in txt) check('A6 许可标签未乱写', 'MIT' not in txt and '免费商用' not in txt, '(许可证是改良版 Apache 2.0)') print('--- B 链接与打开方式') for href, name in [('https://nav.88531.cn', 'B1 导航站链接'), - ('https://gitee.com/676015863/unicut', 'B2 开源链接'), - ('https://github.com/mtsee/unicut', 'B3 GitHub 链接')]: + ('https://gitee.com/jinghui111/unicut', 'B2 开源链接'), + ('https://github.com/mtsee/unicut', 'B3 上游开源链接')]: info = page.evaluate( """h => [...document.querySelectorAll('a')].filter( a => a.href.replace(/\/$/, '') === h) @@ -65,7 +65,7 @@ def main(): const cards = [...document.querySelectorAll('a')].filter(a => { const h = norm(a.href); return h === 'https://nav.88531.cn' || - h === 'https://gitee.com/676015863/unicut'; + h === 'https://gitee.com/jinghui111/unicut'; }); return cards.map(a => { const r = a.getBoundingClientRect(); diff --git a/src/pages/home/Home.tsx b/src/pages/home/Home.tsx index 85408cb..3e6db5b 100644 --- a/src/pages/home/Home.tsx +++ b/src/pages/home/Home.tsx @@ -396,7 +396,7 @@ export default function Home() { @@ -406,9 +406,9 @@ export default function Home() { 开源地址 源码公开 - gitee.com/676015863/unicut + gitee.com/jinghui111/unicut - 全部代码可下载、可二次开发,商用条件见仓库内 LICENSE + 本地化改造版全部源码,可下载、可二次开发,许可条款以仓库说明为准 查看源码 → @@ -416,7 +416,7 @@ export default function Home() {
- GitHub 镜像: + 本改造基于上游开源项目二次开发: github.com/mtsee/unicut