From d6661dc5fdd740bac55c6b09843ade69c4aea8e3 Mon Sep 17 00:00:00 2001 From: admin <2077599564@qq.com> Date: Thu, 14 Dec 2023 16:08:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=93=E6=B4=81=20:=20=E7=94=A8=E7=94=B5?= =?UTF-8?q?=E9=87=8F=E5=BC=B9=E7=AA=97=E5=8F=8A=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 131 ++++++++++++++- .../content/badGasInfo/BadGasInfo.vue | 152 +++++++----------- src/components/content/usedEle/UsedEle.vue | 126 +++++++++++++-- src/components/timeRangeBtn/index.vue | 69 ++++++++ 4 files changed, 369 insertions(+), 109 deletions(-) create mode 100644 src/components/timeRangeBtn/index.vue diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index cfb4bc7..32002ca 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -16,6 +16,7 @@ a { html, body, #app, .el-container, .el-aside, .el-main { height: 100%; } + .tunnel-title { width: 2330px; height: 156px; @@ -26,6 +27,7 @@ html, body, #app, .el-container, .el-aside, .el-main { margin-left: -1165px; background-image: url('../images/topAndDown/sp_tb.png'); } + .box-top { .manage-btn { display: flex; @@ -125,7 +127,7 @@ html, body, #app, .el-container, .el-aside, .el-main { background-image: url('../images/topAndDown/sp_icon_zyc.png'); } -.tunnel-length{ +.tunnel-length { position: absolute; top: 13%; left: 36%; @@ -242,3 +244,130 @@ html, body, #app, .el-container, .el-aside, .el-main { transform: rotate(180deg); } } + +//弹窗样式 +.digital-tunnel { + #container { + height: 650px; + width: 1300px; + } + + #containerEle { + height: 564px; + width: 1300px; + } + + .el-dialog { + display: flex; + flex-direction: column; + height: 785px; + border: 2px solid #0F82AF; + background: rgba(6, 34, 71, 0.78); + border-radius: 20px; + padding: 47px 30px; + box-sizing: border-box; + margin: 588px auto 0 auto; + + .el-dialog__header { + padding:0 0 25px 0; + //display: none; + .el-dialog__title { + font-size: 32px; + font-weight: bold; + color: #D6F1FA; + } + + .el-dialog__close { + color: #05FEFF; + font-size: 35px; + } + } + + .el-dialog__body { + padding: 0; + } + } + + .left-top-icon { + position: absolute; + top: -3px; + left: -3px; + width: 41px; + height: 41px; + background-image: url(@/assets/images/badGasInfo/sp_jz.png); + } + + .right-top-icon { + position: absolute; + top: -3px; + right: -3px; + width: 41px; + height: 41px; + background-image: url(@/assets/images/badGasInfo/sp_jz.png); + transform: rotate(90deg); + } + + .time-select { + position: absolute; + top: 47px; + right: 119px; + } + + .left-bottom-icon { + position: absolute; + bottom: -3px; + left: -3px; + width: 41px; + height: 41px; + background-image: url(@/assets/images/badGasInfo/sp_jz.png); + transform: rotate(-90deg); + } + + .right-bottom-icon { + position: absolute; + bottom: -3px; + right: -3px; + width: 41px; + height: 41px; + background-image: url(@/assets/images/badGasInfo/sp_jz.png); + transform: rotate(180deg); + } + + //用电量 + .top-tag { + display: flex; + justify-content: center; + + .allUsedEle { + width: 240px; + height: 149px; + border-radius: 10px; + border: 2px solid #0F82AF; + display: flex; + flex-direction: column; + align-items: center; + + &:nth-child(2) { + margin-left: 39px; + } + + .use-title { + display: flex; + justify-content: center; + align-items: center; + width: 240px; + height: 50px; + background: #264A78; + font-size: 26px; + color: #FFFFFF; + } + + .value { + margin-top: 20px; + font-size: 40px; + font-family: MicrosoftYaHei; + color: #FFFFFF; + } + } + } +} \ No newline at end of file diff --git a/src/components/content/badGasInfo/BadGasInfo.vue b/src/components/content/badGasInfo/BadGasInfo.vue index 39cb4f7..5f5f62d 100644 --- a/src/components/content/badGasInfo/BadGasInfo.vue +++ b/src/components/content/badGasInfo/BadGasInfo.vue @@ -4,30 +4,40 @@