[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
@@ -0,0 +1,10 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.66602 5.50033C3.66602 5.0141 3.85917 4.54778 4.20299 4.20396C4.5468 3.86015 5.01312 3.66699 5.49935 3.66699H16.4993C16.9856 3.66699 17.4519 3.86015 17.7957 4.20396C18.1395 4.54778 18.3327 5.0141 18.3327 5.50033V16.5003C18.3327 16.9866 18.1395 17.4529 17.7957 17.7967C17.4519 18.1405 16.9856 18.3337 16.4993 18.3337H5.49935C5.01312 18.3337 4.5468 18.1405 4.20299 17.7967C3.85917 17.4529 3.66602 16.9866 3.66602 16.5003V5.50033Z" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M7.33398 3.66699V18.3337" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M14.666 3.66699V18.3337" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M3.66602 7.33301H7.33268" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M3.66602 14.667H7.33268" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M3.66602 11H18.3327" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M14.666 7.33301H18.3327" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M14.666 14.667H18.3327" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -0,0 +1,10 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.66602 5.50008C3.66602 5.01385 3.85917 4.54754 4.20299 4.20372C4.5468 3.8599 5.01312 3.66675 5.49935 3.66675H16.4993C16.9856 3.66675 17.4519 3.8599 17.7957 4.20372C18.1395 4.54754 18.3327 5.01385 18.3327 5.50008V16.5001C18.3327 16.9863 18.1395 17.4526 17.7957 17.7964C17.4519 18.1403 16.9856 18.3334 16.4993 18.3334H5.49935C5.01312 18.3334 4.5468 18.1403 4.20299 17.7964C3.85917 17.4526 3.66602 16.9863 3.66602 16.5001V5.50008Z" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M7.33398 3.66675V18.3334" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M14.666 3.66675V18.3334" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M3.66602 7.33325H7.33268" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M3.66602 14.6667H7.33268" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M3.66602 11H18.3327" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M14.666 7.33325H18.3327" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M14.666 14.6667H18.3327" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -0,0 +1,5 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.58333 11H2.75L11 2.75L19.25 11H17.4167" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M4.58398 11V17.4167C4.58398 17.9029 4.77714 18.3692 5.12096 18.713C5.46477 19.0568 5.93109 19.25 6.41732 19.25H15.584C16.0702 19.25 16.5365 19.0568 16.8803 18.713C17.2242 18.3692 17.4173 17.9029 17.4173 17.4167V11" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M8.25 19.2501V13.7501C8.25 13.2639 8.44315 12.7975 8.78697 12.4537C9.13079 12.1099 9.5971 11.9167 10.0833 11.9167H11.9167C12.4029 11.9167 12.8692 12.1099 13.213 12.4537C13.5568 12.7975 13.75 13.2639 13.75 13.7501V19.2501" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
</svg>

After

Width:  |  Height:  |  Size: 877 B

@@ -0,0 +1,5 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.58333 11H2.75L11 2.75L19.25 11H17.4167" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M4.58398 11V17.4167C4.58398 17.9029 4.77714 18.3692 5.12096 18.713C5.46477 19.0568 5.93109 19.25 6.41732 19.25H15.584C16.0702 19.25 16.5365 19.0568 16.8803 18.713C17.2242 18.3692 17.4173 17.9029 17.4173 17.4167V11" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M8.25 19.2503V13.7503C8.25 13.2641 8.44315 12.7978 8.78697 12.454C9.13079 12.1101 9.5971 11.917 10.0833 11.917H11.9167C12.4029 11.917 12.8692 12.1101 13.213 12.454C13.5568 12.7978 13.75 13.2641 13.75 13.7503V19.2503" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 872 B

@@ -0,0 +1,4 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.75 8.25033C2.75 7.7641 2.94315 7.29778 3.28697 6.95396C3.63079 6.61015 4.0971 6.41699 4.58333 6.41699H17.4167C17.9029 6.41699 18.3692 6.61015 18.713 6.95396C19.0568 7.29778 19.25 7.7641 19.25 8.25033V16.5003C19.25 16.9866 19.0568 17.4529 18.713 17.7967C18.3692 18.1405 17.9029 18.3337 17.4167 18.3337H4.58333C4.0971 18.3337 3.63079 18.1405 3.28697 17.7967C2.94315 17.4529 2.75 16.9866 2.75 16.5003V8.25033Z" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M14.6673 2.75L11.0007 6.41667L7.33398 2.75" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
</svg>

After

Width:  |  Height:  |  Size: 754 B

@@ -0,0 +1,4 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.75 8.25008C2.75 7.76385 2.94315 7.29754 3.28697 6.95372C3.63079 6.6099 4.0971 6.41675 4.58333 6.41675H17.4167C17.9029 6.41675 18.3692 6.6099 18.713 6.95372C19.0568 7.29754 19.25 7.76385 19.25 8.25008V16.5001C19.25 16.9863 19.0568 17.4526 18.713 17.7964C18.3692 18.1403 17.9029 18.3334 17.4167 18.3334H4.58333C4.0971 18.3334 3.63079 18.1403 3.28697 17.7964C2.94315 17.4526 2.75 16.9863 2.75 16.5001V8.25008Z" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M14.6673 2.75L11.0007 6.41667L7.33398 2.75" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 754 B

@@ -0,0 +1,4 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.33398 6.41667C7.33398 7.38913 7.72029 8.32176 8.40793 9.00939C9.09556 9.69703 10.0282 10.0833 11.0007 10.0833C11.9731 10.0833 12.9057 9.69703 13.5934 9.00939C14.281 8.32176 14.6673 7.38913 14.6673 6.41667C14.6673 5.44421 14.281 4.51157 13.5934 3.82394C12.9057 3.13631 11.9731 2.75 11.0007 2.75C10.0282 2.75 9.09556 3.13631 8.40793 3.82394C7.72029 4.51157 7.33398 5.44421 7.33398 6.41667Z" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
<path d="M5.5 19.25V17.4167C5.5 16.4442 5.88631 15.5116 6.57394 14.8239C7.26157 14.1363 8.19421 13.75 9.16667 13.75H12.8333C13.8058 13.75 14.7384 14.1363 15.4261 14.8239C16.1137 15.5116 16.5 16.4442 16.5 17.4167V19.25" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#FF0F53"/>
</svg>

After

Width:  |  Height:  |  Size: 901 B

@@ -0,0 +1,4 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.33398 6.41667C7.33398 7.38913 7.72029 8.32176 8.40793 9.00939C9.09556 9.69703 10.0282 10.0833 11.0007 10.0833C11.9731 10.0833 12.9057 9.69703 13.5934 9.00939C14.281 8.32176 14.6673 7.38913 14.6673 6.41667C14.6673 5.44421 14.281 4.51157 13.5934 3.82394C12.9057 3.13631 11.9731 2.75 11.0007 2.75C10.0282 2.75 9.09556 3.13631 8.40793 3.82394C7.72029 4.51157 7.33398 5.44421 7.33398 6.41667Z" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
<path d="M5.5 19.25V17.4167C5.5 16.4442 5.88631 15.5116 6.57394 14.8239C7.26157 14.1363 8.19421 13.75 9.16667 13.75H12.8333C13.8058 13.75 14.7384 14.1363 15.4261 14.8239C16.1137 15.5116 16.5 16.4442 16.5 17.4167V19.25" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="#7E818B"/>
</svg>

After

Width:  |  Height:  |  Size: 901 B