This commit is contained in:
eric
2026-03-11 23:47:45 -05:00
parent 296d703307
commit 0c2ccadb6b
35 changed files with 2399 additions and 195 deletions

112
app/data/vip.mock.ts Normal file
View File

@@ -0,0 +1,112 @@
/**
* VIP 首页 Mock 数据 - 集中管理
* 后续可替换为 api.hackrobot.cn 真实接口
*/
export const ASSET_STATS = {
topics: 4,
ebooks: 2,
videos: 12,
templates: 8,
updateFrequency: "每周",
} as const;
export const TOPICS = [
{
id: "ebook",
icon: "📖",
title: "电子书",
desc: "地理套利·自动化",
href: "/ebook",
},
{
id: "cloudphone",
icon: "🎬",
title: "视频教程",
desc: "云手机·无人直播",
href: "/cloudphone",
},
{
id: "community",
icon: "👥",
title: "私密社群",
desc: "抱团出海",
href: "https://qun.hackrobot.cn",
},
{
id: "tools",
icon: "🛒",
title: "设备自助",
desc: "开箱即用",
href: null,
},
] as const;
/** 模块展示 - 首页展示用 */
export const TOPICS_DISPLAY = [
{ id: "ebook", icon: "📖", title: "电子书", desc: "地理套利·自动化杠杆", href: "/ebook" },
{ id: "cloudphone", icon: "🎬", title: "视频教程", desc: "云手机·无人直播", href: "/cloudphone" },
{ id: "community", icon: "👥", title: "私密社群", desc: "抱团出海", href: "https://qun.hackrobot.cn" },
{ id: "tools", icon: "🛒", title: "设备自助", desc: "开箱即用", href: null },
] as const;
/** 电子书展示 - 首页展示用 */
export const EBOOKS_DISPLAY = [
{ id: "1", title: "数字游民", desc: "地理套利与自动化杠杆", href: "/ebook" },
{ id: "2", title: "云手机", desc: "低成本工作室搭建指南", href: "/cloudphone" },
] as const;
/** 视频教程展示 - 参考 digital.hackrobot.cn 资源导航专题,至少 4 个 */
export const VIDEO_COURSES_DISPLAY = [
{ id: "cloudphone", icon: "☁️", title: "云手机模块", desc: "低成本自建云手机TikTok/YouTube 运营搭建指南", href: "/topic/cloudphone" },
{ id: "livestream", icon: "📺", title: "无人直播模块", desc: "TikTok/YouTube 无人直播24 小时自动化", href: "/topic/livestream" },
{ id: "indie", icon: "🛠️", title: "独立开发模块", desc: "从想法到产品,独立开发者全流程指南", href: "/topic/indie" },
{ id: "aiagent", icon: "🤖", title: "AI Agent 模块", desc: "AIGC 与智能体Vibe Coding 跨界创造", href: "/topic/aiagent" },
] as const;
export const COMPARE_ITEMS = [
{ feature: "电子书", single: "单买", member: "全解锁" },
{ feature: "视频教程", single: "单买", member: "全解锁" },
{ feature: "私密社群", single: "—", member: "✓" },
{ feature: "即时问答", single: "—", member: "✓" },
{ feature: "持续更新", single: "—", member: "✓" },
] as const;
export const COMMUNITY_PREVIEW = [
{ icon: "👥", text: "私密社群,抱团出海" },
{ icon: "💬", text: "即时问答,技术咨询" },
{ icon: "🎪", text: "线下沙龙,面交对接" },
] as const;
export const FAQ_ITEMS = [
{
q: "会员包含哪些内容?",
a: "电子书、视频教程、私密社群、即时问答、设备自助等全部解锁,并享受持续更新。",
},
{
q: "如何加入?",
a: "点击「立即加入」完成支付即可,支付成功后自动开通,无需人工审核。",
},
{
q: "支持退款吗?",
a: "本内容为虚拟数字交付,不支持退款。购买前请确认适合您的需求。",
},
] as const;
/** 已登录控制台用 */
export const RECENT_UPDATES = [
{ id: "1", title: "云手机·第3章更新", date: "3月10日", href: "/cloudphone/course/2/0" },
{ id: "2", title: "电子书·地理套利补充", date: "3月8日", href: "/ebook" },
{ id: "3", title: "模板库·RPA 脚本新增", date: "3月5日", href: null },
] as const;
export const COMMUNITY_HIGHLIGHTS = [
{ id: "1", text: "本周社群讨论:出海合规要点", href: "https://qun.hackrobot.cn" },
{ id: "2", text: "问答精选:云手机多开方案", href: "https://chatwoot.hackrobot.cn/livechat?user_id=hackrobot" },
] as const;
export const WEEKLY_ACTIONS = [
{ id: "1", text: "完成云手机第2章", href: "/cloudphone/course/1/0", priority: 1 },
{ id: "2", text: "阅读电子书地理套利篇", href: "/ebook", priority: 2 },
{ id: "3", text: "加入社群参与讨论", href: "https://qun.hackrobot.cn", priority: 3 },
] as const;