diff --git a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue index 86db26197..3e9a1d613 100644 --- a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue +++ b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue @@ -1115,6 +1115,9 @@ export default { }, }, mounted() { + + this.recipes = Array(this.ui.page_size).fill({loading:true}) + this.$nextTick(function () { if (this.$cookies.isKey(UI_COOKIE_NAME)) { this.ui = Object.assign({}, this.ui, this.$cookies.get(UI_COOKIE_NAME)) diff --git a/vue/src/components/RecipeCard.vue b/vue/src/components/RecipeCard.vue index 13a68a366..17bfb2da2 100755 --- a/vue/src/components/RecipeCard.vue +++ b/vue/src/components/RecipeCard.vue @@ -1,65 +1,105 @@ - - - - - - - - - - {{ working_time }} - {{ waiting_time }} - - + + + + + + + + + + + + + + + + + + + + - - - {{ recipe.name }} - {{ meal_plan.title }} + + + + + + + + + {{ working_time }} + + + {{ waiting_time }} + + - - - - - + + + + {{ recipe.name }} + {{ meal_plan.title }} + + + + + + + {{ recipe.description.substr(0, text_length) + "\u2026" }} - + {{ recipe.description }} - - - - - - - - - {{ $t("Ingredients") }} + + + + + + + + + {{ $t("Ingredients") }} + - - - - + + + + - {{ $t("External") }} - - {{ meal_plan.note }} - - + {{ $t("External") }} + + {{ meal_plan.note }} + + + + {{ footer_text }} + + + + + - {{ footer_text }} -
- - -
+ + +