Browse Source

详情页大图

panhui 3 years ago
parent
commit
591fe379ec
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/components/product/ProductBanner.vue

+ 4 - 4
src/components/product/ProductBanner.vue

@@ -33,7 +33,7 @@
                         :src="getImg(item.url, '', 1200)"
                         width="calc(100vw - 150px)"
                         height="calc(100vw - 150px)"
-                        fit="cover"
+                        fit="contain"
                     />
                 </swiper-slide>
             </swiper>
@@ -206,7 +206,7 @@ export default {
     }
     .mySwiper {
         border-radius: @radius;
-        border: 2px solid #ffffff;
+        // border: 2px solid #ffffff;
         padding: 5px;
         overflow: hidden;
         .detail-animate();
@@ -220,7 +220,7 @@ export default {
             position: relative;
             overflow: hidden;
             /deep/ .van-image {
-                border: 2px solid #2f2f2f;
+                // border: 2px solid #2f2f2f;
                 border-radius: @radius;
                 overflow: hidden;
                 background-color: @bg;
@@ -230,7 +230,7 @@ export default {
 }
 
 .swiper-video {
-    border: 2px solid #2f2f2f;
+    // border: 2px solid #2f2f2f;
     border-radius: @radius;
     width: calc(100vw - 150px);
     height: calc(100vw - 150px);