index.wxss 3.7 KB

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