Parcourir la source

fix:设备管理看板

zhangjingyuan il y a 3 ans
Parent
commit
60e1b3f91e

+ 3 - 3
src/views/system/jbdHome/board/component/equipmentBoardTopcard.vue

@@ -88,7 +88,7 @@ export default {
 </script>
 <style lang="scss" scoped>
 .content{
-  height: 90%;
+  height: 82%;
   width: 100%;
   // background-color: rgba(6, 30, 93, 0.5);
   // .title{
@@ -199,12 +199,12 @@ export default {
 }
 
 #top-bar {
-  height: 180px;
+  height: 90%;
   width: 100%;
 }
 .dv-decoration-10 {
   width: 96%;
   margin: 7px 2% 0;
-  height: 5px;
+  height: 10%;
 }
 </style>

+ 4 - 5
src/views/system/jbdHome/board/equipmentBoard.vue

@@ -15,14 +15,13 @@
           <dv-border-box-8>返回</dv-border-box-8>
         </div>
       </div>
-      <div style="height:80%"></div>
       <dv-border-box-1 v-if="MiddleLeftPieViewList.data.length">
         <!-- 顶部数据 -->
         <div class="topCard">
           <top-bar v-if="topBarData.length" :info="topBarData" />
         </div>
         <div class="middleCard" >
-          <div style="width:100%;height: 95%;">
+          <div style="width:100%;height: 92%;">
           <div class="middleCardLeft"  >
             <middleCard v-if="MiddleLeftPieViewList.data.length" :info="MiddleLeftPieViewList" ref="middleCardLeft"/>
           </div>
@@ -575,7 +574,7 @@ export default {
   box-sizing: border-box;
   }
   .middleCard{
-    height: 39%;
+    height:40%;
     overflow: hidden;
     box-sizing: border-box;
   }
@@ -600,7 +599,7 @@ export default {
     .middleCardRight1{
       width: 24%;
     }
-    padding: 10px;
+    padding: 2px;
   }
   .bottomCard{
     display: flex;
@@ -631,7 +630,7 @@ export default {
   }
 }
 .dv-decoration-10 {
-  width: 96%;
+  width: 92%;
   margin: 7px 0 0;
   height: 5px;
 }