wenmenghao 1 сар өмнө
parent
commit
8f4d2bb7ee

+ 3 - 2
apps/bigmember_pc/src/views/message/materialDetail.vue

@@ -179,6 +179,7 @@ export default {
     margin-top: 10px;
     display: flex;
     flex-wrap: wrap;
+    justify-content: space-between;
 
 
   }
@@ -188,10 +189,10 @@ export default {
   }
 
   .img_background {
-    max-width: 32%;
+    max-width: 30%;
     // width: 300px;
     // height: 180px;
-    margin-right: 10px;
+    // margin-right: 10px;
     margin-bottom: 10px;
     border-radius: 2px;
     // background-color: #f2f2f4;

+ 3 - 2
apps/mobile/src/views/message/materialDetail.vue

@@ -248,14 +248,15 @@ export default {
       margin-top: 15px;
       display: flex;
       flex-wrap: wrap;
+      justify-content: space-between;
 
   }
   .border_h{
     border: 2px solid #2ABED1;
   }
   .img_background {
-    max-width: 45%;
-    margin-right: 15px;
+    max-width: 30%;
+    // margin-right: 15px;
     margin-bottom: 15px;
     border-radius: 2px;
     box-sizing: border-box;