feat:更新菜谱UI

This commit is contained in:
2025-07-01 20:02:08 +08:00
parent be8e105a55
commit b6f7869fe8
10 changed files with 71 additions and 18 deletions

View File

@@ -18,6 +18,14 @@ export interface IStep {
imageUrl: string;
}
export interface IComment {
id: number;
username: string;
avatar: string;
content: string;
date: string;
}
/**
* 成果信息
*/
@@ -63,6 +71,10 @@ export interface IRecipe {
* 成果
*/
recordList: IRecord[];
likeList: string[];
likeCount: number;
commentList: IComment[];
commentCount: number;
}
/**
@@ -78,14 +90,6 @@ export interface IFoodQuery {
category: string;
}
export interface IComment {
id: number;
username: string;
avatar: string;
content: string;
date: string;
}
export interface IMoment {
id?: number;
userId?: number;