From 1c6f4b6bdc6ee670a702c34d77641dba99750968 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 12 Oct 2020 14:03:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9alertRule?= =?UTF-8?q?=E7=9A=84severity=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/page/alert/config.vue | 34 ++++++++++++++++--- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/nezha-fronted/src/components/page/alert/config.vue b/nezha-fronted/src/components/page/alert/config.vue index 771d4b8dd..457177f8a 100644 --- a/nezha-fronted/src/components/page/alert/config.vue +++ b/nezha-fronted/src/components/page/alert/config.vue @@ -2,6 +2,27 @@ .config { height: 100%; } + .severity .high{ + background: #F2866E; + border-radius: 2px; + font-size: 12px; + color: #FFFFFF; + padding: 2px 6px; + } + .severity .medium{ + background: #F89984; + border-radius: 2px; + font-size: 12px; + color: #FFFFFF; + padding: 2px 6px; + } + .severity .low{ + background: #F7BA78; + border-radius: 2px; + font-size: 12px; + color: #FFFFFF; + padding: 2px 6px; + }