feat:更新好友菜谱功能
This commit is contained in:
@@ -29,7 +29,6 @@ class RecipeCard extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
CommonImage(imageUrls: imageUrls, index: 0),
|
||||
SizedBox(height: 8),
|
||||
InkWell(
|
||||
onTap: () => navigatorToRecipeDetail(context),
|
||||
child: _buildRecipeContent(context),
|
||||
@@ -56,6 +55,11 @@ class RecipeCard extends StatelessWidget {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
_buildIconText(
|
||||
icon: Icons.star,
|
||||
text: recipe.recommendRate.toString(),
|
||||
color: colors.primary,
|
||||
),
|
||||
],
|
||||
),
|
||||
SizedBox(height: 5),
|
||||
@@ -70,7 +74,7 @@ class RecipeCard extends StatelessWidget {
|
||||
const SizedBox(width: 12),
|
||||
_buildIconText(
|
||||
icon: Icons.note_add,
|
||||
text: recipe.recordList.length.toString(),
|
||||
text: '${recipe.recordList.length.toString()}次',
|
||||
color: colors.primary,
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user