index.wxss 512 B

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