zhangjinxing il y a 3 ans
Parent
commit
114746adab
1 fichiers modifiés avec 8 ajouts et 9 suppressions
  1. 8 9
      src/views/product/index.vue

+ 8 - 9
src/views/product/index.vue

@@ -348,7 +348,7 @@ export default {
   }
   .product-baozhuang {
     width: 100vw;
-    margin: -10vh 0 0 0;
+    // margin: -10vh 0 0 0;
   }
   .productPack {
     width: calc(100vw - 30px);
@@ -626,9 +626,9 @@ export default {
     .kongParents {
       top: 174px;
     }
-    .product-baozhuang {
-      margin: -15vh 0 0 0;
-    }
+    // .product-baozhuang {
+    //   margin: -15vh 0 0 0;
+    // }
     .productPack {
       .box {
         p {
@@ -645,15 +645,14 @@ export default {
       }
     }
   }
-  @media screen and (max-width: 375px) {
+  @media screen and (max-width: 375px) and (max-width: 414px) {
     .product-baozhuang {
       margin: -80px 0 0 0;
     }
   }
-  @media screen and (max-wdith: 768px) {
-    .productPack {
-      width: calc(100vw - 44px);
-      top: 2vh;
+  @media screen and (min-width: 414px) {
+    .product-baozhuang {
+      margin: -80px 0 0 0;
     }
   }
 }