diff --git a/src/views/projectAdmin/jlw/laborManage/centerTop.vue b/src/views/projectAdmin/jlw/laborManage/centerTop.vue index 530faada..05d45421 100644 --- a/src/views/projectAdmin/jlw/laborManage/centerTop.vue +++ b/src/views/projectAdmin/jlw/laborManage/centerTop.vue @@ -6,9 +6,9 @@
工种出勤统计
-
- {{item.name}} -

{{item.num}}

+
+ {{item.typeName}} +

{{item.workerNum}}

@@ -30,6 +30,7 @@ @@ -79,22 +84,25 @@ export default { .box { display: flex; flex-flow: wrap; - justify-content: center; + justify-content: left; align-items: center; width: 95%; - height: 40%; - margin-left: 6%; + height: 170px; + margin-left: 3%; margin-top: 2%; - } + overflow: auto; + .outBox { width: 33%; height: 33%; margin-bottom: 10px; .name { + display: inline-block; height: 50px; - width: 50%; + width: 35%; line-height: 40px; margin-right: 35px; + text-align: right; } .num { display: inline-block; @@ -107,6 +115,7 @@ export default { background-size: 100%; background-repeat: no-repeat; } + } } .botBox { margin-top: 20px; @@ -130,6 +139,9 @@ export default { } } } +::-webkit-scrollbar { +width:3px; +} .mychart { width: 100%; height: 40%;