Ver código fonte

河道监测、水库监测

Hwf 9 meses atrás
pai
commit
8f8f6a6810

BIN
src/assets/images/map/rightMenu/icon7.png


BIN
src/assets/images/map/rightMenu/icon7_checked.png


BIN
src/assets/images/map/rightMenu/icon8.png


BIN
src/assets/images/map/rightMenu/icon8_checked.png


+ 74 - 97
src/views/globalMap/RightMenu/ReservoirMonitor.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="menu-content">
-    <div class="gradient-text title">水库监测</div>
+    <div class="gradient-text common-dialog-title">水库监测</div>
     <div class="flex-box">
       <div class="data-box1">
         <div class="box-text1">漫坝</div>
@@ -204,26 +204,48 @@ const getVideoList = () => {
 
 <style lang="scss" scoped>
 .menu-content {
-  width: 1579px;
-  height: 1394px;
+  width: 574px;
+  height: 581px;
   background: url('@/assets/images/map/rightMenu/content.png') no-repeat;
-  padding: 130px 20px 20px 20px;
-  font-size: 36px;
+  background-size: 100% 100%;
+  padding: 60px 10px 10px 15px;
+  font-size: 14px;
   position: relative;
   color: #ffffff;
 }
-.title {
-  font-size: 60px;
-  position: absolute;
-  top: 30px;
-  left: 160px;
-}
-
 .detail-container {
   font-size: 36px;
   .dialog-content {
     display: flex;
   }
+  .info-box {
+    width: 834px;
+    height: 459px;
+    background: url('@/assets/images/map/rightMenu/box2.png') no-repeat;
+    padding: 11px;
+    .info-header {
+      width: 311px;
+      height: 56px;
+      padding-left: 50px;
+      background: url(@/assets/images/map/rightMenu/titleBox1.png) no-repeat;
+      .info-title {
+        font-size: 44px;
+      }
+    }
+    .info-content {
+      padding: 0 37px 26px 37px;
+      font-size: 38px;
+      color: #a8ccde;
+    }
+    .info-item {
+      display: flex;
+      align-items: center;
+      height: 72px;
+      white-space: nowrap;
+      overflow: hidden;
+      text-overflow: ellipsis;
+    }
+  }
   .box1 {
     width: 776px;
     height: 459px;
@@ -241,9 +263,9 @@ const getVideoList = () => {
     }
   }
   .box2 {
-    margin-top: 45px;
+    margin-top: 20px;
     .box2-title {
-      height: 54px;
+      height: 60px;
       background: url('@/assets/images/map/rightMenu/titleBox2.png') no-repeat;
       padding-left: 65px;
       font-size: 44px;
@@ -255,8 +277,20 @@ const getVideoList = () => {
   flex: 1;
   display: flex;
   flex-direction: column;
-  height: 100%;
-  margin-left: 20px;
+  height: 1009px;
+  .flex-box2 {
+    height: 54px;
+    background: url('@/assets/images/map/rightMenu/titleBox2.png') no-repeat;
+    padding-left: 65px;
+    display: flex;
+    align-items: center;
+    .title2 {
+      font-size: 44px;
+      flex-shrink: 0;
+      margin-right: 30px;
+      color: #f4f7fa;
+    }
+  }
   .video-box {
     margin-top: 30px;
     height: 900px;
@@ -264,18 +298,6 @@ const getVideoList = () => {
     flex-wrap: wrap;
   }
 }
-.flex-box2 {
-  background: url('@/assets/images/map/rightMenu/titleBox2.png') no-repeat;
-  background-size: 372px 54px;
-  padding-left: 65px;
-  display: flex;
-  .title2 {
-    font-size: 40px;
-    flex-shrink: 0;
-    margin-right: 30px;
-    color: #f4f7fa;
-  }
-}
 .flex-box {
   display: flex;
   justify-content: space-between;
@@ -283,25 +305,28 @@ const getVideoList = () => {
   .data-box1,
   .data-box2,
   .data-box3 {
-    width: 462px;
-    height: 144px;
+    width: 186px;
+    height: 58px;
     position: relative;
     display: flex;
+    justify-content: space-between;
     align-items: center;
     margin-right: 20px;
+    padding-left: 66px;
+    padding-right: 20px;
     &:last-child {
       margin-right: 0;
     }
     .box-text1 {
       color: #fff;
-      font-size: 36px;
-      padding-left: 190px;
-      min-width: 100px;
+      font-size: 14px;
+      width: 50px;
       &::after {
         content: '';
         width: 1px;
         height: 48px;
-        background: url('@/assets/images/map/rightMenu/line.png');
+        background: url('@/assets/images/map/rightMenu/line.png') no-repeat;
+        background-size: 100% 100%;
         margin: 0 30px;
       }
     }
@@ -316,50 +341,53 @@ const getVideoList = () => {
       background-clip: text;
       /* 把当前元素设置为行内块,以便能够应用背景 */
       display: inline-block;
-      font-family: 'BEBAS-1';
-      font-size: 40px;
+      font-family: 'YouSheBiaoTiHei';
+      font-size: 16px;
     }
   }
 
   .data-box1 {
     background: url('@/assets/images/map/rightMenu/dataBox1.png') no-repeat;
+    background-size: 100% 100%;
   }
   .data-box2 {
     background: url('@/assets/images/map/rightMenu/dataBox2.png') no-repeat;
+    background-size: 100% 100%;
   }
   .data-box3 {
     background: url('@/assets/images/map/rightMenu/dataBox3.png') no-repeat;
+    background-size: 100% 100%;
   }
 }
 
 .custom-table {
-  width: 100%;
+  width: 550px;
   .table-content {
-    height: 880px;
+    height: 290px;
     overflow-y: auto;
     overflow-x: hidden;
   }
   .th {
-    width: 1499px;
-    height: 151px;
     background: url('@/assets/images/map/rightMenu/th.png') no-repeat;
+    background-size: 100% 100%;
     display: flex;
+    padding: 7px 12px;
+    height: 32px;
   }
   .tr {
-    width: 1499px;
-    height: 139px;
     background: url('@/assets/images/map/rightMenu/td.png') no-repeat;
-    //margin-left: -23px;
+    background-size: 100% 100%;
     display: flex;
-    padding-right: 20px;
+    padding: 7px 12px;
     &:hover {
       background: url('@/assets/images/map/rightMenu/td_checked.png') no-repeat;
+      background-size: 100% 100%;
     }
   }
   .td {
     flex: 1;
     color: #edfaff;
-    font-size: 38px;
+    font-size: 14px;
     display: flex;
     justify-content: center;
     align-items: center;
@@ -375,7 +403,7 @@ const getVideoList = () => {
     font-family: 'YouSheBiaoTiHei';
     /* 设置线性渐变,从红色渐变到蓝色 */
     background-image: linear-gradient(to bottom, #ffffff 50%, #3075d3 100%);
-    font-size: 48px;
+    font-size: 14px;
   }
   .text-green {
     background-image: linear-gradient(to bottom, #ffffff 50%, #40c75f 100%);
@@ -398,55 +426,4 @@ const getVideoList = () => {
     color: #eaf3fc;
   }
 }
-.table-wrap {
-  height: 400px;
-  // margin-top: 10px;
-  font-size: 36px;
-  background-color: #102043;
-  color: #fff;
-  .table-title {
-    min-height: 70px;
-    display: flex;
-    align-items: center;
-    border-bottom: 2px solid #465979;
-    .title-item {
-      width: 195px;
-      text-align: center;
-      color: #4c97f6;
-    }
-  }
-  .content-wrap {
-    height: 92%;
-    overflow-y: auto;
-    .content-item {
-      display: flex;
-      justify-content: space-around;
-      align-items: center;
-      height: 70px;
-      font-size: 28px;
-      margin-bottom: 8.5px;
-      background: #0b2b5a;
-      > div {
-        width: 200px;
-        text-align: center;
-      }
-    }
-  }
-}
-.info-header {
-  width: 100%;
-  max-width: 1200px;
-  height: 56px;
-  padding-left: 50px;
-  background: url(@/assets/images/map/rightMenu/titleBox1.png) no-repeat;
-  background-size: 322px 56px;
-  background-position: bottom left;
-  .info-title {
-    width: 100%;
-    overflow: hidden;
-    white-space: nowrap;
-    text-overflow: ellipsis;
-    font-size: 44px;
-  }
-}
 </style>

+ 30 - 32
src/views/globalMap/RightMenu/RiverMonitor.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="menu-content">
-    <div class="gradient-text title">河道监测</div>
+    <div class="gradient-text common-dialog-title">河道监测</div>
     <div class="flex-box">
       <div class="data-box1">
         <div class="box-text1">漫坝</div>
@@ -201,20 +201,15 @@ const handleShowDialog = (row) => {
 
 <style lang="scss" scoped>
 .menu-content {
-  width: 1579px;
-  height: 1394px;
+  width: 574px;
+  height: 581px;
   background: url('@/assets/images/map/rightMenu/content.png') no-repeat;
-  padding: 130px 20px 20px 20px;
-  font-size: 36px;
+  background-size: 100% 100%;
+  padding: 60px 10px 10px 15px;
+  font-size: 14px;
   position: relative;
   color: #ffffff;
 }
-.title {
-  font-size: 60px;
-  position: absolute;
-  top: 30px;
-  left: 160px;
-}
 .detail-container {
   font-size: 36px;
   .dialog-content {
@@ -307,25 +302,28 @@ const handleShowDialog = (row) => {
   .data-box1,
   .data-box2,
   .data-box3 {
-    width: 462px;
-    height: 144px;
+    width: 186px;
+    height: 58px;
     position: relative;
     display: flex;
+    justify-content: space-between;
     align-items: center;
     margin-right: 20px;
+    padding-left: 66px;
+    padding-right: 20px;
     &:last-child {
       margin-right: 0;
     }
     .box-text1 {
       color: #fff;
-      font-size: 36px;
-      padding-left: 190px;
-      min-width: 100px;
+      font-size: 14px;
+      width: 50px;
       &::after {
         content: '';
         width: 1px;
         height: 48px;
-        background: url('@/assets/images/map/rightMenu/line.png');
+        background: url('@/assets/images/map/rightMenu/line.png') no-repeat;
+        background-size: 100% 100%;
         margin: 0 30px;
       }
     }
@@ -341,52 +339,52 @@ const handleShowDialog = (row) => {
       /* 把当前元素设置为行内块,以便能够应用背景 */
       display: inline-block;
       font-family: 'YouSheBiaoTiHei';
-      font-size: 40px;
+      font-size: 16px;
     }
   }
 
   .data-box1 {
     background: url('@/assets/images/map/rightMenu/dataBox1.png') no-repeat;
+    background-size: 100% 100%;
   }
   .data-box2 {
     background: url('@/assets/images/map/rightMenu/dataBox2.png') no-repeat;
+    background-size: 100% 100%;
   }
   .data-box3 {
     background: url('@/assets/images/map/rightMenu/dataBox3.png') no-repeat;
+    background-size: 100% 100%;
   }
 }
 
 .custom-table {
-  width: 100%;
-  height: 1030px;
-  overflow-y: auto;
-  overflow-x: hidden;
+  width: 550px;
   .table-content {
-    height: 880px;
+    height: 290px;
     overflow-y: auto;
     overflow-x: hidden;
   }
   .th {
-    width: 1499px;
-    height: 151px;
     background: url('@/assets/images/map/rightMenu/th.png') no-repeat;
+    background-size: 100% 100%;
     display: flex;
+    padding: 7px 12px;
+    height: 32px;
   }
   .tr {
-    width: 1499px;
-    height: 139px;
     background: url('@/assets/images/map/rightMenu/td.png') no-repeat;
-    //margin-left: -23px;
+    background-size: 100% 100%;
     display: flex;
-    padding-right: 20px;
+    padding: 7px 12px;
     &:hover {
       background: url('@/assets/images/map/rightMenu/td_checked.png') no-repeat;
+      background-size: 100% 100%;
     }
   }
   .td {
     flex: 1;
     color: #edfaff;
-    font-size: 38px;
+    font-size: 14px;
     display: flex;
     justify-content: center;
     align-items: center;
@@ -399,10 +397,10 @@ const handleShowDialog = (row) => {
     -webkit-background-clip: text;
     /* 非Webkit内核浏览器需要使用标准前缀 */
     background-clip: text;
-    font-family: 'BEBAS-1';
+    font-family: 'YouSheBiaoTiHei';
     /* 设置线性渐变,从红色渐变到蓝色 */
     background-image: linear-gradient(to bottom, #ffffff 50%, #3075d3 100%);
-    font-size: 48px;
+    font-size: 14px;
   }
   .text-green {
     background-image: linear-gradient(to bottom, #ffffff 50%, #40c75f 100%);

+ 8 - 4
src/views/globalMap/RightMenu/index.vue

@@ -345,22 +345,26 @@ defineExpose({ handleMenu, clickContractMenu, updateMenu, getMenuState });
 }
 //
 .icon7 {
-  width: 89px;
-  height: 87px;
+  width: 32px;
+  height: 30.5px;
   background: url('@/assets/images/map/rightMenu/icon7.png') no-repeat;
+  background-size: 100% 100%;
   cursor: pointer;
 }
 .icon7_checked {
   background: url('@/assets/images/map/rightMenu/icon7_checked.png') no-repeat;
+  background-size: 100% 100%;
 }
 .icon8 {
-  width: 89px;
-  height: 87px;
+  width: 32px;
+  height: 30px;
   background: url('@/assets/images/map/rightMenu/icon8.png') no-repeat;
+  background-size: 100% 100%;
   cursor: pointer;
 }
 .icon8_checked {
   background: url('@/assets/images/map/rightMenu/icon8_checked.png') no-repeat;
+  background-size: 100% 100%;
 }
 .icon9 {
   width: 29.5px;