From 6d040980c2b178241841ef335d4f70cbdb467d4b Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 06 十二月 2023 17:16:33 +0800 Subject: [PATCH] 增加计算加工数和生产数的方法 --- src/views/cockpitPage/components/CountView.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/views/cockpitPage/components/CountView.vue b/src/views/cockpitPage/components/CountView.vue index ca11420..9bddba0 100644 --- a/src/views/cockpitPage/components/CountView.vue +++ b/src/views/cockpitPage/components/CountView.vue @@ -7,7 +7,7 @@ </div> <div class="value-view"> <div class="title-margin-left"> - <span class="value-span"> + <span class="value-span1"> {{ totalObject.InternalDeviceRunningAmount + "" }} </span> <span class="unit-span">鍙�</span> @@ -20,7 +20,7 @@ </div> <div class="value-view"> <div class="title-margin-left"> - <span class="value-span">{{ + <span class="value-span1">{{ totalObject.ExternalDeviceRunningAmount }}</span> <span>鍙�</span> @@ -168,14 +168,18 @@ // white-space: nowrap; display: flex; align-items: center; - .value-span { + .value-span1 { margin-top: 5px; - height: 100%; - max-width: 3em; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; + // height: 100%; + // max-width: 3em; } + // .value-span { + // height: 100%; + // max-width: 3em; + // overflow: hidden; + // white-space: nowrap; + // text-overflow: ellipsis; + // } } } } -- Gitblit v1.8.0