Renxy vor 1 Jahr
Ursprung
Commit
bce8fea704

+ 2 - 2
src/components/PageContent/index.js

@@ -28,14 +28,14 @@ export default (props) => {
           <LeftOutlined
             onClick={handleReturn}
             className={styles.return}
-            style={{ top: tabs ? 42.5 : '' }}
+            style={{ top: tabs ? '0.4rem' : '' }}
           />
         )}
         {closeable && (
           <CloseCircleFilled
             onClick={handleClose}
             className={styles.close}
-            style={{ top: tabs ? 42.5 : '' }}
+            style={{ top: tabs ? '0.4rem' : '' }}
           />
         )}
 

+ 1 - 1
src/pages/DeviceManager/index.js

@@ -120,7 +120,7 @@ const Device = ({ projectId }) => {
     {
       title: '保养人',
       dataIndex: 'Operators',
-      width: 300,
+      // width: 300,
       render: (text) => {
         let arr = [];
         if (text && text.length > 0) {

+ 2 - 2
src/pages/Home/index.js

@@ -261,9 +261,9 @@ const Scada = () => {
       title="工艺监控"
       onClick={() => UnityAction.sendMsg('menuItem', '工艺监控')}
     >
-      <div className={styles.scada}>
+      <div className={styles.scada} style={{ width: '5.7rem', height: '3rem' }}>
         {data?.map((url) => (
-          <iframe style={{ width: '570px', height: '264px' }} src={url} />
+          <iframe style={{ width: '5.7rem', height: '3rem' }} src={url} />
         ))}
         <div className={styles.mask}></div>
       </div>