rank.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. .bg {
  2. position: relative;
  3. width: 100%;
  4. min-height: 100%;
  5. background-color: #ffe3dc;
  6. }
  7. .year {
  8. width: 670rpx;
  9. margin: 0 auto;
  10. background-color: #fff;
  11. padding: 0 20rpx;
  12. border-radius: 8rpx;
  13. }
  14. .year-top {
  15. position: relative;
  16. height: 100rpx;
  17. line-height: 100rpx;
  18. font-size: 28rpx;
  19. color: #4c4c4c;
  20. text-align: center;
  21. border-bottom: 1rpx solid #dddddd;
  22. font-weight: bold;
  23. }
  24. .year-top__left {
  25. position: absolute;
  26. left: 0;
  27. top: 0;
  28. margin-left: 10rpx;
  29. font-weight: normal;
  30. }
  31. .year-top__nolefticon {
  32. float: left;
  33. width: 36rpx;
  34. height: 36rpx;
  35. margin-top: 32rpx;
  36. background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/static/rank/right.png');
  37. transform: rotate(180deg);
  38. background-size: 100% 100%;
  39. }
  40. .year-top__lefticon {
  41. float: left;
  42. width: 36rpx;
  43. height: 36rpx;
  44. margin-top: 32rpx;
  45. background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/static/rank/left.png');
  46. background-size: 100% 100%;
  47. }
  48. .year-top__leftyear {
  49. float: left;
  50. padding-left: 20rpx;
  51. color: #4c4c4c;
  52. font-size: 28rpx;
  53. line-height: 100rpx;
  54. }
  55. .year-top__right {
  56. position: absolute;
  57. right: 0;
  58. top: 0;
  59. margin-right: 10rpx;
  60. font-weight: normal;
  61. }
  62. .year-top__norighticon {
  63. float: right;
  64. width: 36rpx;
  65. height: 36rpx;
  66. margin-top: 32rpx;
  67. background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/static/rank/left.png');
  68. transform: rotate(180deg);
  69. background-size: 100% 100%;
  70. }
  71. .year-top__righticon {
  72. float: right;
  73. width: 36rpx;
  74. height: 36rpx;
  75. margin-top: 32rpx;
  76. background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/static/rank/right.png');
  77. background-size: 100% 100%;
  78. }
  79. .year-top__rightyear {
  80. float: right;
  81. padding-right: 20rpx;
  82. color: #4c4c4c;
  83. font-size: 28rpx;
  84. line-height: 100rpx;
  85. }
  86. .year-main {
  87. padding-bottom: 20rpx;
  88. }
  89. .year-text {
  90. line-height: 24rpx;
  91. font-size: 24rpx;
  92. color: #999999;
  93. text-align: center;
  94. padding-top: 40rpx;
  95. padding-bottom: 10rpx;
  96. }
  97. .year-price {
  98. text-align: center;
  99. padding-top: 20rpx;
  100. padding-bottom: 30rpx;
  101. font-size: 48rpx;
  102. color: #f45656;
  103. }
  104. .year-about {
  105. width: 650rpx;
  106. padding: 10rpx;
  107. font-size: 24rpx;
  108. line-height: 42rpx;
  109. background-color: #f1f5f9;
  110. color: #999999;
  111. }
  112. .myself {
  113. position: relative;
  114. width: 710rpx;
  115. color: #eab86a;
  116. margin: 20rpx auto 0;
  117. padding-bottom: 30rpx;
  118. background-color: #fff;
  119. border-radius: 8rpx;
  120. font-size: 36rpx;
  121. }
  122. .myself-top {
  123. line-height: 120rpx;
  124. }
  125. .myself-title {
  126. float: left;
  127. margin-left: 30rpx;
  128. font-size: 24rpx;
  129. color: #999999;
  130. }
  131. .myself-rank {
  132. float: right;
  133. font-size: 36rpx;
  134. margin-right: 30rpx;
  135. color: #eab86a;
  136. }
  137. .myself-btn {
  138. width: 432rpx;
  139. height: 72rpx;
  140. line-height: 72rpx;
  141. text-align: center;
  142. margin: 0 auto;
  143. border-radius: 72rpx;
  144. color: #ffffff;
  145. font-size: 28rpx;
  146. background: -webkit-linear-gradient(#ff9b74, #ff5c5c);
  147. background: linear-gradient(#ff9b74, #ff5c5c);
  148. }
  149. .rank {
  150. width: 670rpx;
  151. margin: 20rpx auto 20rpx;
  152. background-color: #fff;
  153. padding: 0 20rpx;
  154. border-radius: 8rpx;
  155. }
  156. .rank-top {
  157. height: 305rpx;
  158. border-bottom: 1rpx solid #dddddd;
  159. }
  160. .rank-top__title {
  161. padding-top: 40rpx;
  162. padding-bottom: 30rpx;
  163. font-size: 28rpx;
  164. line-height: 28rpx;
  165. color: #4c4c4c;
  166. text-align: center;
  167. }
  168. .rank-top__head {
  169. width: 120rpx;
  170. height: 120rpx;
  171. display: block;
  172. margin: 0 auto;
  173. border-radius: 100%;
  174. }
  175. .rank-top__nohead {
  176. position: relative;
  177. width: 120rpx;
  178. height: 120rpx;
  179. display: block;
  180. margin: 0 auto;
  181. border-radius: 100%;
  182. background-color: #eeeeee;
  183. }
  184. .rank-top__none {
  185. position: absolute;
  186. left: 35rpx;
  187. top: 26rpx;
  188. width: 49rpx;
  189. height: 69rpx;
  190. background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/static/rank/none.png');
  191. background-size: 100% 100%;
  192. }
  193. .rank-top__name {
  194. line-height: 28rpx;
  195. text-align: center;
  196. padding: 20rpx 0;
  197. color: #999999;
  198. font-size: 28rpx;
  199. }
  200. .rank-title {
  201. font-size: 24rpx;
  202. color: #999999;
  203. padding-bottom: 10rpx;
  204. }
  205. .rank-title__left {
  206. float: left;
  207. line-height: 64rpx;
  208. }
  209. .rank-title__right {
  210. float: right;
  211. line-height: 64rpx;
  212. }
  213. .rank-list {
  214. padding-bottom: 30rpx;
  215. }
  216. .rank-list__head {
  217. float: left;
  218. width: 88rpx;
  219. height: 88rpx;
  220. display: block;
  221. border-radius: 100%;
  222. }
  223. .rank-list__name {
  224. float: left;
  225. padding-left: 17rpx;
  226. line-height: 88rpx;
  227. width: 330rpx;
  228. font-size: 28rpx;
  229. color: #4c4c4c;
  230. }
  231. .rank-list__price {
  232. float: right;
  233. /* line-height: 88rpx; */
  234. font-size: 36rpx;
  235. color: #eab86a;
  236. }
  237. .rank-title__time {
  238. float: right;
  239. /* line-height: 44rpx; */
  240. font-size: 24rpx;
  241. color: #999;
  242. }