From 14101bd42ce17dfb9d951d0738abe9d303fb3fe5 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期一, 11 十二月 2023 10:41:39 +0800
Subject: [PATCH] 机器开机率、人员技能比饼图优化

---
 src/components/cockpitPage/BackgroundBoardLayout.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/components/cockpitPage/BackgroundBoardLayout.vue b/src/components/cockpitPage/BackgroundBoardLayout.vue
index 2078447..5342e36 100644
--- a/src/components/cockpitPage/BackgroundBoardLayout.vue
+++ b/src/components/cockpitPage/BackgroundBoardLayout.vue
@@ -55,24 +55,31 @@
 // 涓婅竟鍥哄畾楂�
 $topBlockHeight: 100px;
 // 宸︿晶澶撮儴鏁版嵁楂樺害
-$leftHeaderHeight: 85px;
+$leftHeaderHeight: 8%;
+// 宸︿晶鍏叡鍙宠竟璺�
+$leftMarginRight: 25px;
 // 鏁翠綋鍐呭宸﹁竟璺�
 $leftMargin: 80px;
 // 鏁翠綋鍐呭鍙宠竟璺�
 $rightMargin: 65px;
 // 宸︿晶甯冨眬鍧楅珮搴�
-$leftBlockHeight: calc(100vh - 225px);
+$leftBlockHeight: calc(100vh - 245px);
 // 鍙充晶甯冨眬鍧楅珮搴�
 $rightBlockHeight: calc(100vh - 120px);
+// 宸︿笅涓婅竟璺�
+$leftBottomMarginTop: 40px;
 // 宸︿笅宸︿晶鍖哄煙瀹�
-$leftBottomLeftWidth: 35%;
+$leftBottomLeftWidth: 37%;
 // 宸︿笅鍙充晶鍖哄煙瀹�
-$leftBottomRightWidth: 65%;
+$leftBottomRightWidth: 63%;
 
 .dashboard-layout {
   background-image: url("/cockpit-bg.jpg");
   background-position-x: center;
   background-repeat: no-repeat;
+  // background-position: center center;
+  // background-attachment: fixed;
+  background-size: cover;
   display: flex;
   align-items: center;
   justify-content: space-between;
@@ -116,38 +123,34 @@
 .left-header-block {
   height: $leftHeaderHeight;
   margin-top: $topBlockHeight;
-  background: #dd3535;
+  padding-right: $leftMarginRight;
 }
 .left-bottom-block {
-  margin-top: 20px;
+  margin-top: $leftBottomMarginTop;
   height: $leftBlockHeight;
   display: flex;
   .left-bottom-left-block {
     width: $leftBottomLeftWidth;
     height: 100%;
     .left-bottom-top-block {
-      height: 40%;
-      background: #9135dd;
+      height: 41%;
     }
     .left-bottom-middle-block {
       height: 25%;
-      background: #dd35a5;
     }
     .left-bottom-bottom-block {
-      height: 35%;
-      background: #dd355f;
+      height: 34%;
     }
   }
   .left-bottom-right-block {
     width: $leftBottomRightWidth;
     height: 100%;
+    padding-right: 20px;
     .right-bottom-top-block {
       height: 60%;
-      background: #35ddc7;
     }
     .right-bottom-bottom-block {
       height: 40%;
-      background: #35dd8f;
     }
   }
 }
@@ -158,14 +161,11 @@
 }
 .right-top-block {
   height: 30%;
-  background: #9135dd;
 }
 .right-middle-block {
   height: 35%;
-  background: #dd35a5;
 }
 .right-bottom-block {
   height: 35%;
-  background: #dd355f;
 }
 </style>

--
Gitblit v1.8.0