feat: 新增「喝什么」场景,支持奶茶/咖啡/酒吧等饮品店搜索
引入场景系统(SceneType),首页增加「吃什么」「喝什么」切换 Tab, 不同场景使用不同的高德 POI 类型、热门标签、价格区间和全链路文案。 场景信息存储在房间数据中,邀请/分享/匹配结果等页面自动适配。
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export type SceneType = "eat" | "drink";
|
||||
|
||||
export interface Restaurant {
|
||||
id: string;
|
||||
name: string;
|
||||
@@ -36,6 +38,7 @@ export interface RoomStatus {
|
||||
locked: boolean;
|
||||
users: string[];
|
||||
userProfiles: Record<string, UserProfile>;
|
||||
scene: SceneType;
|
||||
}
|
||||
|
||||
export interface UserProfile {
|
||||
|
||||
Reference in New Issue
Block a user