feat:更新记录页面模块

This commit is contained in:
2025-07-06 19:04:30 +08:00
parent bb6874582f
commit ab00d6726f
12 changed files with 518 additions and 165 deletions

21
lib/models/recipe.dart Normal file
View File

@@ -0,0 +1,21 @@
class Recipe {
final String name;
final String category;
final String date;
final String imageUrl;
final int likeCount;
final int favoriteCount;
final int commentCount;
Recipe(
this.name,
this.category,
this.date,
this.imageUrl,
this.likeCount,
this.favoriteCount,
this.commentCount,
);
}
enum ViewType { recipe, calendar, timeline }