index.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. .matchBox {
  2. background-color: F2F6FC;
  3. .headerImg {
  4. width: 100%;
  5. height: 216rpx;
  6. background-color: #5DE0C0;
  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. .tips {
  38. margin: 42rpx auto;
  39. width: 580rpx;
  40. padding: 6rpx 0rpx;
  41. text-align: center;
  42. letter-spacing: 2rpx;
  43. border-radius: 20rpx;
  44. font-size: 30rpx;
  45. color: #858585;
  46. background-color: #F8F6FF;
  47. }
  48. .swiper {
  49. .swiper-item {
  50. width: 580rpx;
  51. height: 238rpx;
  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 30rpx;
  89. box-sizing: border-box;
  90. .titleLine {
  91. display: flex;
  92. align-items: center;
  93. justify-content: space-between;
  94. font-size: 36rpx;
  95. }
  96. .contentBox {
  97. margin-top: 22rpx;
  98. display: flex;
  99. justify-content: space-between;
  100. align-items: center;
  101. .firstCol {
  102. width: 70rpx;
  103. text-align: center;
  104. font-size: 38rpx;
  105. .rankingImg {
  106. width: 52rpx;
  107. height: 60rpx;
  108. }
  109. }
  110. .secondCol {
  111. flex: 1;
  112. margin: 0rpx 20rpx 0rpx 40rpx;
  113. display: flex;
  114. align-items: center;
  115. .avatar {
  116. width: 80rpx;
  117. height: 80rpx;
  118. border-radius: 50%;
  119. }
  120. .userInfo {
  121. margin-left: 20rpx;
  122. .nickName {
  123. font-size: 34rpx;
  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. }