index.wxss 488 B

12345678910111213141516171819202122232425
  1. .header {
  2. position: relative;
  3. }
  4. .header .headerBg {
  5. position: absolute;
  6. z-index: -2;
  7. width: 100%;
  8. height: 100%;
  9. background-color: #F2F6FC;
  10. }
  11. .header .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. }
  19. .header .swiper .swiper-item {
  20. width: 100%;
  21. height: 100%;
  22. border-radius: 20rpx;
  23. overflow: hidden;
  24. object-fit: cover;
  25. }