From 1f329bfbe178a1c51352790c4f75c424a56adf79 Mon Sep 17 00:00:00 2001 From: chiyi Date: Mon, 12 Oct 2026 15:07:03 +0800 Subject: [PATCH] =?UTF-8?q?style(canvas):=20=E5=B8=B8=E8=A7=84=E8=BF=9E?= =?UTF-8?q?=E7=BA=BF=E6=94=B9=E8=93=9D=E8=89=B2=E8=99=9A=E7=BA=BF,?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=89=8D=E6=98=BE=E7=A4=BA=E7=B4=AB=E8=89=B2?= =?UTF-8?q?=E5=AE=9E=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/CanvasStage.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/canvas/CanvasStage.vue b/frontend/src/components/canvas/CanvasStage.vue index 4adc24e..258306c 100644 --- a/frontend/src/components/canvas/CanvasStage.vue +++ b/frontend/src/components/canvas/CanvasStage.vue @@ -802,11 +802,13 @@ defineExpose({ height: 1px; overflow: visible; } +/* 常规连线:蓝色虚线;选中时改紫色实线加粗 */ .cv-edge { fill: none; - stroke: var(--m-orange-2); + stroke: rgb(95 108 248 / 0.85); stroke-width: 2.4; - filter: drop-shadow(0 0 5px rgb(34 211 238 / 0.35)); + stroke-dasharray: 10 6; + filter: drop-shadow(0 0 5px rgb(124 92 252 / 0.3)); } .cv-edge--hot { stroke: var(--m-orange); @@ -816,7 +818,7 @@ defineExpose({ .cv-edge--sel { stroke: var(--m-orange); stroke-width: 3.5; - stroke-dasharray: 10 6; + stroke-dasharray: none; filter: drop-shadow(0 0 8px var(--accent-glow)); } .cv-edge-hit {