index.wxss 5.0 KB

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