index.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .matchBox {
  2. background-color: F2F6FC;
  3. .headerImg {
  4. width: 100%;
  5. height: 216rpx;
  6. background-color: #5DE0C0;
  7. }
  8. .modelText {
  9. width: 724rpx;
  10. margin: 40rpx auto;
  11. border-radius: 20rpx;
  12. background-color: white;
  13. .header {
  14. position: relative;
  15. text-align: center;
  16. .bg {
  17. position: absolute;
  18. top: -24rpx;
  19. left: 0rpx;
  20. right: 0rpx;
  21. margin: auto;
  22. width: 460rpx;
  23. height: 90rpx;
  24. }
  25. .text {
  26. position: relative;
  27. z-index: 2;
  28. font-size: 36rpx;
  29. color: #A0A0A0;
  30. }
  31. }
  32. .tips {
  33. margin: 42rpx auto;
  34. width: 580rpx;
  35. padding: 6rpx 0rpx;
  36. text-align: center;
  37. letter-spacing: 2rpx;
  38. border-radius: 20rpx;
  39. font-size: 30rpx;
  40. color: #858585;
  41. background-color: #F8F6FF;
  42. }
  43. .swiper {
  44. .swiper-item {
  45. width: 580rpx;
  46. height: 238rpx;
  47. border-radius: 10rpx;
  48. overflow: hidden;
  49. object-fit: cover;
  50. }
  51. }
  52. }
  53. .rankList {
  54. width: 100%;
  55. margin-top: 60rpx;
  56. background-color: white;
  57. .switchBtns {
  58. height: 88rpx;
  59. display: flex;
  60. align-items: flex-end;
  61. background-color: #D5DDEA;
  62. .switchBtn {
  63. width: 50%;
  64. font-size: 34rpx;
  65. padding: 20rpx 0rpx;
  66. background-color: #D5DDEA;
  67. text-align: center;
  68. }
  69. .currentBtn {
  70. color: #FF6908;
  71. padding: 30rpx 10rpx;
  72. font-weight: bold;
  73. background-color: white;
  74. }
  75. .currentBtn-l {
  76. border-top-right-radius: 50rpx;
  77. }
  78. .currentBtn-r {
  79. border-top-left-radius: 50rpx;
  80. }
  81. }
  82. }
  83. }