From 8dc5cfc37c909200ae8d8e19fd342b8f1051d145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Thu, 24 Oct 2024 11:42:57 +0800 Subject: [PATCH] =?UTF-8?q?optimize:=20=E6=B5=8B=E9=80=9F=E8=B6=85?= =?UTF-8?q?=E8=BF=87250ms=E7=9A=84=EF=BC=8C=E6=98=BE=E7=A4=BA=E4=B8=BA?= =?UTF-8?q?=E9=BB=84=E8=89=B2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gui/src/view/pages/server.vue | 2 +- packages/gui/src/view/style/theme/dark.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/gui/src/view/pages/server.vue b/packages/gui/src/view/pages/server.vue index 32105a1..af9714f 100644 --- a/packages/gui/src/view/pages/server.vue +++ b/packages/gui/src/view/pages/server.vue @@ -211,7 +211,7 @@ + :color="element.time?(element.time>250?'orange':'green'):'red'" :key='index'> {{ element.host }} {{ element.time }}{{ element.time ? 'ms' : '' }} {{ element.dns }} diff --git a/packages/gui/src/view/style/theme/dark.scss b/packages/gui/src/view/style/theme/dark.scss index e2128b2..9a257db 100644 --- a/packages/gui/src/view/style/theme/dark.scss +++ b/packages/gui/src/view/style/theme/dark.scss @@ -122,6 +122,12 @@ $dark-input: #777; //输入框:背景色 border-color: #505f5f; color: #90cb9f; } + /* 标签:警告 */ + .ant-tag-orange{ + background: #62605e; + border-color: #62605e; + color: #e7aa61; + } /* 按钮 */ .ant-btn:not(.ant-btn-danger, .ant-btn-primary){