Browse Source

修改样式

Renxy 1 năm trước cách đây
mục cha
commit
35e451f2fd
2 tập tin đã thay đổi với 11 bổ sung11 xóa
  1. 8 8
      src/pages/EqSelfInspection/index.js
  2. 3 3
      src/pages/Home/index.less

+ 8 - 8
src/pages/EqSelfInspection/index.js

@@ -98,14 +98,14 @@ const EqSelfInspection = (props) => {
     );
   };
 
-  useEffect(() => {
-    UnityAction.on('notiZiJian', (id) => {
-      handleJumpDetail(id);
-    });
-    //自检页面加载完毕
-    UnityAction.sendMsg('pageInited');
-    return () => UnityAction.off('notiZiJian');
-  }, []);
+  // useEffect(() => {
+  //   UnityAction.on('notiZiJian', (id) => {
+  //     handleJumpDetail(id);
+  //   });
+  //   //自检页面加载完毕
+  //   UnityAction.sendMsg('pageInited');
+  //   return () => UnityAction.off('notiZiJian');
+  // }, []);
 
   useEffect(() => {
     if (routeId) {

+ 3 - 3
src/pages/Home/index.less

@@ -23,7 +23,7 @@
   position: relative;
   display: inline-block;
   cursor: pointer;
-  border-radius: 40px 0 43px 0;
+  border-radius: 46px 6px 48px 6px;
   box-shadow: 2px 13px 18px 0 rgba(9, 64, 115, 0.49);
   > ul {
     display: flex;
@@ -61,7 +61,7 @@
   .box;
   width: 604px;
   height: 399px;
-  background: url('@/assets/home/bg2.png') no-repeat center;
+  background: url('@/assets/home/bg3.png') no-repeat center;
   background-size: 100% 100%;
 }
 .backlogMain {
@@ -75,7 +75,7 @@
   .box;
   width: 707px;
   height: 335px;
-  background: url('@/assets/home/bg3.png') no-repeat center;
+  background: url('@/assets/home/bg2.png') no-repeat center;
   background-size: 100% 100%;
 }
 .medicine {