index.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. .rankingBox {
  2. width: 100vw;
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. .podiumBox {
  7. position: relative;
  8. height: 510rpx;
  9. background-size: cover;
  10. .dateBox {
  11. position: relative;
  12. margin-top: 52rpx;
  13. font-size: 30rpx;
  14. text-align: center;
  15. font-weight: bold;
  16. color: #2DCE66;
  17. }
  18. .podiumContent {
  19. position: absolute;
  20. top: 222rpx;
  21. width: 100%;
  22. .user {
  23. position: absolute;
  24. width: 150rpx;
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. .avatar {
  29. width: 92rpx;
  30. height: 92rpx;
  31. border-radius: 50%;
  32. }
  33. .iconBox {
  34. margin: 8rpx 0rpx 4rpx;
  35. display: flex;
  36. align-items: center;
  37. .icon {
  38. width: 30rpx;
  39. height: 30rpx;
  40. }
  41. .num {
  42. margin-left: 6rpx;
  43. color: white;
  44. font-size: 28rpx;
  45. }
  46. }
  47. .nickName {
  48. text-align: center;
  49. font-size: 24rpx;
  50. color: white;
  51. width: 100%;
  52. }
  53. }
  54. .first {
  55. top: 0rpx;
  56. left: 304rpx;
  57. }
  58. .second {
  59. top: 53rpx;
  60. left: 114rpx;
  61. .avatar {
  62. width: 84rpx;
  63. height: 84rpx;
  64. }
  65. }
  66. .third {
  67. top: 72rpx;
  68. right: 112rpx;
  69. .avatar {
  70. width: 84rpx;
  71. height: 84rpx;
  72. }
  73. }
  74. }
  75. }
  76. .podiumList {
  77. flex: 1;
  78. overflow: hidden;
  79. .scrollBox {
  80. height: 100%;
  81. padding: 0rpx 30rpx;
  82. box-sizing: border-box;
  83. .row {
  84. display: flex;
  85. align-items: center;
  86. justify-content: space-between;
  87. padding: 23rpx 0rpx;
  88. border-bottom: 1rpx solid #ddd;
  89. .left {
  90. display: flex;
  91. align-items: center;
  92. justify-content: space-between;
  93. .num {
  94. font-size: 37rpx;
  95. width: 28rpx;
  96. }
  97. .avatar {
  98. margin: 0rpx 28rpx 0rpx 44rpx;
  99. width: 78rpx;
  100. height: 78rpx;
  101. background-color: #EBEBEB;
  102. border-radius: 50%;
  103. }
  104. .nickName {
  105. font-size: 34rpx;
  106. width: 240rpx;
  107. }
  108. }
  109. .right {
  110. text-align: center;
  111. .icon {
  112. width: 30rpx;
  113. height: 30rpx;
  114. }
  115. .num {
  116. font-size: 32rpx;
  117. color: #666;
  118. }
  119. }
  120. }
  121. }
  122. }
  123. .footer {
  124. width: 100%;
  125. padding: 26rpx 60rpx 30rpx 90rpx;
  126. box-sizing: border-box;
  127. display: flex;
  128. justify-content: space-between;
  129. align-items: center;
  130. background-color: white;
  131. box-shadow: 0 2rpx 24rpx 0 rgba(0, 0, 0, 0.50);
  132. .left {
  133. font-size: 26rpx;
  134. font-weight: bold;
  135. text {
  136. color: #4AC4FF;
  137. font-size: 38rpx;
  138. margin-left: 10rpx;
  139. }
  140. }
  141. .rigth {
  142. padding: 12rpx 34rpx;
  143. padding-left: 26rpx;
  144. border-radius: 50rpx;
  145. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  146. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  147. color: white;
  148. font-size: 26rpx;
  149. .share {
  150. width: 26rpx;
  151. height: 24rpx;
  152. margin-right: 14rpx;
  153. }
  154. }
  155. }
  156. }
  157. .invitation {
  158. background: url('http://reader-wx.ai160.com/images/reader/v3/rank2.jpg')no-repeat;
  159. .tips2 {
  160. color: #2DCE66;
  161. }
  162. }