[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:
@@ -0,0 +1,9 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3.33398 8.33301V13.333" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M16.666 8.33301V13.333" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M5.83398 7.49967H14.1673M5.83398 7.49967V14.1663C5.83398 14.3874 5.92178 14.5993 6.07806 14.7556C6.23434 14.9119 6.4463 14.9997 6.66732 14.9997H13.334C13.555 14.9997 13.767 14.9119 13.9232 14.7556C14.0795 14.5993 14.1673 14.3874 14.1673 14.1663V7.49967M5.83398 7.49967C5.83398 6.39461 6.27297 5.3348 7.05437 4.5534C7.83577 3.77199 8.89558 3.33301 10.0007 3.33301C11.1057 3.33301 12.1655 3.77199 12.9469 4.5534C13.7283 5.3348 14.1673 6.39461 14.1673 7.49967" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M6.66602 2.5L7.49935 4.16667" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M13.3333 2.5L12.5 4.16667" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M7.5 15V17.5" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
<path d="M12.5 15V17.5" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" stroke="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user