index.less 3.7 KB

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