[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>
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 26 KiB |
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"fileKey": "1vUq4wf5xOs8ZOlmt26Q3O",
|
||||
"source": "https://www.figma.com/design/1vUq4wf5xOs8ZOlmt26Q3O/?node-id=0-1",
|
||||
"assets": [
|
||||
{
|
||||
"id": "1:414",
|
||||
"name": "header",
|
||||
"file": "public/static/brand/header.svg",
|
||||
"width": 104,
|
||||
"height": 36,
|
||||
"sha256": "1e58739a5d3253b2dd6f5e5903609bf228445397cb9532f695e7d4b60a67c84e"
|
||||
},
|
||||
{
|
||||
"id": "1:706",
|
||||
"name": "footer",
|
||||
"file": "public/static/brand/footer.svg",
|
||||
"width": 124,
|
||||
"height": 44,
|
||||
"sha256": "5268c270113a1e55e6d56e8f934f317ef2e7e357ae472373160a3bc96b61bd6e"
|
||||
},
|
||||
{
|
||||
"id": "3:20211",
|
||||
"name": "mobile",
|
||||
"file": "public/static/brand/mobile.svg",
|
||||
"width": 88,
|
||||
"height": 28,
|
||||
"sha256": "65f185eafddb14c72738b97782b018e6379284989b828500af7f8bfabd161258"
|
||||
},
|
||||
{
|
||||
"id": "3:15722",
|
||||
"name": "symbol",
|
||||
"file": "public/static/favicon.svg",
|
||||
"width": 34,
|
||||
"height": 34,
|
||||
"sha256": "f1f80d0ea052d49d405e5ce3ea80d2f6a511c2b68ac4094e330434f2b883f603"
|
||||
},
|
||||
{
|
||||
"id": "1:414",
|
||||
"name": "header-png",
|
||||
"file": "public/static/logo.png",
|
||||
"width": 208,
|
||||
"height": 72,
|
||||
"sha256": "5791140918967fd5b92718b89f7648a28f8da59a2df76b517cdeb0203f850c5d"
|
||||
},
|
||||
{
|
||||
"id": "1:706",
|
||||
"name": "footer-png",
|
||||
"file": "public/static/logo2.png",
|
||||
"width": 248,
|
||||
"height": 88,
|
||||
"sha256": "db8d678831257b6776cbee9e4cd752c7a360cba098634787879f819920b64c49"
|
||||
},
|
||||
{
|
||||
"id": "3:21847",
|
||||
"name": "login-symbol",
|
||||
"file": "public/static/logo_icon.png",
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"sha256": "bd08f5199d6d4bc7831f3b7863f6d2ba6496750ff65aff39ea23305131e53403"
|
||||
},
|
||||
{
|
||||
"id": "3:15722",
|
||||
"name": "favicon-png",
|
||||
"file": "public/static/favicon.png",
|
||||
"width": 68,
|
||||
"height": 68,
|
||||
"sha256": "433a136adc0416be48822a3ae9d214beb0096e7a69be1b7803e5e8788f0dc70f"
|
||||
},
|
||||
{
|
||||
"id": "3:15722",
|
||||
"name": "favicon-ico",
|
||||
"file": "public/static/favicon.ico",
|
||||
"width": 68,
|
||||
"height": 68,
|
||||
"sha256": "f9c5f3c9b35123fae480286215c10334b2ea75d35e84770e9aa10a12c8756ff9"
|
||||
},
|
||||
{
|
||||
"id": "1:414",
|
||||
"name": "header-png-versioned",
|
||||
"file": "public/static/brand/huakui-20261013/header.png",
|
||||
"width": 208,
|
||||
"height": 72,
|
||||
"sha256": "5791140918967fd5b92718b89f7648a28f8da59a2df76b517cdeb0203f850c5d",
|
||||
"source": "public/static/logo.png"
|
||||
},
|
||||
{
|
||||
"id": "1:706",
|
||||
"name": "footer-png-versioned",
|
||||
"file": "public/static/brand/huakui-20261013/footer.png",
|
||||
"width": 248,
|
||||
"height": 88,
|
||||
"sha256": "db8d678831257b6776cbee9e4cd752c7a360cba098634787879f819920b64c49",
|
||||
"source": "public/static/logo2.png"
|
||||
},
|
||||
{
|
||||
"id": "3:21847",
|
||||
"name": "login-symbol-versioned",
|
||||
"file": "public/static/brand/huakui-20261013/auth.png",
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"sha256": "bd08f5199d6d4bc7831f3b7863f6d2ba6496750ff65aff39ea23305131e53403",
|
||||
"source": "public/static/logo_icon.png"
|
||||
},
|
||||
{
|
||||
"id": "3:15722",
|
||||
"name": "symbol-versioned",
|
||||
"file": "public/static/brand/huakui-20261013/icon.svg",
|
||||
"width": 34,
|
||||
"height": 34,
|
||||
"sha256": "f1f80d0ea052d49d405e5ce3ea80d2f6a511c2b68ac4094e330434f2b883f603",
|
||||
"source": "public/static/favicon.svg"
|
||||
},
|
||||
{
|
||||
"id": "3:15722",
|
||||
"name": "favicon-png-versioned",
|
||||
"file": "public/static/brand/huakui-20261013/icon.png",
|
||||
"width": 68,
|
||||
"height": 68,
|
||||
"sha256": "433a136adc0416be48822a3ae9d214beb0096e7a69be1b7803e5e8788f0dc70f",
|
||||
"source": "public/static/favicon.png"
|
||||
},
|
||||
{
|
||||
"id": "3:15722",
|
||||
"name": "favicon-ico-versioned",
|
||||
"file": "public/static/brand/huakui-20261013/favicon.ico",
|
||||
"width": 68,
|
||||
"height": 68,
|
||||
"sha256": "f9c5f3c9b35123fae480286215c10334b2ea75d35e84770e9aa10a12c8756ff9",
|
||||
"source": "public/static/favicon.ico"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 30 KiB |
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"file": "public/static/brand/placeholder.svg",
|
||||
"width": 480,
|
||||
"height": 480,
|
||||
"sha256": "08a739c4d5f374c44a3bee35d32256334b8b79fff2f31c6c78bab10e3afb6284",
|
||||
"source": "Composition using the unmodified Figma brand export and the design panel background token.",
|
||||
"background": {
|
||||
"color": "#26272f",
|
||||
"source": "Figma global panel token"
|
||||
},
|
||||
"composition": {
|
||||
"type": "svg-container",
|
||||
"embeddedImage": {
|
||||
"file": "public/static/brand/footer.svg",
|
||||
"source": "https://www.figma.com/design/1vUq4wf5xOs8ZOlmt26Q3O/?node-id=1-706",
|
||||
"nodeId": "1:706",
|
||||
"sha256": "5268c270113a1e55e6d56e8f934f317ef2e7e357ae472373160a3bc96b61bd6e",
|
||||
"encoding": "base64",
|
||||
"unmodified": true,
|
||||
"x": 120,
|
||||
"y": 197.419355,
|
||||
"width": 240,
|
||||
"height": 85.16129,
|
||||
"opacity": 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 40 KiB |