index.wxss 4.0 KB

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