index.less 4.0 KB

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