From e566712e0eb0c45581b3d20dc2a961e2995e9c5b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 12 三月 2024 14:38:36 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/components/device.jsx |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/components/device.jsx b/zy-asrs-flow/src/pages/map/components/device.jsx
index d6392d5..948d8d3 100644
--- a/zy-asrs-flow/src/pages/map/components/device.jsx
+++ b/zy-asrs-flow/src/pages/map/components/device.jsx
@@ -28,7 +28,10 @@
                 transition: all 0.3s ease !important;
             }
         `,
-        color: dark ? '#303030' : '#f0f0f0'
+        color: dark ? '#303030' : '#f0f0f0',
+        title: {
+            color: dark ? '#f0f0f0' : '#303030'
+        }
     };
 });
 
@@ -86,7 +89,7 @@
                             draggable="true"
                             onDragStart={(e) => onDragStart(e, 'AGV')}
                         />
-                        <div>AGV</div>
+                        <div className={styles.title}>AGV</div>
                     </Col>
                     <Col className={styles.mapCol} span={8} >
                         <Image
@@ -96,7 +99,7 @@
                             draggable="true"
                             onDragStart={(e) => onDragStart(e, 'SHELF')}
                         />
-                        <div>SHELF</div>
+                        <div className={styles.title}>SHELF</div>
                     </Col>
                     <Col className={styles.mapCol} span={8} >
                         <Image

--
Gitblit v1.9.1