This reverts commit 2c9bc4e6038ef6fe85f6faa004f352e97904b7c7.
@@ -154,8 +154,6 @@ export default {
background: #f4f4f4;
transition: all ease 0.6s;
box-shadow: none;
- margin: 0;
- padding: 0;
}
#header .header-top {
@@ -185,8 +185,6 @@ export default {
/* 轮播图 */
#swiper {
- width: 100%;
- height: 500px;
margin: 0;
padding: 0;
@@ -198,15 +196,8 @@ export default {
-#swiper .banner-swiper .swiper-slide {
- height: 100%;
-}
-
#swiper .banner-swiper .swiper-slide img {
- object-fit: cover;
+ max-width: 100%;
background-size: cover;