index.less 635 B

123456789101112131415161718192021222324252627282930
  1. .header {
  2. position: relative;
  3. margin-bottom: 50rpx;
  4. .headerBg {
  5. position: absolute;
  6. z-index: -2;
  7. width: 100%;
  8. height: 100%;
  9. background-color: #F2F6FC;
  10. }
  11. .swiper {
  12. margin: 0 auto;
  13. width: 700rpx;
  14. height: 250rpx;
  15. border-radius: 30rpx;
  16. overflow: hidden;
  17. box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  18. .swiper-item {
  19. width: 100%;
  20. height: 100%;
  21. border-radius: 20rpx;
  22. overflow: hidden;
  23. object-fit: cover;
  24. }
  25. }
  26. }