index.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. .matchBox {
  2. background-color: F2F6FC;
  3. }
  4. .matchBox .headerImg {
  5. width: 100%;
  6. height: 216rpx;
  7. background-color: #5DE0C0;
  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 .tips {
  40. margin: 42rpx auto;
  41. width: 580rpx;
  42. padding: 6rpx 0rpx;
  43. text-align: center;
  44. letter-spacing: 2rpx;
  45. border-radius: 20rpx;
  46. font-size: 30rpx;
  47. color: #858585;
  48. background-color: #F8F6FF;
  49. }
  50. .matchBox .modelText .swiper .swiper-item {
  51. width: 580rpx;
  52. height: 238rpx;
  53. border-radius: 10rpx;
  54. overflow: hidden;
  55. object-fit: cover;
  56. }
  57. .matchBox .rankList {
  58. width: 100%;
  59. margin-top: 60rpx;
  60. background-color: white;
  61. }
  62. .matchBox .rankList .switchBtns {
  63. height: 88rpx;
  64. display: flex;
  65. align-items: flex-end;
  66. background-color: #D5DDEA;
  67. }
  68. .matchBox .rankList .switchBtns .switchBtn {
  69. width: 50%;
  70. font-size: 34rpx;
  71. padding: 20rpx 0rpx;
  72. background-color: #D5DDEA;
  73. text-align: center;
  74. }
  75. .matchBox .rankList .switchBtns .currentBtn {
  76. color: #FF6908;
  77. padding: 30rpx 10rpx;
  78. font-weight: bold;
  79. background-color: white;
  80. }
  81. .matchBox .rankList .switchBtns .currentBtn-l {
  82. border-top-right-radius: 50rpx;
  83. }
  84. .matchBox .rankList .switchBtns .currentBtn-r {
  85. border-top-left-radius: 50rpx;
  86. }
  87. .matchBox .rankList .table {
  88. padding: 10rpx 32rpx;
  89. box-sizing: border-box;
  90. }
  91. .matchBox .rankList .table .titleLine {
  92. display: flex;
  93. align-items: center;
  94. justify-content: space-between;
  95. font-size: 36rpx;
  96. }
  97. .matchBox .rankList .table .contentBox {
  98. margin-top: 20rpx;
  99. display: flex;
  100. justify-content: space-between;
  101. align-items: center;
  102. }
  103. .matchBox .rankList .table .contentBox .firstCol {
  104. width: 70rpx;
  105. text-align: center;
  106. font-size: 38rpx;
  107. }
  108. .matchBox .rankList .table .contentBox .firstCol .rankingImg {
  109. width: 52rpx;
  110. height: 60rpx;
  111. }
  112. .matchBox .rankList .table .contentBox .secondCol {
  113. flex: 1;
  114. margin: 0rpx 20rpx 0rpx 40rpx;
  115. display: flex;
  116. align-items: center;
  117. }
  118. .matchBox .rankList .table .contentBox .secondCol .avatar {
  119. width: 80rpx;
  120. height: 80rpx;
  121. border-radius: 50%;
  122. }
  123. .matchBox .rankList .table .contentBox .secondCol .userInfo {
  124. margin-left: 20rpx;
  125. }
  126. .matchBox .rankList .table .contentBox .secondCol .userInfo .nickName {
  127. font-size: 34rpx;
  128. margin-bottom: 6rpx;
  129. }
  130. .matchBox .rankList .table .contentBox .secondCol .userInfo .date {
  131. display: flex;
  132. align-items: center;
  133. }
  134. .matchBox .rankList .table .contentBox .secondCol .userInfo .date view {
  135. display: flex;
  136. align-items: center;
  137. margin-right: 10rpx;
  138. }
  139. .matchBox .rankList .table .contentBox .secondCol .userInfo .date .icon {
  140. width: 26rpx;
  141. height: 23rpx;
  142. }
  143. .matchBox .rankList .table .contentBox .secondCol .userInfo .date .num {
  144. margin-left: 6rpx;
  145. font-size: 20rpx;
  146. color: #666666;
  147. }
  148. .matchBox .rankList .table .contentBox .threeCol {
  149. width: 100rpx;
  150. text-align: center;
  151. }
  152. .matchBox .rankList .table .contentBox .threeCol .icon {
  153. width: 25rpx;
  154. height: 27rpx;
  155. }
  156. .matchBox .rankList .table .contentBox .threeCol .num {
  157. font-size: 30rpx;
  158. }