index.less 3.7 KB

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