From 47e7e136ca971b6c60845b4e608716593dbafcad Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 07 十二月 2023 16:15:51 +0800
Subject: [PATCH] 去掉人员表格单位
---
src/components/cockpitPage/BackgroundBoardLayout.vue | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/components/cockpitPage/BackgroundBoardLayout.vue b/src/components/cockpitPage/BackgroundBoardLayout.vue
index bd0f3a4..5342e36 100644
--- a/src/components/cockpitPage/BackgroundBoardLayout.vue
+++ b/src/components/cockpitPage/BackgroundBoardLayout.vue
@@ -19,10 +19,10 @@
</div>
<div class="left-bottom-right-block">
<div class="right-bottom-top-block">
- <slot name="leftBlock2"></slot>
+ <slot name="leftBlock5"></slot>
</div>
<div class="right-bottom-bottom-block">
- <slot name="leftBlock3"></slot>
+ <slot name="leftBlock6"></slot>
</div>
</div>
</div>
@@ -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