diff --git a/frontend/src/views/Overview/Overview.vue b/frontend/src/views/Overview/Overview.vue
index 422ef07131fcb9c7abb7deb568bd487fb5fac0e9..b8e2c7b330bd2ad1077ea04affa5013cf5ce90cc 100644
--- a/frontend/src/views/Overview/Overview.vue
+++ b/frontend/src/views/Overview/Overview.vue
@@ -33,10 +33,11 @@
-
+
+
+
-
- 消息提醒
+ 消息提醒
@@ -89,15 +90,15 @@ let tooltips = ref([
const messageNum = ref(0);
const Message = ref([
- {
- activeAt: "",
- labels: {
- alertname: "暂无",
- },
- annotations: {
- summary: "暂无",
+ {
+ activeAt: "",
+ labels: {
+ alertname: "暂无",
+ },
+ annotations: {
+ summary: "暂无",
+ },
},
- },
]);
@@ -108,6 +109,8 @@ const Message = ref([
height: 100%;
display: flex;
flex-wrap: wrap;
+ justify-content: space-around;
+ align-items: center;
.total {
width: 48%;
@@ -220,25 +223,30 @@ const Message = ref([
.recent {
width: 48%;
- height: 45%;
+ height: 40%;
+ box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.1);
.message {
- position: relative;
- z-index: 2;
- justify-content: start;
+ display: flex;
+ justify-content: flex-start;
+ align-items: flex-end;
background-color: #fff;
color: rgb(11, 35, 117);
font-size: 16px;
width: 100%;
height: 13%;
- // padding: 2.6%;
box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.1);
+
+ .message_icon {
+ height: 60%;
+ }
}
}
.depart {
- width: 100%;
+ width: 98%;
height: 55%;
+ box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.1);
}
}
\ No newline at end of file