index.wxss 4.0 KB

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