feat:增加美食表单功能

This commit is contained in:
2025-06-24 20:00:06 +08:00
parent 4956c1822e
commit 69c0bfa4c7
18 changed files with 836 additions and 92 deletions

View File

@@ -1,5 +1,35 @@
export type IFoodSegment = 'recipe' | 'daily' | 'timeline'
/**
* 食材信息
*/
export interface IFoodMaterial {
type: string;
name: string;
amount: string;
}
/**
* 步骤信息
*/
export interface IFoodStep {
sort: number;
content: string;
imageUrl: string;
}
/**
* 成果信息
*/
export interface IFoodRecord {
id: number;
name: string;
category: string;
date: string;
person: string;
imageUrl: string;
}
/**
* 菜谱信息
*/
@@ -35,36 +65,6 @@ export interface IFoodRecipe {
recordList: IFoodRecord[];
}
/**
* 食材信息
*/
export interface IFoodMaterial {
type: string;
name: string;
amount: string;
}
/**
* 步骤信息
*/
export interface IFoodStep {
sort: number;
content: string;
imageUrl: string;
}
/**
* 成果信息
*/
export interface IFoodRecord {
id: number;
name: string;
category: string;
date: string;
person: string;
imageUrl: string;
}
/**
* 统计信息
*/