From b8c4045a078ab0830e637f5d98d64e693be9cee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Thu, 9 Apr 2020 12:19:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20alert-message=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E3=80=81=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/assets/stylus/main.scss | 26 +++++ .../common/bottomBox/tabs/alertMessageTab.vue | 106 +++++++++++++++++- .../src/components/page/alert/list.vue | 66 ++++++++++- .../src/components/page/project/project.vue | 2 +- 4 files changed, 192 insertions(+), 8 deletions(-) diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index 4c8f7bebe..88fe8254b 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -1363,6 +1363,32 @@ li{ color: $box-title-color; font-weight: bold; } + +.alert-clean-pop.el-popover { + min-width: 30px; + padding: 5px 0; + text-align: center; + top: 20px; +} +.sub-list .alert-clean-pop.el-popover { + top: 1px; +} +.alert-clean-pop::after { + content: ''; + display: block; + width:0; + height:0; + overflow: hidden; + font-size: 0; + line-height: 0; + border: 5px; + border-style: solid dashed dashed dashed; + border-color: #fff transparent transparent transparent; + position: absolute; + left: 50%; + bottom: 0; + transform: translate(-50%, 10px); +} /*列表中状态字段 的小圆点*/ .active-icon{ margin-top:15px; diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue index d8a380434..0b6476281 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue @@ -1,5 +1,5 @@