Browse Source

fix: 修复整体样式问题

周玉环 15 giờ trước cách đây
mục cha
commit
68eb84d63a

+ 14 - 11
xinkeaboard-web/assets/style/contact.scss

@@ -1,17 +1,21 @@
 .wrap{
     .s1{
-        display: block;
-        min-height: 200px;
+        display: flex;
+        height: 706px;
         overflow: hidden;
+        margin-bottom: 20px;
         .fl{
-            width: 340px;
-            margin-right: 1%;
+            display: flex;
+            flex-direction: column;
+            align-items: center;
+            width: 338px;
+            height: 100%;
             text-align: center;
-            padding-bottom: 0;
-            min-height: 700px;
             float: left;
             .item{
-                margin-bottom: 40px;
+                width: 234px;
+                height: 156px;
+                margin-bottom: 10px;
                 img{
                     width: 100px;
                     object-fit: contain;
@@ -30,10 +34,9 @@
             }
         }
         .fr{
-            width: calc(98% - 340px);
-            margin-left: 1%;
-            min-height: 700px;
-            float: right;
+            width: 100%;
+            flex: 1;
+            height: 100%;
         }
     }
   

+ 2 - 2
xinkeaboard-web/assets/style/store/contac-about.scss

@@ -2,7 +2,7 @@
 
 .wrap{
     position: relative;
-    width: 1210px;
+    width: 1440px;
     margin: 0px auto 0px;
     padding: 20px 0;
     font-size: 12px;
@@ -20,7 +20,7 @@
     overflow: hidden;
 }
 .sr-txt-title {
-    margin-bottom: 20px;
+    margin-bottom: 40px;
 }
 .sr-txt-h2 {
     font-weight: bold;