From 569b27befe67425107a488a0c9f86c3383e3978f Mon Sep 17 00:00:00 2001 From: ljx <864490211@qq.com> Date: Fri, 11 Jul 2025 15:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppV3.vue | 49 +++++++++++++++++++ src/components/dianfanbao-demo/index.vue | 6 +-- src/components/dianfanbao-demo/newContain.vue | 8 +-- .../dianfanbao-demo/newContain2.vue | 7 ++- .../dianfanbao-demo/newContain3.vue | 44 ++++++++--------- .../dianfanbao-demo/newContain4.vue | 8 +-- .../dianfanbao-demo/newContain5.vue | 2 +- src/main.js | 3 +- 8 files changed, 88 insertions(+), 39 deletions(-) create mode 100644 src/AppV3.vue diff --git a/src/AppV3.vue b/src/AppV3.vue new file mode 100644 index 0000000..3b4b368 --- /dev/null +++ b/src/AppV3.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/src/components/dianfanbao-demo/index.vue b/src/components/dianfanbao-demo/index.vue index 25b4060..42f9bb9 100644 --- a/src/components/dianfanbao-demo/index.vue +++ b/src/components/dianfanbao-demo/index.vue @@ -1,6 +1,6 @@ diff --git a/src/components/dianfanbao-demo/newContain.vue b/src/components/dianfanbao-demo/newContain.vue index 99740eb..3c0e218 100644 --- a/src/components/dianfanbao-demo/newContain.vue +++ b/src/components/dianfanbao-demo/newContain.vue @@ -8,7 +8,7 @@

基本信息

-

BASIC INFORMATION

+

BASIC INFORMATION

@@ -192,12 +192,12 @@ export default { margin-top: 50px; width: 100%; .text-item{ - font-size: 28px; + font-size: 22px; font-weight: bold; display: flex; width: 70%; - padding: 10px 20px; - margin-bottom: 20px; + padding: 5px 20px; + margin-bottom: 10px; border: 2px solid #fff; background-color:rgba(4,49,128,.4); p{margin: 0;} diff --git a/src/components/dianfanbao-demo/newContain2.vue b/src/components/dianfanbao-demo/newContain2.vue index 6b1a297..ecf4cdf 100644 --- a/src/components/dianfanbao-demo/newContain2.vue +++ b/src/components/dianfanbao-demo/newContain2.vue @@ -8,7 +8,7 @@

当前任务

-

CURRENT TASK

+

CURRENT TASK

@@ -202,7 +202,6 @@ export default { .ncb-currenttask{ width: 100%; margin-top: 50px; - .current-title{ width: 100%; margin-bottom: 15px; @@ -213,11 +212,11 @@ export default { background-color: #08e5ff; // 淡蓝色 margin-right: 10px; } - font-size: 30px; + font-size: 26px; font-weight: bold; } .current-item{ - font-size: 28px; + font-size: 24px; font-weight: bold; padding-left: 20px; margin-bottom: 15px; diff --git a/src/components/dianfanbao-demo/newContain3.vue b/src/components/dianfanbao-demo/newContain3.vue index 49fee3e..1ebbbe0 100644 --- a/src/components/dianfanbao-demo/newContain3.vue +++ b/src/components/dianfanbao-demo/newContain3.vue @@ -8,53 +8,53 @@

不良下线前五

-

TOP 5 NC COMPLETION REASON

+

TOP 5 NC COMPLETION REASON

-
+
产线当日合格率
-
+
70%
-
+
-
NO
-
不良原因
+
NO
+
不良原因
数量
占比
-
No.1
-
不通电
+
No.1
+
不通电
4
30.77%
-
No.2
-
发热盘托盘刮花,卡滞、油污
+
No.2
+
发热盘托盘刮花,卡滞、油污
3
23.08%
-
No.3
-
螺丝未打紧、漏打、滑牙。
+
No.3
+
螺丝未打紧、漏打、滑牙。
3
23.08%
-
No.4
-
按健失灵、高、低、无手感等不良.
+
No.4
+
按健失灵、高、低、无手感等不良.
2
15.38%
-
No.5
-
氖赠/导线压线、破皮、露铜等不良,
+
No.5
+
氖赠/导线压线、破皮、露铜等不良,
1
7.69%
@@ -115,7 +115,7 @@ export default { // 不显示标签 label: { // show: false - fontSize: 20, + fontSize: 16, fontWeight: 'bold', color: '#333', formatter: '{b}\n {d}%', @@ -257,20 +257,20 @@ export default { .ncbox-right-title{ width: 100%; display: flex; - font-size: 26px; + font-size: 20px; font-weight: bold; background-color: #1d5ef5; margin-bottom: 5px; - div{padding: 10px 0;} + div{padding: 8px 0;} } .ncbox-right-item{ width: 100%; display: flex; - font-size: 20px; + font-size: 16px; font-weight: bold; background-color: #3a72f534; - margin-bottom: 5px; - div{padding: 10px 0;} + margin-bottom: 5px; + div{padding: 6px 0;} } } } diff --git a/src/components/dianfanbao-demo/newContain4.vue b/src/components/dianfanbao-demo/newContain4.vue index d62e15f..bc9a449 100644 --- a/src/components/dianfanbao-demo/newContain4.vue +++ b/src/components/dianfanbao-demo/newContain4.vue @@ -8,7 +8,7 @@ 本日产量/预计产量对比
-
+
@@ -66,7 +66,7 @@ export default { type: 'category', data: ['08:00-09:00', '09:00-10:00', '10:00-12:00', '13:30-15:30', '15:30-17:30', '17:30-19:30'], axisLabel: { - fontSize: 20, // 放大 x 轴文字 + fontSize: 14, // 放大 x 轴文字 fontWeight: 'bold', // x 轴文字加粗 color: '#fff' // 设置 x 轴文字为白色 } @@ -74,7 +74,7 @@ export default { yAxis: { type: 'value', axisLabel: { - fontSize: 26, // 放大 y 轴文字 + fontSize: 20, // 放大 y 轴文字 fontWeight: 'bold', // y 轴文字加粗 color: '#fff' // 设置 y 轴文字为白色 }, @@ -94,7 +94,7 @@ export default { label: { show: true, position: 'inside', - fontSize: '22px', + fontSize: '18px', fontWeight: 'bolder', // 柱状图 label 字体加粗 formatter: function(params) { return params.value; diff --git a/src/components/dianfanbao-demo/newContain5.vue b/src/components/dianfanbao-demo/newContain5.vue index 4f0b2ec..9df9a63 100644 --- a/src/components/dianfanbao-demo/newContain5.vue +++ b/src/components/dianfanbao-demo/newContain5.vue @@ -9,7 +9,7 @@ UPPH统计信息
-
+
diff --git a/src/main.js b/src/main.js index 0bd1c5d..158dcb2 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,7 @@ import Vue from 'vue' -import App from './App.vue' +// import App from './App.vue' // import App from './AppV2.vue' +import App from './AppV3.vue' import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css'