diff --git a/web/src/components/Home/Alarm.vue b/web/src/components/Home/Alarm.vue index 95128e5..5e5a0ea 100644 --- a/web/src/components/Home/Alarm.vue +++ b/web/src/components/Home/Alarm.vue @@ -12,6 +12,7 @@ @@ -253,8 +187,6 @@ export default { justify-content: space-between; } - - .content-left, .content-right { height: 100%; @@ -270,15 +202,15 @@ export default { width: 100%; height: calc(40% - 10px); z-index: 20; - -&:nth-child(2n){ + + &:nth-child(2n) { // height:calc(33% - 10px)!important; -} + } .tool { background: url('@/assets/home/modal-header-bg.png'); - background-size: contain; - background-repeat: no-repeat; - background-position: center; + background-size: contain; + background-repeat: no-repeat; + background-position: center; display: flex; justify-content: space-between; @@ -286,7 +218,7 @@ export default { height: 45px; .linear-text { - margin-bottom: 7px; + margin-bottom: 7px; background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(40, 235, 231, 1) 100%); color: transparent; -webkit-background-clip: text; @@ -315,7 +247,7 @@ export default { .title { display: flex; - + i { margin-left: 10px; } @@ -336,19 +268,14 @@ export default { color: transparent; } } - - } - .operation-status{ +.operation-status { height: calc(25% - 10px); - - } - .statistical{ +} +.statistical { height: calc(18% - 10px); - - } - .envInfo{ - height: calc(15% - 10px); - - } +} +.envInfo { + height: calc(15% - 10px); +} diff --git a/web/src/components/Home/Modal/DisCharge.vue b/web/src/components/Home/Modal/DisCharge.vue index 2af9149..e10d1ea 100644 --- a/web/src/components/Home/Modal/DisCharge.vue +++ b/web/src/components/Home/Modal/DisCharge.vue @@ -5,6 +5,8 @@