index.less 5.4 KB

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