ranking.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /* pages/contest/ranking/ranking.wxss */
  2. .bg {
  3. width: 100%;
  4. height: 100vh;
  5. position: fixed;
  6. z-index: 0;
  7. }
  8. .page-title {
  9. position: relative;
  10. z-index: 1;
  11. width: 100%;
  12. font-size: 32rpx;
  13. font-weight: 400;
  14. color: #FFFFFF;
  15. padding-top: 68rpx;
  16. text-align: center;
  17. }
  18. .content {
  19. position: relative;
  20. z-index: 1;
  21. margin-top: 42rpx;
  22. }
  23. .navList {
  24. display: flex;
  25. justify-content: space-around;
  26. }
  27. .navList > view {
  28. width: 210rpx;
  29. height: 60rpx;
  30. line-height: 60rpx;
  31. border-radius: 38rpx;
  32. border: 2rpx solid rgba(255, 255, 255,.6);
  33. font-weight: 600;
  34. color: #FFFFFF;
  35. font-size: 28rpx;
  36. text-align: center;
  37. }
  38. .navList .active {
  39. background: #F4B622;
  40. border-color: #F4B622;
  41. }
  42. .ranking-top {
  43. display: flex;
  44. justify-content: space-around;
  45. margin-top: 64rpx;
  46. margin-bottom: 60rpx;
  47. padding: 0 40rpx;
  48. }
  49. .ranking-top > view {
  50. display: flex;
  51. align-items: center;
  52. flex-direction: column;
  53. }
  54. .second, .third {
  55. margin-top: 60rpx;
  56. }
  57. .second > image, .third > image {
  58. width: 120rpx;
  59. height: 120rpx;
  60. border-radius: 60rpx;
  61. background: rgb(187, 181, 181);
  62. }
  63. .first > image {
  64. background: rgb(187, 181, 181);
  65. width: 140rpx;
  66. height: 140rpx;
  67. border-radius: 70rpx;
  68. }
  69. .num {
  70. margin-top:-18rpx ;
  71. width: 40rpx;
  72. height: 40rpx;
  73. border-radius: 20rpx;
  74. text-align: center;
  75. line-height: 40rpx;
  76. font-weight: 800;
  77. color: #000000;
  78. font-size: 28rpx;
  79. margin-bottom: 10rpx;
  80. }
  81. .second .num {
  82. background: #31B5FF;
  83. }
  84. .first .num {
  85. background: #F4B622;
  86. }
  87. .third .num {
  88. background: #E66F6F;
  89. }
  90. .nickname {
  91. font-size: 32rpx;
  92. font-weight: 600;
  93. color: #FFFFFF;
  94. line-height: 44rpx;
  95. }
  96. .ranking-top .fraction {
  97. margin-top: 6rpx;
  98. width: 160rpx;
  99. height: 40rpx;
  100. border-radius: 20rpx;
  101. text-align: center;
  102. font-size: 24rpx;
  103. font-weight: 800;
  104. line-height: 40rpx;
  105. color: #FFF431;
  106. background: rgba(0, 0, 0,.15);
  107. }
  108. .ranking-item {
  109. border-top: 2rpx rgba(255, 255, 255,.1) solid;
  110. display: flex;
  111. align-items: center;
  112. height: 144rpx;
  113. }
  114. .order-num {
  115. font-size: 32rpx;
  116. color: #FFFFFF;
  117. margin: 0 48rpx 0 44rpx;
  118. }
  119. .ranking-item > image {
  120. width: 88rpx;
  121. height: 88rpx;
  122. border-radius: 44rpx;
  123. background: rgb(187, 181, 181);
  124. }
  125. .ranking-item .nickname {
  126. margin-left: 36rpx;
  127. width: 300rpx;
  128. margin-right: 100rpx;
  129. }
  130. .ranking-item .fraction {
  131. font-size: 24rpx;
  132. font-weight: 800;
  133. line-height: 40rpx;
  134. color: #FFF431;
  135. }