From 5ae979f7e152d0335ab76984bbf976b3c34c2b88 Mon Sep 17 00:00:00 2001 From: eafonyang Date: Tue, 18 Aug 2026 14:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=20luxsin=20controll?= =?UTF-8?q?er=20=E8=A7=A3=E7=A0=81=E7=BB=93=E6=9E=9C=E5=9C=A8=E6=B7=B1?= =?UTF-8?q?=E8=89=B2=E6=A8=A1=E5=BC=8F=E4=B8=8B=EF=BC=8C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=A1=86=E5=AF=B9=E6=AF=94=E5=BA=A6=E4=B8=8D=E9=AB=98=EF=BC=8C?= =?UTF-8?q?=E7=9C=8B=E4=B8=8D=E6=B8=85=E6=A5=9A=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/toolbox/luxsin-controller/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue b/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue index 1dd8bbb..80ea54e 100644 --- a/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue +++ b/dashboard/frontend/src/views/toolbox/luxsin-controller/index.vue @@ -534,12 +534,14 @@ onBeforeUnmount(() => { background: rgba(251, 113, 133, 0.06); } -:global(html.dark) .json-output { +/* 注意:scoped 下 :global(html.dark) .xxx 会被编译成 html.dark { ... }(丢弃 .xxx), + * 直接写 html.dark .xxx 才能编译为 html.dark .xxx[data-v] 正确命中 */ +html.dark .json-output { color: #cbd5e1; background: rgba(15, 23, 42, 0.5); } -:global(html.dark) .error-text { +html.dark .error-text { color: #fb7185; } @@ -590,11 +592,11 @@ onBeforeUnmount(() => { font-weight: 500; } -:global(html.dark) .log-entry { +html.dark .log-entry { border-bottom-color: rgba(255, 255, 255, 0.06); } -:global(html.dark) .log-path { +html.dark .log-path { color: #818cf8; }