index.wxss 3.6 KB

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