index.wxss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. .rankingBox {
  2. width: 100vw;
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. }
  7. .rankingBox .podiumBox {
  8. position: relative;
  9. height: 510rpx;
  10. background-size: cover;
  11. }
  12. .rankingBox .podiumBox .dateBox {
  13. position: relative;
  14. margin-top: 52rpx;
  15. font-size: 30rpx;
  16. text-align: center;
  17. font-weight: bold;
  18. color: #2DCE66;
  19. }
  20. .rankingBox .podiumBox .podiumContent {
  21. position: absolute;
  22. top: 222rpx;
  23. width: 100%;
  24. }
  25. .rankingBox .podiumBox .podiumContent .user {
  26. position: absolute;
  27. width: 150rpx;
  28. display: flex;
  29. flex-direction: column;
  30. align-items: center;
  31. }
  32. .rankingBox .podiumBox .podiumContent .user .avatar {
  33. width: 92rpx;
  34. height: 92rpx;
  35. border-radius: 50%;
  36. }
  37. .rankingBox .podiumBox .podiumContent .user .iconBox {
  38. margin: 8rpx 0rpx 4rpx;
  39. display: flex;
  40. align-items: center;
  41. }
  42. .rankingBox .podiumBox .podiumContent .user .iconBox .icon {
  43. width: 30rpx;
  44. height: 30rpx;
  45. }
  46. .rankingBox .podiumBox .podiumContent .user .iconBox .num {
  47. margin-left: 6rpx;
  48. color: white;
  49. font-size: 28rpx;
  50. }
  51. .rankingBox .podiumBox .podiumContent .user .nickName {
  52. text-align: center;
  53. font-size: 24rpx;
  54. color: white;
  55. width: 100%;
  56. }
  57. .rankingBox .podiumBox .podiumContent .first {
  58. top: 0rpx;
  59. left: 304rpx;
  60. }
  61. .rankingBox .podiumBox .podiumContent .second {
  62. top: 53rpx;
  63. left: 114rpx;
  64. }
  65. .rankingBox .podiumBox .podiumContent .second .avatar {
  66. width: 84rpx;
  67. height: 84rpx;
  68. }
  69. .rankingBox .podiumBox .podiumContent .third {
  70. top: 72rpx;
  71. right: 112rpx;
  72. }
  73. .rankingBox .podiumBox .podiumContent .third .avatar {
  74. width: 84rpx;
  75. height: 84rpx;
  76. }
  77. .rankingBox .podiumList {
  78. flex: 1;
  79. overflow: hidden;
  80. }
  81. .rankingBox .podiumList .scrollBox {
  82. height: 100%;
  83. padding: 0rpx 30rpx;
  84. box-sizing: border-box;
  85. }
  86. .rankingBox .podiumList .scrollBox .row {
  87. display: flex;
  88. align-items: center;
  89. justify-content: space-between;
  90. padding: 23rpx 0rpx;
  91. border-bottom: 1rpx solid #ddd;
  92. }
  93. .rankingBox .podiumList .scrollBox .row .left {
  94. display: flex;
  95. align-items: center;
  96. justify-content: space-between;
  97. }
  98. .rankingBox .podiumList .scrollBox .row .left .num {
  99. font-size: 37rpx;
  100. width: 28rpx;
  101. }
  102. .rankingBox .podiumList .scrollBox .row .left .avatar {
  103. margin: 0rpx 28rpx 0rpx 44rpx;
  104. width: 78rpx;
  105. height: 78rpx;
  106. background-color: #EBEBEB;
  107. border-radius: 50%;
  108. }
  109. .rankingBox .podiumList .scrollBox .row .left .nickName {
  110. font-size: 34rpx;
  111. width: 240rpx;
  112. }
  113. .rankingBox .podiumList .scrollBox .row .right {
  114. text-align: center;
  115. }
  116. .rankingBox .podiumList .scrollBox .row .right .icon {
  117. width: 30rpx;
  118. height: 30rpx;
  119. }
  120. .rankingBox .podiumList .scrollBox .row .right .num {
  121. font-size: 32rpx;
  122. color: #666;
  123. }
  124. .rankingBox .footer {
  125. width: 100%;
  126. padding: 24rpx 46rpx 20rpx;
  127. box-sizing: border-box;
  128. background-color: white;
  129. box-shadow: 0 2rpx 24rpx 0 rgba(0, 0, 0, 0.5);
  130. }
  131. .rankingBox .footer .detail {
  132. margin-bottom: 30rpx;
  133. display: flex;
  134. align-items: center;
  135. justify-content: space-between;
  136. }
  137. .rankingBox .footer .detail .left {
  138. display: flex;
  139. align-items: center;
  140. }
  141. .rankingBox .footer .detail .left .avatar {
  142. background-color: #EBEBEB;
  143. width: 68rpx;
  144. height: 68rpx;
  145. border-radius: 50%;
  146. margin-right: 24rpx;
  147. }
  148. .rankingBox .footer .detail .left .nickName {
  149. font-size: 30rpx;
  150. width: 200rpx;
  151. }
  152. .rankingBox .footer .detail .right {
  153. width: 350rpx;
  154. display: flex;
  155. align-items: center;
  156. justify-content: space-between;
  157. font-size: 30rpx;
  158. color: #FF630C;
  159. }
  160. .rankingBox .footer .detail .right .info .i2 {
  161. font-size: 20rpx;
  162. color: #666666;
  163. }
  164. .rankingBox .footer .operate {
  165. display: flex;
  166. justify-content: space-between;
  167. align-items: center;
  168. font-size: 26rpx;
  169. color: white;
  170. text-align: center;
  171. }
  172. .rankingBox .footer .operate .record {
  173. width: 268rpx;
  174. padding: 14rpx 0rpx;
  175. background: linear-gradient(141deg, #FC9F02 0%, #FF7C34 100%);
  176. box-shadow: inset 0rpx -2rpx 3rpx 0rpx #FF7000;
  177. border-radius: 50rpx;
  178. }
  179. .rankingBox .footer .operate .share {
  180. width: 268rpx;
  181. padding: 14rpx 0rpx;
  182. border-radius: 50rpx;
  183. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  184. color: white;
  185. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  186. font-size: 26rpx;
  187. }
  188. .invitation {
  189. background: url('http://reader-wx.ai160.com/images/reader/v3/rank2.jpg') no-repeat;
  190. }
  191. .invitation .tips2 {
  192. color: #2DCE66;
  193. }
  194. .popBox {
  195. height: 100%;
  196. overflow: hidden;
  197. background-color: #FFA31D;
  198. border-top-left-radius: 20rpx;
  199. border-top-right-radius: 20rpx;
  200. padding-bottom: 30rpx;
  201. }
  202. .popBox .header {
  203. position: relative;
  204. padding: 30rpx 0;
  205. letter-spacing: 2rpx;
  206. text-align: center;
  207. font-size: 32rpx;
  208. color: white;
  209. background-color: #FFA31D;
  210. font-weight: bold;
  211. }
  212. .popBox .header .close {
  213. position: absolute;
  214. right: 20rpx;
  215. top: 26rpx;
  216. width: 50rpx;
  217. height: 50rpx;
  218. border-radius: 50%;
  219. }
  220. .popBox .copywriting {
  221. width: 100%;
  222. margin: 200rpx 0rpx;
  223. text-align: center;
  224. color: white;
  225. }
  226. .popBox .copywriting .text {
  227. margin-bottom: 40rpx;
  228. }
  229. .popBox .list {
  230. height: calc(100% - 100rpx);
  231. padding: 0px 20rpx 20rpx;
  232. box-sizing: border-box;
  233. }
  234. .popBox .list .item {
  235. display: flex;
  236. align-items: center;
  237. justify-content: space-between;
  238. margin-bottom: 24rpx;
  239. padding: 10rpx 30rpx;
  240. border-radius: 20rpx;
  241. background-color: #fff;
  242. }
  243. .popBox .list .item .left {
  244. display: flex;
  245. align-items: center;
  246. }
  247. .popBox .list .item .left .num {
  248. font-size: 30rpx;
  249. width: 60rpx;
  250. }
  251. .popBox .list .item .left .avatar {
  252. width: 68rpx;
  253. height: 68rpx;
  254. border-radius: 50%;
  255. background-color: #D9D9D9;
  256. }
  257. .popBox .list .item .left .nickName {
  258. width: 200rpx;
  259. margin-left: 16rpx;
  260. }
  261. .popBox .list .item .time {
  262. font-size: 26rpx;
  263. }
  264. .popBox .list .copywriting {
  265. width: 100%;
  266. margin: 100rpx 0rpx;
  267. text-align: center;
  268. }
  269. .popBox .list .copywriting .text {
  270. margin-bottom: 40rpx;
  271. }
  272. .popBox .list .inviteBtn {
  273. padding: 30rpx 0;
  274. width: 390rpx;
  275. height: 68rpx;
  276. }