From 80dda36bfb48af10698b1edf1e6a862978b36ec3 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 06 十二月 2023 17:25:15 +0800
Subject: [PATCH] 优化样式

---
 src/views/cockpitPage/components/CountView.vue |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/src/views/cockpitPage/components/CountView.vue b/src/views/cockpitPage/components/CountView.vue
index ca11420..c2c6da9 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>
@@ -164,18 +164,22 @@
         align-items: center;
         border-radius: 5px;
         .title-margin-left {
-          margin-left: 45px;
+          margin-left: 40px;
           // 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