DaMowang před 3 roky
rodič
revize
afe83a8e6f
1 změnil soubory, kde provedl 14 přidání a 7 odebrání
  1. 14 7
      src/components/swiperBanner.vue

+ 14 - 7
src/components/swiperBanner.vue

@@ -85,12 +85,16 @@
     height: 330rpx;
     overflow: hidden;
 }
-.radius_1 .swiper_box {
-    border-radius: 10rpx;
+.radius_1{
+	.swiper_box,.image {
+		border-radius: 10rpx;
+	}
 }
 
-.radius_2 .swiper_box {
-    border-radius: 16rpx;
+.radius_2{
+	.swiper_box,.image {
+		border-radius: 16rpx;
+	}
 }
 
 .imgsBar {
@@ -130,7 +134,7 @@
 }
 .ad_swiper-container1 .swiper_box,
 .ad_swiper-container1 .swiper_box .imgsBar{
-    height: 92.59vw;
+    height: 810rpx;
 }
 
 /* 广告图3:1 */
@@ -141,7 +145,7 @@
 /* 广告图5:2 */
 .ad_swiper-container52 .swiper_box,
 .ad_swiper-container52 .swiper_box .imgsBar{
-    height:37vw;
+    height: 272rpx;
 }
 
 // 广告图 25 : 17
@@ -156,5 +160,8 @@
     height: 210rpx;
 }
 
-.image{width: 100%;height: 100%;}
+.image{
+	width: 100%;
+	height: 100%;
+}
 </style>