From 3a65cb7209581fb720c91aa78404ed320fa042cf Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Thu, 9 Apr 2026 08:24:28 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20header=E9=87=8D=E6=8E=92=E3=80=81?= =?UTF-8?q?=E5=85=B1=E4=BA=AB=E9=85=8D=E6=96=B9=E3=80=81=E5=BE=85=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E3=80=81=E6=9D=83=E9=99=90=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Header: - 登录按钮固定右侧,flex布局自适应所有屏幕 - 登录后不显示版本号,用户名在右侧 - 商业认证用户显示🏢标识 - 手机端响应式适配 配方共享: - 个人配方卡片加📤共享按钮 - 提交到公共库,非管理员需审核 管理配方: - 待审核栏从recipes动态计算(不依赖不存在的API) - 采纳用/adopt端点,拒绝=确认删除 - senior_editor可编辑精油和公共配方 Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitignore | 1 + frontend/src/App.vue | 112 +++++++++++++++++++-------- frontend/src/views/RecipeManager.vue | 33 ++++---- frontend/src/views/RecipeSearch.vue | 38 +++++++++ 4 files changed, 133 insertions(+), 51 deletions(-) diff --git a/.gitignore b/.gitignore index 2502601..847cb22 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ backups/ # Frontend frontend/node_modules/ frontend/dist/ +frontend/.vite/ diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 4e69697..f65c092 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -2,38 +2,23 @@
⚠️ 预览环境 · PR #{{ prId }} · 数据为生产副本,修改不影响正式环境
-
-
-
🌿
-
-

- doTERRA 配方计算器 - v2.2.0 - - - - - -

-

- 查询配方 - · - 计算成本 - · - 自制配方 - · - 导出卡片 - · - 精油知识 -

+
+
+
+
🌿
+
+

doTERRA 配方计算器

+

查询配方 · 计算成本 · 自制配方 · 导出卡片 · 精油知识

+
+
+
+ +
@@ -141,3 +126,66 @@ onMounted(async () => { }, 15000) }) + + diff --git a/frontend/src/views/RecipeManager.vue b/frontend/src/views/RecipeManager.vue index 3679a9a..393f557 100644 --- a/frontend/src/views/RecipeManager.vue +++ b/frontend/src/views/RecipeManager.vue @@ -196,7 +196,7 @@