index.less 4.1 KB

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