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; } 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; } + + +