[Ai] feat: 花魁短剧 Next.js 站点初始提交

- 原生 Next.js App Router + 严格 TypeScript 实现花魁短剧 PC/H5 页面,按 src/features/{catalog,content,playback} 组织,保留完整 SEO(metadata、JSON-LD、canonical、robots、llms、sitemap、IndexNow)。
- 主域名通过 SITE_URL=https://huakuidj.com 强制覆盖后端 foreverUrlAddr(config/*.env、src/server/config.ts、src/server/seo/shared.ts、src/server/services/shared.ts),支持邮箱改为 support@huakuidj.com。
- 移除登录与账户体系:删除 /account 全部页面、登录/注册/充值弹窗、收藏点赞、评论、金币解锁及对应 BFF 接口;旧账户地址 GET/HEAD 统一 301 到首页(src/lib/routes.ts REMOVED_ACCOUNT_PATHS),保留游客会话、反馈、图片上传、观看上报与搜索联想。
- 播放页:评论位改为同类推荐 + 热播榜单,锁定集改为 App 观看遮罩与底部弹层,新增简介标签、分集图例与独立视觉皮肤(src/features/playback、src/styles/pages/playback.css)。
- 卡片:短剧/视频卡状态与时长移至信息行胶囊标签,封面角标移至左上角(src/components/catalog/Cards.tsx、src/styles/foundations/base.css)。
- 同步更新单元测试、浏览器冒烟脚本、路由清单与 README。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-10-16 11:33:31 +07:00
co-authored by Claude Opus 5.5
commit d2ddb1c321
423 changed files with 52152 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.5 9C7.5 9.39782 7.65804 9.77936 7.93934 10.0607C8.22064 10.342 8.60218 10.5 9 10.5C9.39782 10.5 9.77936 10.342 10.0607 10.0607C10.342 9.77936 10.5 9.39782 10.5 9C10.5 8.60218 10.342 8.22064 10.0607 7.93934C9.77936 7.65804 9.39782 7.5 9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
<path d="M15.75 9C13.95 12 11.7 13.5 9 13.5C6.3 13.5 4.05 12 2.25 9C4.05 6 6.3 4.5 9 4.5C11.7 4.5 13.95 6 15.75 9Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
</svg>

After

Width:  |  Height:  |  Size: 721 B

@@ -0,0 +1,3 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.00012 2.25C10.752 3.79993 13.0385 4.60692 15.3751 4.5C15.7153 5.65726 15.8194 6.8711 15.6812 8.06939C15.543 9.26767 15.1654 10.426 14.5707 11.4754C13.976 12.5248 13.1764 13.444 12.2195 14.1784C11.2625 14.9127 10.1677 15.4472 9.00012 15.75C7.83253 15.4472 6.73773 14.9127 5.78078 14.1784C4.82383 13.444 4.02425 12.5248 3.42957 11.4754C2.83488 10.426 2.45722 9.26767 2.31903 8.06939C2.18083 6.8711 2.28493 5.65726 2.62512 4.5C4.96177 4.60692 7.24825 3.79993 9.00012 2.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 671 B

@@ -0,0 +1,4 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 5.25C6 6.04565 6.31607 6.80871 6.87868 7.37132C7.44129 7.93393 8.20435 8.25 9 8.25C9.79565 8.25 10.5587 7.93393 11.1213 7.37132C11.6839 6.80871 12 6.04565 12 5.25C12 4.45435 11.6839 3.69129 11.1213 3.12868C10.5587 2.56607 9.79565 2.25 9 2.25C8.20435 2.25 7.44129 2.56607 6.87868 3.12868C6.31607 3.69129 6 4.45435 6 5.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M4.5 15.75V14.25C4.5 13.4544 4.81607 12.6913 5.37868 12.1287C5.94129 11.5661 6.70435 11.25 7.5 11.25H10.5C11.2956 11.25 12.0587 11.5661 12.6213 12.1287C13.1839 12.6913 13.5 13.4544 13.5 14.25V15.75" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 815 B

+6
View File
@@ -0,0 +1,6 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 5.33398H10.0067" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
<path d="M2 4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H12C12.5304 2 13.0391 2.21071 13.4142 2.58579C13.7893 2.96086 14 3.46957 14 4V12C14 12.5304 13.7893 13.0391 13.4142 13.4142C13.0391 13.7893 12.5304 14 12 14H4C3.46957 14 2.96086 13.7893 2.58579 13.4142C2.21071 13.0391 2 12.5304 2 12V4Z" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
<path d="M2 10.6666L5.33333 7.33322C5.952 6.73789 6.71467 6.73789 7.33333 7.33322L10.6667 10.6666" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
<path d="M9.33301 9.33387L9.99967 8.6672C10.6183 8.07187 11.381 8.07187 11.9997 8.6672L13.9997 10.6672" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1006 B

