[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>
@@ -0,0 +1,5 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4 6C4 7.06087 4.42143 8.07828 5.17157 8.82843C5.92172 9.57857 6.93913 10 8 10C9.06087 10 10.0783 9.57857 10.8284 8.82843C11.5786 8.07828 12 7.06087 12 6C12 4.93913 11.5786 3.92172 10.8284 3.17157C10.0783 2.42143 9.06087 2 8 2C6.93913 2 5.92172 2.42143 5.17157 3.17157C4.42143 3.92172 4 4.93913 4 6Z" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
<path d="M8 10L10.2667 13.9267L11.332 11.7713L13.7307 11.926L11.464 8" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
<path d="M4.53473 8L2.26807 11.9267L4.66673 11.7713L5.73207 13.926L7.99873 10" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 830 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.75 5.5L8.25 11L13.75 16.5" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 230 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="M2.25 9C2.25 9.88642 2.42459 10.7642 2.76381 11.5831C3.10303 12.4021 3.60023 13.1462 4.22703 13.773C4.85382 14.3998 5.59794 14.897 6.41689 15.2362C7.23583 15.5754 8.11358 15.75 9 15.75C9.88642 15.75 10.7642 15.5754 11.5831 15.2362C12.4021 14.897 13.1462 14.3998 13.773 13.773C14.3998 13.1462 14.897 12.4021 15.2362 11.5831C15.5754 10.7642 15.75 9.88642 15.75 9C15.75 8.11358 15.5754 7.23583 15.2362 6.41689C14.897 5.59794 14.3998 4.85382 13.773 4.22703C13.1462 3.60023 12.4021 3.10303 11.5831 2.76381C10.7642 2.42459 9.88642 2.25 9 2.25C8.11358 2.25 7.23583 2.42459 6.41689 2.76381C5.59794 3.10303 4.85382 3.60023 4.22703 4.22703C3.60023 4.85382 3.10303 5.59794 2.76381 6.41689C2.42459 7.23583 2.25 8.11358 2.25 9Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
<path d="M6.75 9L8.25 10.5L11.25 7.5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2.5 6L5 8.5L10 3.5" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 197 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="M13.5 4.5L4.5 13.5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
|
||||
<path d="M4.5 4.5L13.5 13.5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 331 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.00008 0.666016L5.03008 2.75268L7.33342 3.08935L5.66675 4.71268L6.06008 7.00602L4.00008 5.92268L1.94008 7.00602L2.33341 4.71268L0.666748 3.08935L2.97008 2.75268L4.00008 0.666016Z" fill="#3A2A0A"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 307 B |
|
After Width: | Height: | Size: 341 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2 8.5V9.5C2 9.76522 2.10536 10.0196 2.29289 10.2071C2.48043 10.3946 2.73478 10.5 3 10.5H9C9.26522 10.5 9.51957 10.3946 9.70711 10.2071C9.89464 10.0196 10 9.76522 10 9.5V8.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
|
||||
<path d="M3.5 5.5L6 8L8.5 5.5" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
|
||||
<path d="M6 2V8" stroke-linecap="round" stroke-linejoin="round" stroke="#B9BBC2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 533 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="M2.75 11C2.75 12.0834 2.96339 13.1562 3.37799 14.1571C3.7926 15.1581 4.40029 16.0675 5.16637 16.8336C5.93245 17.5997 6.84193 18.2074 7.84286 18.622C8.8438 19.0366 9.91659 19.25 11 19.25C12.0834 19.25 13.1562 19.0366 14.1571 18.622C15.1581 18.2074 16.0675 17.5997 16.8336 16.8336C17.5997 16.0675 18.2074 15.1581 18.622 14.1571C19.0366 13.1562 19.25 12.0834 19.25 11C19.25 8.81196 18.3808 6.71354 16.8336 5.16637C15.2865 3.61919 13.188 2.75 11 2.75C8.81196 2.75 6.71354 3.61919 5.16637 5.16637C3.61919 6.71354 2.75 8.81196 2.75 11Z" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M11 14.666V14.6752" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M11 11.9165C11.4123 11.9177 11.8129 11.7799 12.1373 11.5254C12.4616 11.2709 12.6907 10.9145 12.7875 10.5138C12.8844 10.1131 12.8433 9.69137 12.671 9.31684C12.4987 8.94231 12.2052 8.63679 11.8378 8.44962C11.4732 8.26281 11.056 8.20489 10.6542 8.28528C10.2525 8.36566 9.88972 8.57963 9.625 8.89237" stroke-width="1.83333" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3.33325 8.66732C3.33325 8.3137 3.47373 7.97456 3.72378 7.72451C3.97382 7.47446 4.31296 7.33398 4.66659 7.33398H11.3333C11.6869 7.33398 12.026 7.47446 12.2761 7.72451C12.5261 7.97456 12.6666 8.3137 12.6666 8.66732V12.6673C12.6666 13.0209 12.5261 13.3601 12.2761 13.6101C12.026 13.8602 11.6869 14.0007 11.3333 14.0007H4.66659C4.31296 14.0007 3.97382 13.8602 3.72378 13.6101C3.47373 13.3601 3.33325 13.0209 3.33325 12.6673V8.66732Z" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
<path d="M7.33325 10.6667C7.33325 10.8435 7.40349 11.013 7.52851 11.1381C7.65354 11.2631 7.82311 11.3333 7.99992 11.3333C8.17673 11.3333 8.3463 11.2631 8.47132 11.1381C8.59635 11.013 8.66659 10.8435 8.66659 10.6667C8.66659 10.4899 8.59635 10.3203 8.47132 10.1953C8.3463 10.0702 8.17673 10 7.99992 10C7.82311 10 7.65354 10.0702 7.52851 10.1953C7.40349 10.3203 7.33325 10.4899 7.33325 10.6667Z" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
<path d="M5.33325 7.33333V4.66667C5.33325 3.95942 5.6142 3.28115 6.1143 2.78105C6.6144 2.28095 7.29267 2 7.99992 2C8.70716 2 9.38544 2.28095 9.88554 2.78105C10.3856 3.28115 10.6666 3.95942 10.6666 4.66667V7.33333" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.66659 2V6.66667H12.6666L7.33325 14V9.33333H3.33325L8.66659 2Z" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" stroke="#FFC000"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 267 B |