Browse Source

有无人样式修改

zhaojijng 2 years ago
parent
commit
24e9b9cd27

+ 7 - 2
src/pages/Equipment/components/deviceModal/index.jsx

@@ -236,7 +236,7 @@ export default ({ onClose, showSpace }) => {
                     <Icon
                       className=""
                       type="youren"
-                      style={{ color: '#CE9F27', fontWeight: 'bold', marginRight: '2px' }}
+                      style={{ color: '#CE9F27', marginRight: '2px', fontSize: '9px' }}
                     ></Icon>
                     有人
                   </span>
@@ -246,7 +246,12 @@ export default ({ onClose, showSpace }) => {
                     <Icon
                       className=""
                       type="wuren"
-                      style={{ color: '#8B949E', fontWeight: 'bold', marginRight: '2px' }}
+                      style={{
+                        color: '#8B949E',
+                        fontWeight: 'bold',
+                        marginRight: '2px',
+                        fontSize: '9px',
+                      }}
                     ></Icon>
                     无人
                   </span>

+ 4 - 4
src/pages/Equipment/index.tsx

@@ -469,7 +469,7 @@ const Environment: React.FC = () => {
               <Icon
                 className=""
                 type="youren"
-                style={{ color: '#CE9F27', fontWeight: 'bold' }}
+                style={{ color: '#CE9F27', fontWeight: 'bold', fontSize: '9px' }}
               ></Icon>
               有人
             </span>
@@ -477,7 +477,7 @@ const Environment: React.FC = () => {
               <Icon
                 className=""
                 type="wuren"
-                style={{ color: '#8B949E', fontWeight: 'bold' }}
+                style={{ color: '#8B949E', fontWeight: 'bold', fontSize: '9px' }}
               ></Icon>
               无人
             </span>
@@ -632,7 +632,7 @@ const Environment: React.FC = () => {
                           <Icon
                             className=""
                             type="youren"
-                            style={{ color: '#CE9F27', fontWeight: 'bold' }}
+                            style={{ color: '#CE9F27', fontWeight: 'bold' ,fontSize: '9px'}}
                           ></Icon>
                         </div>
                       )}
@@ -653,7 +653,7 @@ const Environment: React.FC = () => {
                           <Icon
                             className=""
                             type="wuren"
-                            style={{ color: '#8B949E', fontWeight: 'bold' }}
+                            style={{ color: '#8B949E', fontWeight: 'bold',fontSize: '9px' }}
                           ></Icon>
                         </div>
                       )}

+ 1 - 1
src/sagacare_components/map/index.less

@@ -61,7 +61,7 @@
     display: flex;
     align-items: center;
     justify-content: center;
-    height: 20px;
+    height: 16px;
     padding: 0 5px;
     color: #626c78;
     font-size: 11px;