spreadRank.wxss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. .content .rank-top {
  2. background: #5dbc7c;
  3. padding: 40rpx 16rpx 26rpx;
  4. position: relative;
  5. }
  6. .content .rank-top .rank-bg {
  7. width: 100%;
  8. display: block;
  9. }
  10. .content .rank-top .rank-top-box {
  11. position: absolute;
  12. top: 40rpx;
  13. height: 328rpx;
  14. }
  15. .content .rank-top .rank-top-box,.content .rank-top .rank-top-box .rank-top2 {
  16. display: flex;
  17. -webkit-box-align: center;
  18. align-items: center;
  19. }
  20. .content .rank-top .rank-top-box .rank-top2 {
  21. width: 215rpx;
  22. height: 100%;
  23. -webkit-box-orient: vertical;
  24. -webkit-box-direction: normal;
  25. flex-direction: column;
  26. -webkit-box-pack: end;
  27. justify-content: flex-end;
  28. padding-bottom: 33rpx;
  29. }
  30. .content .rank-top .rank-top-box .rank-top2 .rank-top2-img-box {
  31. position: relative;
  32. width: 84rpx;
  33. height: 84rpx;
  34. }
  35. .content .rank-top .rank-top-box .rank-top2 .rank-top2-img-box .rank-top2-avatar {
  36. width: 84rpx;
  37. height: 84rpx;
  38. border: 4rpx solid #c5d3e3;
  39. border-radius: 50%;
  40. background: #fcd012;
  41. }
  42. .content .rank-top .rank-top-box .rank-top2 .rank-top2-img-box .rank-top2-no2 {
  43. width: 39rpx;
  44. height: 39rpx;
  45. position: absolute;
  46. top: -20rpx;
  47. left: -14rpx;
  48. }
  49. .content .rank-top .rank-top-box .rank-top2 .rank-top2-name {
  50. padding: 0 5rpx;
  51. margin-top: 14rpx;
  52. font-size: 24rpx;
  53. font-family: PingFang SC;
  54. font-weight: 500;
  55. color: #000;
  56. width: 100%;
  57. overflow: hidden;
  58. text-overflow: ellipsis;
  59. white-space: nowrap;
  60. text-align: center;
  61. }
  62. .content .rank-top .rank-top-box .rank-top2 .rank-top2-num {
  63. margin-top: 16rpx;
  64. font-size: 36rpx;
  65. font-family: PingFang SC;
  66. font-weight: 700;
  67. color: #ef041f;
  68. line-height: 1;
  69. }
  70. .content .rank-top .rank-top-box .rank-top1 {
  71. width: 290rpx;
  72. height: 100%;
  73. display: flex;
  74. -webkit-box-orient: vertical;
  75. -webkit-box-direction: normal;
  76. flex-direction: column;
  77. -webkit-box-align: center;
  78. align-items: center;
  79. -webkit-box-pack: end;
  80. justify-content: flex-end;
  81. padding-bottom: 33rpx;
  82. }
  83. .content .rank-top .rank-top-box .rank-top1 .rank-top1-img-box {
  84. position: relative;
  85. width: 127rpx;
  86. height: 127rpx;
  87. }
  88. .content .rank-top .rank-top-box .rank-top1 .rank-top1-img-box .rank-top1-avatar {
  89. width: 127rpx;
  90. height: 127rpx;
  91. border: 8rpx solid #fcd012;
  92. border-radius: 50%;
  93. background: #fcd012;
  94. }
  95. .content .rank-top .rank-top-box .rank-top1 .rank-top1-img-box .rank-top1-no1 {
  96. width: 52rpx;
  97. height: 52rpx;
  98. position: absolute;
  99. top: -20rpx;
  100. left: -14rpx;
  101. }
  102. .content .rank-top .rank-top-box .rank-top1 .rank-top1-name {
  103. padding: 0 5rpx;
  104. margin-top: 14rpx;
  105. font-size: 32rpx;
  106. font-family: PingFang SC;
  107. font-weight: 500;
  108. color: #000;
  109. width: 100%;
  110. overflow: hidden;
  111. text-overflow: ellipsis;
  112. white-space: nowrap;
  113. text-align: center;
  114. }
  115. .content .rank-top .rank-top-box .rank-top1 .rank-top1-num {
  116. margin-top: 16rpx;
  117. font-size: 48rpx;
  118. font-family: PingFang SC;
  119. font-weight: 700;
  120. color: #ef041f;
  121. line-height: 1;
  122. }
  123. .content .rank-top .rank-top-box .rank-top3 {
  124. width: 215rpx;
  125. height: 100%;
  126. display: flex;
  127. -webkit-box-orient: vertical;
  128. -webkit-box-direction: normal;
  129. flex-direction: column;
  130. -webkit-box-align: center;
  131. align-items: center;
  132. -webkit-box-pack: end;
  133. justify-content: flex-end;
  134. padding-bottom: 33rpx;
  135. }
  136. .content .rank-top .rank-top-box .rank-top3 .rank-top3-img-box {
  137. position: relative;
  138. width: 82rpx;
  139. height: 82rpx;
  140. }
  141. .content .rank-top .rank-top-box .rank-top3 .rank-top3-img-box .rank-top3-avatar {
  142. width: 82rpx;
  143. height: 82rpx;
  144. border: 4rpx solid #f9a771;
  145. border-radius: 50%;
  146. background: #fcd012;
  147. }
  148. .content .rank-top .rank-top-box .rank-top3 .rank-top3-img-box .rank-top3-no3 {
  149. width: 39rpx;
  150. height: 39rpx;
  151. position: absolute;
  152. top: -20rpx;
  153. left: -14rpx;
  154. }
  155. .content .rank-top .rank-top-box .rank-top3 .rank-top3-name {
  156. padding: 0 5rpx;
  157. margin-top: 14rpx;
  158. font-size: 24rpx;
  159. font-family: PingFang SC;
  160. font-weight: 500;
  161. color: #000;
  162. width: 100%;
  163. overflow: hidden;
  164. text-overflow: ellipsis;
  165. white-space: nowrap;
  166. text-align: center;
  167. }
  168. .content .rank-top .rank-top-box .rank-top3 .rank-top3-num {
  169. margin-top: 16rpx;
  170. font-size: 36rpx;
  171. font-family: PingFang SC;
  172. font-weight: 700;
  173. color: #ef041f;
  174. line-height: 1;
  175. }
  176. .content .rank-box {
  177. padding: 20rpx 30rpx;
  178. }
  179. .content .rank-box .rank-frame {
  180. background: #fff;
  181. border-radius: 10rpx;
  182. padding: 20rpx 42rpx;
  183. }
  184. .content .rank-box .rank-frame .rank-list-title {
  185. font-size: 24rpx;
  186. font-family: PingFang SC;
  187. font-weight: 700;
  188. color: #fff;
  189. width: 100%;
  190. height: 57rpx;
  191. background: #5dbc7c;
  192. border-radius: 29rpx;
  193. display: flex;
  194. -webkit-box-align: center;
  195. align-items: center;
  196. text-align: center;
  197. padding: 0 40rpx;
  198. }
  199. .content .rank-box .rank-frame .rank-list-title .list-title {
  200. width: 246rpx;
  201. }
  202. .content .rank-box .rank-frame .rank-list-title .list-sum {
  203. width: 180rpx;
  204. }
  205. .content .rank-box .rank-frame .rank-list-box {
  206. padding: 0 40rpx;
  207. height: 84rpx;
  208. display: flex;
  209. -webkit-box-align: center;
  210. align-items: center;
  211. text-align: center;
  212. border-bottom: 1px solid #e8e8e8;
  213. }
  214. .content .rank-box .rank-frame .rank-list-box .rank-list-top {
  215. font-size: 30rpx;
  216. font-family: PingFang SC;
  217. font-weight: 500;
  218. color: #333;
  219. width: 100rpx;
  220. position: relative;
  221. }
  222. .content .rank-box .rank-frame .rank-list-box .rank-list-top .rank-list-bg {
  223. width: 40rpx;
  224. height: 54rpx;
  225. }
  226. .content .rank-box .rank-frame .rank-list-box .rank-list-top .rank-list-no {
  227. position: absolute;
  228. top: 4rpx;
  229. width: 100%;
  230. color: #fff;
  231. font-size: 20rpx;
  232. font-family: PingFang SC;
  233. font-weight: 700;
  234. }
  235. .content .rank-box .rank-frame .rank-list-box .rank-list-user {
  236. width: 246rpx;
  237. display: flex;
  238. -webkit-box-align: center;
  239. align-items: center;
  240. -webkit-box-pack: center;
  241. justify-content: center;
  242. }
  243. .content .rank-box .rank-frame .rank-list-box .rank-list-user .rank-list-avatar {
  244. width: 43rpx;
  245. height: 43rpx;
  246. background: #000;
  247. border: 4rpx solid #fec900;
  248. border-radius: 50%;
  249. }
  250. .content .rank-box .rank-frame .rank-list-box .rank-list-user .rank-list-name {
  251. margin-left: 12rpx;
  252. font-size: 30rpx;
  253. font-family: PingFang SC;
  254. font-weight: 500;
  255. color: #ef041f;
  256. max-width: 180rpx;
  257. overflow: hidden;
  258. text-overflow: ellipsis;
  259. white-space: nowrap;
  260. }
  261. .content .rank-box .rank-frame .rank-list-box .rank-list-num {
  262. width: 180rpx;
  263. font-size: 30rpx;
  264. font-family: PingFang SC;
  265. font-weight: 700;
  266. color: #ef041f;
  267. }