From e71855fee44cf4ebfe3d9d3662cf82fcb3efdcaa Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 10 Nov 2022 14:49:28 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=B4=A8=E9=87=8F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/QualityManager/HomePage.vue | 46 ++-- .../components/TechyAnalysisBar.vue | 24 +- .../components/TechyAnalysisHeader.vue | 210 +++++++++--------- .../QualityManager/components/TechyBox.vue | 2 +- 4 files changed, 142 insertions(+), 140 deletions(-) diff --git a/src/views/QualityManager/HomePage.vue b/src/views/QualityManager/HomePage.vue index a0cee8a..5147db3 100644 --- a/src/views/QualityManager/HomePage.vue +++ b/src/views/QualityManager/HomePage.vue @@ -40,7 +40,7 @@
- + 缺陷分类分析
- + 工序缺陷分析
- + 产线缺陷分析
- + 产品成品率
- - + + + 月 +
@@ -114,7 +116,7 @@
- + 产线A工序质量分析(数量)
- + 产线B工序质量分析(数量)
- + 产线C工序质量分析(数量)
- + 产线D工序质量分析(数量)
div { - width: 300px; + width: calc(300px * var(--beilv)); position: absolute; top: 0; right: 0; } .placeholder-block { - width: 20px; - height: 20px; - margin-left: 3px; + width: calc(20px * var(--beilv)); + height: calc(20px * var(--beilv)); + margin-left: calc(3px * var(--beilv)); } .block-green-5 { @@ -178,9 +178,9 @@ export default { overflow: hidden; color: white; display: inline-block; - padding: 3px 8px; - font-size: 14px; - line-height: 12px; + padding: calc(3px * var(--beilv)) calc(8px * var(--beilv)); + font-size: calc(14px * var(--beilv)); + line-height: calc(12px * var(--beilv)); } .quality-analysis-bar__amount { @@ -189,8 +189,8 @@ export default { /* min-width: 35%; */ width: 35%; text-align: left; - padding: 3px 0; - font-size: 14px; - line-height: 12px; + padding: calc(3px * var(--beilv)) 0; + font-size: calc(14px * var(--beilv));; + line-height: calc(12px * var(--beilv));; } diff --git a/src/views/QualityManager/components/TechyAnalysisHeader.vue b/src/views/QualityManager/components/TechyAnalysisHeader.vue index ab54dd0..1cb2b71 100644 --- a/src/views/QualityManager/components/TechyAnalysisHeader.vue +++ b/src/views/QualityManager/components/TechyAnalysisHeader.vue @@ -1,116 +1,112 @@ @@ -118,12 +114,18 @@ export default { diff --git a/src/views/QualityManager/components/TechyBox.vue b/src/views/QualityManager/components/TechyBox.vue index 58db68d..683a787 100644 --- a/src/views/QualityManager/components/TechyBox.vue +++ b/src/views/QualityManager/components/TechyBox.vue @@ -11,7 +11,7 @@ export default {}