xujunjie 1 年間 前
コミット
d439cef247

+ 5 - 0
src/global.less

@@ -401,3 +401,8 @@ input[type='reset'] {
     font-size: 24px;
   }
 }
+// react-zmage样式修改
+#zmageControl {
+  transform: scale(0.4);
+  transform-origin: 100% 0;
+}

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

@@ -72,7 +72,7 @@ export default function DeviceMaintainDetail() {
   }
 
   return (
-    <PageContent>
+    <PageContent style={{ background: '#fff', borderRadius: 12 }}>
       <PageTitle>设备保养</PageTitle>
       <div className={styles.detailBox}>
         <span>

+ 2 - 2
src/pages/DeviceManager/deviceRepairDetail.js

@@ -1,8 +1,8 @@
 import PageContent from '@/components/PageContent';
+import PageTitle from '@/components/PageTitle';
 import { useParams } from '@umijs/max';
 import { Table } from 'antd';
 import styles from './detail.less';
-import PageTitle from '@/components/PageTitle';
 const {
   DeviceCode,
   DeviceName,
@@ -84,7 +84,7 @@ export default function DeviceMaintainDetail() {
   };
 
   return (
-    <PageContent >
+    <PageContent style={{ background: '#fff', borderRadius: 12 }}>
       <PageTitle>设备维修</PageTitle>
       <div className={styles.detailBox}>
         <span>

+ 1 - 0
src/pages/SafetyManagement/Command/index.js

@@ -44,6 +44,7 @@ const CommandModal = () => {
         mask={false}
         footer={null}
         centered={true}
+        maskClosable={false}
         wrapClassName={styles.modal}
         // closable={false}
         onCancel={handleClose}

+ 3 - 2
src/pages/SafetyManagement/Command/index.less

@@ -5,12 +5,13 @@
   width: 100%;
   margin-top: 40px;
   .upItem {
-    text-align: center;
-    line-height: 54px;
     font-size: 26px;
     margin-right: 10px;
     width: 64px;
     height: 64px;
+    display: flex;
+    align-items: center;
+    justify-content: center;
     background: #ffffff;
     box-shadow: 0px 0px 8px 3px rgba(204, 204, 204, 0.5);
   }