index.less 3.8 KB

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