activity.wxss 736 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* components/activity/activity.wxss */
  2. .activity {
  3. width: 100%;
  4. box-sizing: border-box;
  5. position: relative;
  6. }
  7. .activity-swiper {
  8. height: 168rpx;
  9. }
  10. .swiper-big {
  11. height: 244rpx;
  12. }
  13. .activity-img {
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .activity-img image {
  18. width: 100%;
  19. height: 168rpx;
  20. border-radius: 4rpx;
  21. }
  22. .indicator-wrap {
  23. position: absolute;
  24. bottom: 10rpx;
  25. left: 0;
  26. right: 0;
  27. display: flex;
  28. justify-content: center;
  29. align-items: center;
  30. flex-direction: row;
  31. }
  32. .indicator-wrap .indicator {
  33. display: inline-block;
  34. width: 20rpx;
  35. height: 4rpx;
  36. background: rgba(0, 0, 0, 0.2);
  37. border-radius: 4rpx;
  38. margin-left: 6px;
  39. }
  40. .indicator-wrap .indicator-active {
  41. background: rgba(255, 82, 61, 1);
  42. }