feat: best 匹配结果页展示 Top 3 候选排行,支持折叠查看备选餐厅

This commit is contained in:
2026-02-24 19:30:10 +08:00
parent 30329df136
commit 5d297684fc
6 changed files with 278 additions and 170 deletions
+6
View File
@@ -17,12 +17,18 @@ export type SwipeDirection = "left" | "right";
export type MatchType = "unanimous" | "best" | "no_match" | null;
export interface RunnerUp {
id: string;
likes: number;
}
export interface RoomStatus {
roomId: string;
userCount: number;
match: string | null;
matchType: MatchType;
matchLikes: number;
runnerUps: RunnerUp[];
likeCounts: Record<string, number>;
swipeCounts: Record<string, number>;
restaurants: Restaurant[];