+
-
-
-
-
中间上部 (60%)
-
核心工作内容/进度展示
-
-
-
-
-
中间下部 (30%)
-
工作统计/快捷操作
-
-
+
-
@@ -70,19 +29,21 @@
@@ -101,48 +62,48 @@ watch(
overflow: hidden;
}
-.work-top-header {
+.work-section {
width: 100%;
- height: 10%;
- display: flex;
- box-sizing: border-box;
- overflow: hidden;
-}
-
-.work-main-container {
- width: 100%;
- height: 90%;
display: flex;
gap: 6px;
box-sizing: border-box;
overflow: hidden;
}
+.work-top-header {
+ height: 10%;
+}
+
+.work-main-section {
+ height: 90%;
+}
+
.work-col {
- flex: 1;
height: 100%;
+ box-sizing: border-box;
+ overflow: hidden;
+}
+
+.work-col-1-3 {
+ width: calc((100% - 12px) / 3);
+}
+
+.work-left-col, .work-middle-col, .work-right-col {
display: flex;
flex-direction: column;
gap: 6px;
- box-sizing: border-box;
- overflow: hidden;
}
-.work-inner-one-third {
- flex: 1;
- box-sizing: border-box;
- overflow: hidden;
+.work-card-1-3 {
+ height: calc((100% - 12px) / 3);
}
-.work-inner-two-third {
- flex: 2;
- box-sizing: border-box;
- overflow: hidden;
+.work-card-2-3 {
+ height: calc(2 * ((100% - 12px) / 3) + 6px);
}
.work-card {
width: 100%;
- height: 100%;
background-color: rgba(15, 52, 96, 0.9);
border: 1px solid #1a508b;
border-radius: 8px;
@@ -160,6 +121,7 @@ watch(
.full-card {
width: 100%;
+ height: 100%;
}
.work-card:hover {
@@ -191,11 +153,17 @@ watch(
padding: 6px;
gap: 4px;
}
- .work-main-container {
+ .work-section {
gap: 4px;
}
- .work-col {
- gap: 4px;
+ .work-col-1-3 {
+ width: calc((100% - 8px) / 3);
+ }
+ .work-card-1-3 {
+ height: calc((100% - 8px) / 3);
+ }
+ .work-card-2-3 {
+ height: calc(2 * ((100% - 8px) / 3) + 4px);
}
.work-card {
padding: 10px;
@@ -217,20 +185,23 @@ watch(
gap: 6px;
overflow-y: auto;
}
- .work-top-header {
- height: auto;
- min-height: 80px;
+ .work-section {
+ flex-direction: column;
+ height: auto !important;
+ min-height: 120px;
+ gap: 6px;
}
- .work-main-container {
+ .work-col-1-3 {
+ width: 100%;
+ height: auto;
+ }
+ .work-left-col, .work-middle-col, .work-right-col {
flex-direction: column;
height: auto;
- min-height: calc(100% - 80px);
- gap: 6px;
}
- .work-col {
- width: 100%;
- height: 33%;
- gap: 6px;
+ .work-card-1-3, .work-card-2-3 {
+ height: 120px;
+ margin-bottom: 6px;
}
.work-card {
padding: 8px;
@@ -242,10 +213,7 @@ watch(
padding: 6px;
gap: 4px;
}
- .work-main-container {
- gap: 4px;
- }
- .work-col {
+ .work-section {
gap: 4px;
}
.work-card {