topSwiper.wxss 406 B

123456789101112131415161718192021222324252627
  1. .carousel {
  2. height: 700rpx;
  3. position: relative;
  4. }
  5. .carousel swiper {
  6. height: 100%;
  7. }
  8. .carousel .image-wrapper {
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .carousel .swiper-item {
  13. display: flex;
  14. -webkit-box-pack: center;
  15. justify-content: center;
  16. align-content: center;
  17. height: 700rpx;
  18. overflow: hidden;
  19. }
  20. .carousel .swiper-item image {
  21. width: 100%;
  22. height: 100%;
  23. }