From 73204d05cef1cb8be44ff8b1e44114dee0cfb455 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周五, 01 11月 2024 19:50:36 +0800 Subject: [PATCH] 细节 --- yiqi_screen/src/components/Content.vue | 38 +++++++++++++++++++++++--------------- 1 files changed, 23 insertions(+), 15 deletions(-) diff --git a/yiqi_screen/src/components/Content.vue b/yiqi_screen/src/components/Content.vue index f0bca19..e657937 100644 --- a/yiqi_screen/src/components/Content.vue +++ b/yiqi_screen/src/components/Content.vue @@ -101,10 +101,14 @@ </div> <div class="echarts-box border_right1"> <div class="echarts-title">鏈彮/鏈湀浜ч噺缁熻</div> + + <ProductionStatistics :produceStatisData="produceStatisData" /> <div class="pie-label-left"> + <!-- 褰撳墠鐝粍瀹為檯鐢熶骇鏁伴噺 --> {{ produceStatisData.currentShiftProduceNum }} <span v-if="produceStatisData.currentShiftPlanNum||produceStatisData.currentShiftPlanNum==0">/</span> + <!-- 褰撳墠鐝粍璁″垝鐢熶骇鏁伴噺 --> {{ produceStatisData.currentShiftPlanNum }} @@ -335,6 +339,9 @@ position: relative; .title { + display: flex; + vertical-align: middle; + align-items: center; color: #41c7de; font-size: 0.38rem; font-weight: 700; @@ -344,11 +351,8 @@ transform: translate(-50%); letter-spacing: 8px; .imgTitle{ - width: 0.5rem; - height: 0.5rem; - position: absolute; - top: -0.01rem; - left: -0.8rem; + width: 0.7rem; + margin-right: .2rem; } } @@ -539,20 +543,24 @@ .pie-label-left { position: absolute; - bottom: 0.1rem; - left: 0.7rem; - color: #fff; - font-size: 0.2rem; - font-weight: 300; + bottom: 0.1rem; + left: 0.1rem; + color: #fff; + font-size: 0.2rem; + font-weight: 300; + width: 44%; + text-align: center; } .pie-label-right { position: absolute; - bottom: 0.1rem; - right: 0.7rem; - color: #fff; - font-size: 0.2rem; - font-weight: 300; + bottom: 0.1rem; + right: 0.3rem; + color: #fff; + font-size: 0.2rem; + font-weight: 300; + width: 44%; + text-align: center; } } -- Gitblit v1.9.3