From 5cafab753452626277c74e5074ced6c374b8ed50 Mon Sep 17 00:00:00 2001 From: qiaoxinjiu Date: Mon, 18 May 2026 16:50:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(case):=20=E7=94=A8=E4=BE=8B=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20Tab=E3=80=81=E8=87=AA=E5=8A=A8=E5=8C=96=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E4=B8=8E=E6=97=A5=E6=9C=9F=E7=AD=9B=E9=80=89=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Tab 未选中项在深色/浅色下可读性修复 - 生成自动化用例弹窗独立深色样式(append-to-body) - 创建时间日期范围与主题一致 Co-authored-by: Cursor --- src/components/TestPlatform/Case/CaseList.vue | 134 +++++++++++++++++- 1 file changed, 130 insertions(+), 4 deletions(-) diff --git a/src/components/TestPlatform/Case/CaseList.vue b/src/components/TestPlatform/Case/CaseList.vue index 1d64bb7..de65d01 100644 --- a/src/components/TestPlatform/Case/CaseList.vue +++ b/src/components/TestPlatform/Case/CaseList.vue @@ -36,7 +36,7 @@ - +
@@ -2578,7 +2579,6 @@ export default { } .auto-gen-case-title { - color: #f8fafc; font-weight: 500; line-height: 1.5; word-break: break-word; @@ -2596,8 +2596,7 @@ body.theme-light .ai-gen-params-bar { body.theme-light .ai-gen-params-label, body.theme-light .ai-doc-block-title, -body.theme-light .ai-case-table-title, -body.theme-light .auto-gen-case-title { +body.theme-light .ai-case-table-title { color: #0f172a; } @@ -2665,3 +2664,130 @@ body.theme-light .mindmap-empty { color: #64748b; } + + + From 971967b791db787907345429cf6095aed1343932 Mon Sep 17 00:00:00 2001 From: qiaoxinjiu Date: Mon, 18 May 2026 16:55:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(layout):=20=E5=B7=A6=E4=BE=A7=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=A0=8F=E6=94=AF=E6=8C=81=E7=BA=B5=E5=90=91=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 菜单项过多时可在侧栏内滚动查看,品牌区保持固定。 Co-authored-by: Cursor --- src/components/Home.vue | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/components/Home.vue b/src/components/Home.vue index bd89c9f..65e7b38 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -9,6 +9,7 @@
Quality Workspace
+
+
@@ -391,18 +393,43 @@ export default { } .aside { + display: flex; + flex-direction: column; height: 100%; + overflow: hidden; background: linear-gradient(180deg, #07111f 0%, #081426 46%, #050914 100%); box-shadow: 12px 0 38px rgba(0, 0, 0, 0.42), inset -1px 0 0 rgba(56, 189, 248, 0.14); transition: width 0.25s ease; } +.aside-menu-scroll { + flex: 1; + min-height: 0; + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; +} + +.aside-menu-scroll::-webkit-scrollbar { + width: 6px; +} + +.aside-menu-scroll::-webkit-scrollbar-thumb { + border-radius: 3px; + background: rgba(148, 163, 184, 0.35); +} + +.aside-menu-scroll::-webkit-scrollbar-track { + background: transparent; +} + .aside--collapse .brand-panel { justify-content: center; padding: 18px 8px; } .brand-panel { + flex-shrink: 0; height: 72px; box-sizing: border-box; display: flex; @@ -447,7 +474,6 @@ export default { } .el-menu-vertical-demo { - height: calc(100% - 72px); border-right: none; }