page {margin:0; padding:0;width: 100%;height: 100%;} // common .cont_1200 {width: 1200px;margin: 0 auto;max-width: 92%;} .swiper-button {position: absolute;z-index: 2;width: 38px;height: 38px;border-radius: 50%;background: url(./images/icon_prev.png) no-repeat center;background-size: contain;background-color: #f5f7f7;box-shadow: 0px 4px 20px #00000033;cursor: pointer;} .swiper-button:hover {background-color: #2452a4;} .swiper-button.swiper-button-prev1:hover {background-image: url(./images/icon_preva.png);} .swiper-button.swiper-button-next1:hover {background-image: url(./images/icon_nexta.png);} .img_box {display: block;/*overflow: hidden;*/} .img_box {width: 100%;position: relative;padding-top: 100%;box-sizing: border-box;} /* 图标用 object-fit: contain; */ .img_box image {position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;width: 100%;height: 100%;object-fit: cover;} .img_box image {transition: all 0.5s ease;} .img_box image:hover {transform: scale(1.05);} .img_box image:hover {transform: scale(1);} .nowrap {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .wrap {display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;text-overflow: ellipsis;overflow: hidden;}