+5
View File
@@ -0,0 +1,5 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.75 9.75C3.75 9.35218 3.90804 8.97064 4.18934 8.68934C4.47064 8.40804 4.85218 8.25 5.25 8.25H12.75C13.1478 8.25 13.5294 8.40804 13.8107 8.68934C14.092 8.97064 14.25 9.35218 14.25 9.75V14.25C14.25 14.6478 14.092 15.0294 13.8107 15.3107C13.5294 15.592 13.1478 15.75 12.75 15.75H5.25C4.85218 15.75 4.47064 15.592 4.18934 15.3107C3.90804 15.0294 3.75 14.6478 3.75 14.25V9.75Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M8.25 12C8.25 12.1989 8.32902 12.3897 8.46967 12.5303C8.61032 12.671 8.80109 12.75 9 12.75C9.19891 12.75 9.38968 12.671 9.53033 12.5303C9.67098 12.3897 9.75 12.1989 9.75 12C9.75 11.8011 9.67098 11.6103 9.53033 11.4697C9.38968 11.329 9.19891 11.25 9 11.25C8.80109 11.25 8.61032 11.329 8.46967 11.4697C8.32902 11.6103 8.25 11.8011 8.25 12Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M6 8.25V5.25C6 4.45435 6.31607 3.69129 6.87868 3.12868C7.44129 2.56607 8.20435 2.25 9 2.25C9.79565 2.25 10.5587 2.56607 11.1213 3.12868C11.6839 3.69129 12 4.45435 12 5.25V8.25" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+4
View File
@@ -0,0 +1,4 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.25 5.25C2.25 4.85218 2.40804 4.47064 2.68934 4.18934C2.97064 3.90804 3.35218 3.75 3.75 3.75H14.25C14.6478 3.75 15.0294 3.90804 15.3107 4.18934C15.592 4.47064 15.75 4.85218 15.75 5.25V12.75C15.75 13.1478 15.592 13.5294 15.3107 13.8107C15.0294 14.092 14.6478 14.25 14.25 14.25H3.75C3.35218 14.25 2.97064 14.092 2.68934 13.8107C2.40804 13.5294 2.25 13.1478 2.25 12.75V5.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M2.25 5.25L9 9.75L15.75 5.25" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 696 B

@@ -0,0 +1,3 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.25 15.0003L3.225 12.0753C1.482 9.49753 2.1555 6.17128 4.8 4.29478C7.4445 2.41903 11.2425 2.57278 13.6838 4.65478C16.125 6.73753 16.455 10.1043 14.4555 12.5305C12.456 14.9568 8.74425 15.6918 5.775 14.2503L2.25 15.0003Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
</svg>

After

Width:  |  Height:  |  Size: 419 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.00012 2.25C10.752 3.79993 13.0385 4.60692 15.3751 4.5C15.7153 5.65726 15.8194 6.8711 15.6812 8.06939C15.543 9.26767 15.1654 10.426 14.5707 11.4754C13.976 12.5248 13.1764 13.444 12.2195 14.1784C11.2625 14.9127 10.1677 15.4472 9.00012 15.75C7.83253 15.4472 6.73773 14.9127 5.78078 14.1784C4.82383 13.444 4.02425 12.5248 3.42957 11.4754C2.83488 10.426 2.45722 9.26767 2.31903 8.06939C2.18083 6.8711 2.28493 5.65726 2.62512 4.5C4.96177 4.60692 7.24825 3.79993 9.00012 2.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
</svg>

After

Width:  |  Height:  |  Size: 671 B

+4
View File
@@ -0,0 +1,4 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 5.25C6 6.04565 6.31607 6.80871 6.87868 7.37132C7.44129 7.93393 8.20435 8.25 9 8.25C9.79565 8.25 10.5587 7.93393 11.1213 7.37132C11.6839 6.80871 12 6.04565 12 5.25C12 4.45435 11.6839 3.69129 11.1213 3.12868C10.5587 2.56607 9.79565 2.25 9 2.25C8.20435 2.25 7.44129 2.56607 6.87868 3.12868C6.31607 3.69129 6 4.45435 6 5.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M4.5 15.75V14.25C4.5 13.4544 4.81607 12.6913 5.37868 12.1287C5.94129 11.5661 6.70435 11.25 7.5 11.25H10.5C11.2956 11.25 12.0587 11.5661 12.6213 12.1287C13.1839 12.6913 13.5 13.4544 13.5 14.25V15.75" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
</svg>

After

Width:  |  Height:  |  Size: 815 B