index.wxss 3.5 KB

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