This commit is contained in:
eric
2026-03-16 01:09:13 -05:00
parent 91d56fa086
commit ff135563fb
15 changed files with 532 additions and 143 deletions

View File

@@ -1,13 +1,11 @@
/** 开放城市 - 其他待开放 */
export const CITIES = ["深圳", "广州", "惠州"] as const;
/** 开放城市 - 仅深圳 */
export const CITIES = ["深圳"] as const;
/** 活动类型 */
export const ACTIVITY_TYPES = {
"skill-exchange": "技能交换",
"side-hustle": "副业沙龙/茶话会",
"cafe": "咖啡馆聊天",
"bookstore": "书店",
"citywalk": "Citywalk",
"loft": "loft民宿",
"light-chat": "轻话题",
} as const;
@@ -17,31 +15,37 @@ export const SESSION_TAGS = {
"public-venue": "公开场地",
"small-group": "6-8 人",
"weekend-pm": "周末下午",
"cafe": "咖啡馆",
"bookstore": "书店",
"citywalk": "Citywalk",
"loft": "loft民宿",
"light-topic": "轻话题",
} as const;
/** 咖啡馆/书店/城市 占位图 - Unsplash 真实场景 */
const IMG_CAFE = "https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?w=400&h=300&fit=crop";
const IMG_BOOKSTORE = "https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=400&h=300&fit=crop";
const IMG_CITY = "https://images.unsplash.com/photo-1519501025264-65ba15a82390?w=400&h=300&fit=crop";
/** loft民宿 占位图 - Unsplash 室内/loft 风格 */
const IMG_LOFT_1 = "https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=400&h=300&fit=crop";
const IMG_LOFT_2 = "https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=400&h=300&fit=crop";
/** 本周活动场次 */
export const SESSIONS = [
{ id: "session-1", date: "3月16日 周六", time: "14:00", place: "南山区某咖啡馆", city: "深圳", type: "skill-exchange" as const, title: "周末技能交换", coverImage: IMG_CAFE, tags: ["first-friendly", "public-venue", "small-group", "weekend-pm", "cafe", "light-topic"] as const },
{ id: "session-2", date: "3月17日 周日", time: "15:00", place: "天河区某书店", city: "广州", type: "side-hustle" as const, title: "副业沙龙", coverImage: IMG_BOOKSTORE, tags: ["first-friendly", "public-venue", "small-group", "weekend-pm", "bookstore"] as const },
{ id: "session-1", date: "3月16日 周六", time: "14:00", place: "南山区某loft民宿", city: "深圳", type: "skill-exchange" as const, title: "周末技能交换", coverImage: IMG_LOFT_1, tags: ["first-friendly", "public-venue", "small-group", "weekend-pm", "loft", "light-topic"] as const },
{ id: "session-2", date: "3月17日 周日", time: "15:00", place: "福田区某loft民宿", city: "深圳", type: "side-hustle" as const, title: "副业沙龙", coverImage: IMG_LOFT_2, tags: ["first-friendly", "public-venue", "small-group", "weekend-pm", "loft"] as const },
];
/** 最近报名意向 - 中国人头像 mockUnsplash 亚洲人像 */
export const RECENT_JOINERS = [
{ name: "晓琪", avatar: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=80&h=80&fit=crop&crop=face" },
{ name: "雨晴", avatar: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=80&h=80&fit=crop&crop=face" },
{ name: "子豪", avatar: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=80&h=80&fit=crop&crop=face" },
{ name: "林晓", avatar: "https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?w=80&h=80&fit=crop&crop=face" },
{ name: "佳琪", avatar: "https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=80&h=80&fit=crop&crop=face" },
{ name: "浩然", avatar: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=80&h=80&fit=crop&crop=face" },
{ name: "心怡", avatar: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=80&h=80&fit=crop&crop=face" },
{ name: "阿杰", avatar: "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=80&h=80&fit=crop&crop=face" },
/** 历史活动(用于时间轴展示 */
export const PAST_SESSIONS = [
{ id: "past-1", date: "3月9日 周六", time: "14:00", place: "福田区某loft民宿", city: "深圳", type: "skill-exchange" as const, title: "周末技能交换", coverImage: IMG_LOFT_1, tags: ["loft", "light-topic"] as const },
{ id: "past-2", date: "3月10日 周日", time: "15:00", place: "南山区某loft民宿", city: "深圳", type: "side-hustle" as const, title: "副业沙龙", coverImage: IMG_LOFT_2, tags: ["loft"] as const },
{ id: "past-3", date: "3月2日 周六", time: "14:00", place: "南山区某loft民宿", city: "深圳", type: "skill-exchange" as const, title: "周末技能交换", coverImage: IMG_LOFT_1, tags: ["loft"] as const },
{ id: "past-4", date: "3月3日 周日", time: "15:00", place: "福田区某loft民宿", city: "深圳", type: "side-hustle" as const, title: "副业沙龙", coverImage: IMG_LOFT_2, tags: ["loft"] as const },
{ id: "past-5", date: "2月24日 周六", time: "14:00", place: "南山区某loft民宿", city: "深圳", type: "skill-exchange" as const, title: "周末技能交换", coverImage: IMG_LOFT_1, tags: ["loft"] as const },
];
/** 最近报名意向 - mock 数据,含小红书昵称与主页链接(悬浮显示昵称,点击不跳转) */
export const RECENT_JOINERS = [
{ name: "晓琪", avatar: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
{ name: "雨晴", avatar: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
{ name: "子豪", avatar: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
{ name: "林晓", avatar: "https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
{ name: "佳琪", avatar: "https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
{ name: "浩然", avatar: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
{ name: "心怡", avatar: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
{ name: "阿杰", avatar: "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=80&h=80&fit=crop&crop=face", xiaohongshu_url: "https://www.xiaohongshu.com/user/profile/xxx" },
];