ranking.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /* pages/contest/ranking/ranking.wxss */
  2. Page {
  3. background-color: #4EB3F9;
  4. }
  5. .bg {
  6. width: 100%;
  7. height: 100vh;
  8. position: absolute;
  9. z-index: 0;
  10. }
  11. .home {
  12. width: 40rpx;
  13. height: 40rpx;
  14. position: absolute;
  15. top: 70rpx;
  16. left: 50rpx;
  17. z-index: 99;
  18. }
  19. .page-title {
  20. position: relative;
  21. z-index: 1;
  22. width: 100%;
  23. font-size: 32rpx;
  24. font-weight: 400;
  25. color: #FFFFFF;
  26. padding-top: 68rpx;
  27. text-align: center;
  28. }
  29. .content {
  30. position: relative;
  31. z-index: 1;
  32. margin-top: 42rpx;
  33. }
  34. .navList {
  35. display: flex;
  36. justify-content: space-around;
  37. }
  38. .navList > view {
  39. width: 210rpx;
  40. height: 60rpx;
  41. line-height: 60rpx;
  42. border-radius: 38rpx;
  43. border: 2rpx solid rgba(255, 255, 255,.6);
  44. font-weight: 600;
  45. color: #FFFFFF;
  46. font-size: 28rpx;
  47. text-align: center;
  48. }
  49. .navList .active {
  50. background: #F4B622;
  51. border-color: #F4B622;
  52. }
  53. .ranking-top {
  54. display: flex;
  55. justify-content: space-around;
  56. margin-top: 64rpx;
  57. margin-bottom: 60rpx;
  58. padding: 0 40rpx;
  59. }
  60. .ranking-top > view {
  61. display: flex;
  62. align-items: center;
  63. flex-direction: column;
  64. }
  65. .second, .third {
  66. width: 160rpx;
  67. margin-top: 60rpx;
  68. }
  69. .second > image, .third > image {
  70. width: 120rpx;
  71. height: 120rpx;
  72. border-radius: 60rpx;
  73. background: rgb(187, 181, 181);
  74. }
  75. .first > image {
  76. background: rgb(187, 181, 181);
  77. width: 140rpx;
  78. height: 140rpx;
  79. border-radius: 70rpx;
  80. }
  81. .num {
  82. margin-top:-18rpx ;
  83. width: 40rpx;
  84. height: 40rpx;
  85. border-radius: 20rpx;
  86. text-align: center;
  87. line-height: 40rpx;
  88. font-weight: 800;
  89. color: #000000;
  90. font-size: 28rpx;
  91. margin-bottom: 10rpx;
  92. }
  93. .second .num {
  94. background: #31B5FF;
  95. }
  96. .first .num {
  97. background: #F4B622;
  98. }
  99. .third .num {
  100. background: #E66F6F;
  101. }
  102. .nickname {
  103. font-size: 32rpx;
  104. font-weight: 600;
  105. color: #FFFFFF;
  106. line-height: 44rpx;
  107. }
  108. .ranking-top .fraction {
  109. margin-top: 6rpx;
  110. width: 160rpx;
  111. height: 40rpx;
  112. border-radius: 20rpx;
  113. text-align: center;
  114. font-size: 24rpx;
  115. font-weight: 800;
  116. line-height: 40rpx;
  117. color: #FFF431;
  118. background: rgba(0, 0, 0,.15);
  119. }
  120. .ranking-item {
  121. border-top: 2rpx rgba(255, 255, 255,.1) solid;
  122. display: flex;
  123. align-items: center;
  124. height: 144rpx;
  125. }
  126. .order-num {
  127. width: 40rpx;
  128. font-size: 32rpx;
  129. color: #FFFFFF;
  130. text-align: center;
  131. margin: 0 38rpx 0 34rpx;
  132. }
  133. .top-three {
  134. width: 80rpx;
  135. height: 100rpx;
  136. padding: 0 14rpx 0 16rpx;
  137. }
  138. .ranking-item .avatar {
  139. width: 88rpx;
  140. height: 88rpx;
  141. border-radius: 44rpx;
  142. background: rgb(187, 181, 181);
  143. margin-right: 36rpx;
  144. }
  145. .page-icon-2 {
  146. width: 26rpx;
  147. height: 54rpx;
  148. margin: 0 54rpx 0 44rpx;
  149. }
  150. .page-icon-3 {
  151. width: 56rpx;
  152. height: 56rpx;
  153. margin: 0 32rpx 0 36rpx;
  154. }
  155. .ranking-item .nickname {
  156. width: 400rpx;
  157. /* margin-right: 100rpx; */
  158. }
  159. .school-tag {
  160. padding: 7rpx 16rpx;
  161. height: 38rpx;
  162. background: #4283F3;
  163. border-radius: 24rpx;
  164. font-size: 24rpx;
  165. font-weight: 400;
  166. color: #EAF1FD;
  167. margin-top: 6rpx;
  168. }
  169. .ranking-item .fraction {
  170. font-size: 24rpx;
  171. font-weight: 800;
  172. line-height: 40rpx;
  173. color: #FFF431;
  174. }
  175. .help {
  176. position: absolute;
  177. top: 482rpx;
  178. right: 43rpx;
  179. display: flex;
  180. flex-direction: column;
  181. align-items: flex-end;
  182. }
  183. .help-icon {
  184. width: 42rpx;
  185. height: 42rpx;
  186. position: relative;
  187. right: 22rpx;
  188. z-index: 99;
  189. }
  190. .help-message {
  191. margin-top: 6rpx;
  192. position: relative;
  193. }
  194. .help-message > image {
  195. width: 396rpx;
  196. height: 196rpx;
  197. position: absolute;
  198. z-index: 99;
  199. }
  200. .message {
  201. width: 396rpx;
  202. padding: 22rpx 14rpx 18rpx 18rpx;
  203. box-sizing: border-box;
  204. position: relative;
  205. z-index: 999;
  206. }
  207. .message-title {
  208. font-weight: 500;
  209. color: #FFFFFF;
  210. font-size: 28rpx;
  211. text-align: end;
  212. padding-right: 12rpx;
  213. margin-bottom: 10rpx;
  214. }
  215. .message-test {
  216. font-weight: 400;
  217. color: #D1D8EB;
  218. font-size: 24rpx;
  219. line-height: 34rpx;
  220. text-align: end;
  221. }