diff --git a/src/assets/images/abnormalAlarm/line.png b/src/assets/images/abnormalAlarm/line.png new file mode 100644 index 0000000..510b1b5 Binary files /dev/null and b/src/assets/images/abnormalAlarm/line.png differ 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