diff --git a/frontend/src/components/recipe-mobile/recipe-edit.vue b/frontend/src/components/recipe-mobile/recipe-edit.vue
new file mode 100644
index 0000000..054d5f5
--- /dev/null
+++ b/frontend/src/components/recipe-mobile/recipe-edit.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+ 肉
+ 菜
+ 汤
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
diff --git a/frontend/src/components/recipe-mobile/recipe-list.vue b/frontend/src/components/recipe-mobile/recipe-list.vue
index 1e58a24..0b6e018 100644
--- a/frontend/src/components/recipe-mobile/recipe-list.vue
+++ b/frontend/src/components/recipe-mobile/recipe-list.vue
@@ -6,7 +6,16 @@
@load="onLoad"
class="recipe-list"
>
-
+
{{
constants.formatRecipeType(recipe.recipe_type)
diff --git a/frontend/src/components/recipe-mobile/week-recipe.vue b/frontend/src/components/recipe-mobile/week-recipe.vue
new file mode 100644
index 0000000..abb5820
--- /dev/null
+++ b/frontend/src/components/recipe-mobile/week-recipe.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js
index 67c28e0..1f656c0 100644
--- a/frontend/src/router/index.js
+++ b/frontend/src/router/index.js
@@ -6,6 +6,7 @@ import DailyRecipeDetail from '@/views/dailyRecipeDetail.vue'
import RecipeMobileHome from '@/views/recipe-mobile/Home.vue'
import RecipeMobileRecipeCreate from '@/views/recipe-mobile/RecipeCreate.vue'
import RecipeMobileWeekRecipe from '@/views/recipe-mobile/WeekRecipe.vue'
+import RecipeMobileRecipeDetail from '@/views/recipe-mobile/RecipeDetail.vue'
const routes = [
{
@@ -45,6 +46,11 @@ const routes = [
name: "RecipeMobileWeekRecipe",
component: RecipeMobileWeekRecipe
},
+ {
+ path: '/recipe-mobile/recipe/:id',
+ name: "RecipeMobileRecipeDetail",
+ component: RecipeMobileRecipeDetail
+ },
];
const router = createRouter({
diff --git a/frontend/src/views/recipe-mobile/Home.vue b/frontend/src/views/recipe-mobile/Home.vue
index dfe9bd1..194406d 100644
--- a/frontend/src/views/recipe-mobile/Home.vue
+++ b/frontend/src/views/recipe-mobile/Home.vue
@@ -1,10 +1,9 @@
-1
+
diff --git a/frontend/src/views/recipe-mobile/RecipeCreate.vue b/frontend/src/views/recipe-mobile/RecipeCreate.vue
index 56ee512..60bf38c 100644
--- a/frontend/src/views/recipe-mobile/RecipeCreate.vue
+++ b/frontend/src/views/recipe-mobile/RecipeCreate.vue
@@ -1,117 +1,20 @@
-
-
-
-
-
-
- 肉
- 菜
- 汤
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
-
-
+
-
-
diff --git a/frontend/src/views/recipe-mobile/RecipeDetail.vue b/frontend/src/views/recipe-mobile/RecipeDetail.vue
new file mode 100644
index 0000000..e26ec75
--- /dev/null
+++ b/frontend/src/views/recipe-mobile/RecipeDetail.vue
@@ -0,0 +1,28 @@
+
+
+
+
+
+
diff --git a/frontend/src/views/recipe-mobile/WeekRecipe.vue b/frontend/src/views/recipe-mobile/WeekRecipe.vue
index 1861e95..acc1fb7 100644
--- a/frontend/src/views/recipe-mobile/WeekRecipe.vue
+++ b/frontend/src/views/recipe-mobile/WeekRecipe.vue
@@ -1,131 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-