From 0434cef898d729d8cd4a3b6a4278f225dfc3b104 Mon Sep 17 00:00:00 2001 From: renpy Date: Wed, 9 Aug 2023 11:57:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91serverMonitor=20=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=20instances=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/abnormalAlarm/line.png | Bin 0 -> 975 bytes .../abnormalAlarm/components/summaryArea.vue | 93 +++ .../serverMonitor/instances/details.vue | 786 +++++++++++++++++- 3 files changed, 872 insertions(+), 7 deletions(-) create mode 100644 src/assets/images/abnormalAlarm/line.png create mode 100644 src/views/abnormalAlarm/components/summaryArea.vue diff --git a/src/assets/images/abnormalAlarm/line.png b/src/assets/images/abnormalAlarm/line.png new file mode 100644 index 0000000000000000000000000000000000000000..510b1b55ea32589946ce4954da92fd5d9d73c790 GIT binary patch literal 975 zcmaJ=y>HV%9CfLXP@^&cLt#1`DuG0NKDSA*RTGlfp_XtJr9sUY$G#+1VxO_E#L0jV zDg%4@0~lHO2Rbk#keFCl>B3a;F)$#7bDE?Kgp=(1(0lLqaqnJKckZvQTwCEdZq?Y< zYHU8wK5*e2`#J7R}+H_!rm@7J@g@NH&9bChfGko+8Z*kmm+O0Qe!+fCF z#1pIpBg9_7*c`W2hy%;+VG3Hf zxC^#og$a0=S|IlNex$@IKhag#Iyr_sm_TSx(L$%K)U?Vp7Tc+Om(oCia4;AMgAIX%9f)LEhN1)| zDZ>z%Xy{Wb&iGM!rl8@-4&8vd#0QC@)gt>;JkC3hxHCZc_>8P_@E$_u%P7rcN))^O-P#!e+99+=duxQlbiE!3NGoyEE27jhv>1|~QA z*GC*_$XCTCpB~ZXJKhHrcpz#X7$Hd;C>REw72+ zQiyr?dkUd@OX-7yAFrB+1?|`P`i;Z!$(N(?c)Vmh<(9d%^@|^${CxdBd18jXqrE9L GpZx)E%Q7th literal 0 HcmV?d00001 diff --git a/src/views/abnormalAlarm/components/summaryArea.vue b/src/views/abnormalAlarm/components/summaryArea.vue new file mode 100644 index 0000000..e78ac73 --- /dev/null +++ b/src/views/abnormalAlarm/components/summaryArea.vue @@ -0,0 +1,93 @@ + + + + + \ No newline at end of file diff --git a/src/views/abnormalAlarm/serverMonitor/instances/details.vue b/src/views/abnormalAlarm/serverMonitor/instances/details.vue index 5b183af..a965002 100644 --- a/src/views/abnormalAlarm/serverMonitor/instances/details.vue +++ b/src/views/abnormalAlarm/serverMonitor/instances/details.vue @@ -265,8 +265,17 @@
- + +
+
@@ -274,32 +283,122 @@ +
+
+
- + +
+
@@ -578,12 +1290,43 @@ export default { } .content-center{ width: 100%; - height: 130px; + height: 115px; + position: relative; // height: 14.9%; + .legend-list{ + list-style:none; + li{ + float: left; + font-size: 14px; + margin-left: 25px; + .li-icon{ + display: inline-block; + vertical-align: middle; + width: 12px; + height: 12px; + border-radius: 50%; + background: red; + margin-right: 10px; + } + } + } + .line-bg{ + width: 100%; + height: 32px; + position: absolute; + left: 0; + top: 55px; + background: url(~@/assets/images/abnormalAlarm/line.png) repeat; + } + .time-line{ + width: 100%; + height: 75px; + position: relative; + } } .content-bottom{ width: 100%; - height: calc(100% - 461px); + height: calc(100% - 446px); // height: 41.6%; display: flex; justify-content: space-between; @@ -593,11 +1336,40 @@ export default { &-top{ width: 100%; height: 160px; + .gauge-content{ + width: 100%; + height: 120px; + } } &-bottom{ width: 100%; height: calc(100% - 160px); + .right-title{ + font-family: ArialMT; + font-size: 12px; + letter-spacing: 1px; + color: #ade6ee; + font-weight: normal; + &-item{ + display: inline-block; + margin-left: 20px; + } + i{ + font-size: 16px; + font-style: normal; + letter-spacing: 2px; + color: #ade6ee; + } + } + .area-cpu{ + width: 100%; + height: calc(100% - 40px); + } } } + .bar-disk{ + width: 100%; + height: calc(100% - 40px); + } } \ No newline at end of file