index.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. .matchBox {
  2. min-height: 100vh;
  3. background-color: F2F6FC;
  4. .headerImg {
  5. width: 100%;
  6. height: 216rpx;
  7. background-color: #5DE0C0;
  8. }
  9. .modelText {
  10. position: relative;
  11. width: 724rpx;
  12. margin: 40rpx auto;
  13. border-radius: 20rpx;
  14. padding-top: 40rpx;
  15. background-color: white;
  16. .header {
  17. position: absolute;
  18. text-align: center;
  19. top: -26rpx;
  20. left: 0rpx;
  21. right: 0rpx;
  22. .bg {
  23. margin: auto;
  24. width: 460rpx;
  25. height: 80rpx;
  26. }
  27. .text {
  28. position: absolute;
  29. left: 0rpx;
  30. right: 0rpx;
  31. top: 14rpx;
  32. margin: auto;
  33. z-index: 2;
  34. font-size: 34rpx;
  35. color: white;
  36. }
  37. }
  38. .swiper {
  39. margin-top: 40rpx;
  40. width: 100%;
  41. height: 372rpx;
  42. .swiper-item {
  43. width: 562rpx;
  44. height: 316rpx;
  45. border-radius: 10rpx;
  46. overflow: hidden;
  47. object-fit: cover;
  48. }
  49. }
  50. }
  51. .rankList {
  52. width: 100%;
  53. margin-top: 60rpx;
  54. background-color: white;
  55. .switchBtns {
  56. height: 88rpx;
  57. display: flex;
  58. align-items: flex-end;
  59. background-color: #D5DDEA;
  60. .switchBtn {
  61. width: 50%;
  62. font-size: 34rpx;
  63. padding: 20rpx 0rpx;
  64. background-color: #D5DDEA;
  65. text-align: center;
  66. }
  67. .currentBtn {
  68. color: #FF6908;
  69. padding: 30rpx 10rpx;
  70. font-weight: bold;
  71. background-color: white;
  72. }
  73. .currentBtn-l {
  74. border-top-right-radius: 50rpx;
  75. }
  76. .currentBtn-r {
  77. border-top-left-radius: 50rpx;
  78. }
  79. }
  80. .table {
  81. padding: 10rpx 32rpx 30rpx;
  82. box-sizing: border-box;
  83. .titleLine {
  84. display: flex;
  85. align-items: center;
  86. justify-content: space-between;
  87. font-size: 36rpx;
  88. }
  89. .contentBox {
  90. margin-top: 24rpx;
  91. display: flex;
  92. justify-content: space-between;
  93. align-items: center;
  94. .firstCol {
  95. width: 70rpx;
  96. text-align: center;
  97. font-size: 34rpx;
  98. .rankingImg {
  99. width: 44rpx;
  100. height: 48rpx;
  101. }
  102. }
  103. .secondCol {
  104. flex: 1;
  105. margin: 0rpx 20rpx 0rpx 40rpx;
  106. display: flex;
  107. align-items: center;
  108. .avatar {
  109. width: 66rpx;
  110. height: 66rpx;
  111. border-radius: 50%;
  112. }
  113. .userInfo {
  114. margin-left: 20rpx;
  115. .nickName {
  116. font-size: 28rpx;
  117. margin-bottom: 6rpx;
  118. }
  119. .date {
  120. display: flex;
  121. align-items: center;
  122. view {
  123. display: flex;
  124. align-items: center;
  125. margin-right: 10rpx;
  126. }
  127. .icon {
  128. width: 26rpx;
  129. height: 23rpx;
  130. }
  131. .num {
  132. margin-left: 6rpx;
  133. font-size: 20rpx;
  134. color: #666666;
  135. }
  136. }
  137. }
  138. }
  139. .threeCol {
  140. width: 100rpx;
  141. text-align: center;
  142. .icon {
  143. width: 25rpx;
  144. height: 27rpx;
  145. }
  146. .num {
  147. font-size: 30rpx;
  148. }
  149. }
  150. }
  151. .selfRank {
  152. position: fixed;
  153. width: 100%;
  154. left: 0rpx;
  155. bottom: 0rpx;
  156. padding: 14rpx 32rpx;
  157. box-sizing: border-box;
  158. background-color: white;
  159. box-shadow: 0 2rpx 20rpx 0 rgba(0, 0, 0, 0.50);
  160. }
  161. }
  162. }
  163. }