From 69a55778ec315dd327bbf4efb2b99ffde0d713d8 Mon Sep 17 00:00:00 2001 From: Ching Date: Sun, 13 Feb 2022 20:06:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(recipe=20edit=20page):=20=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E8=8F=9C=E8=B0=B1=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E9=A3=9F=E6=9D=90=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 编辑菜谱页面增加创建食材功能 Signed-off-by: Ching --- .../components/recipe-mobile/recipe-edit.vue | 137 ++++++++++++++---- recipe/views.py | 2 +- 2 files changed, 112 insertions(+), 27 deletions(-) diff --git a/frontend/src/components/recipe-mobile/recipe-edit.vue b/frontend/src/components/recipe-mobile/recipe-edit.vue index 5502ca9..eab9d62 100644 --- a/frontend/src/components/recipe-mobile/recipe-edit.vue +++ b/frontend/src/components/recipe-mobile/recipe-edit.vue @@ -70,7 +70,19 @@
- + + 创建食材 + +
+ + + + + + +
@@ -100,7 +137,6 @@ class="submit-button" round type="danger" - plain hairline :disabled="disable_submit" @click="onSubmitDelete(recipe_id)" @@ -113,7 +149,6 @@ class="submit-button" round type="primary" - plain hairline :disabled="disable_submit" @click="onSubmit(recipe_id)" @@ -126,7 +161,6 @@ class="submit-button" round type="primary" - plain hairline :disabled="disable_submit" @click="onSubmit(recipe_id)" @@ -141,25 +175,26 @@