index.wxss 3.7 KB

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