zhangdehua пре 1 година
родитељ
комит
d242a1c9dd
1 измењених фајлова са 10 додато и 3 уклоњено
  1. 10 3
      public/assets/index/css/index.css

+ 10 - 3
public/assets/index/css/index.css

@@ -119,8 +119,9 @@ body{
     align-items: center;
     justify-content: center;
     height: .48rem;
-    padding: 0 .52rem;
+    /*padding: 0 .52rem;*/
     cursor: pointer;
+    width: 25%;
 }
 .tabItem .tabName{
     font-size: .26rem;
@@ -604,6 +605,11 @@ body{
         grid-template-columns: repeat(2, 1fr);
         grid-gap: .2rem .14rem !important;
      }
+
+    .tabContainer .tabItem{
+        width: 36% !important;
+    }
+
      .newGoodsItem{
         height: 6.1rem;
      }
@@ -660,7 +666,7 @@ body{
 }
 @media (max-width: 899px) {
     .swiperContainer{
-        height: 4.6rem;
+        height: 3.5rem;
     }
     .superDealContainer{
         margin-bottom: .3rem;
@@ -708,7 +714,7 @@ body{
 }
 @media (max-width: 750px) {
     .swiperContainer{
-        height: 3.6rem;
+        height: 3.12rem;
     }
     .tabContainer{
         height: 1.3rem;
@@ -718,6 +724,7 @@ body{
         height: .66rem;
         max-width: 33%;
         border-radius: .12rem;
+        width: 28% !important;
     }
     .tabItem .tabName{
         font-size: .24rem;