index.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. /* pages/activity/index/index.wxss */
  2. .activity-index {
  3. position: relative;
  4. width: 100%;
  5. height: 100%;
  6. box-sizing: border-box;
  7. overflow: scroll;
  8. background: #FD423B;
  9. }
  10. .activity-bg {
  11. width: 100%;
  12. height: 440rpx;
  13. }
  14. .rule {
  15. position: absolute;
  16. top: 32rpx;
  17. right: 0;
  18. width: 191rpx;
  19. height: 60rpx;
  20. }
  21. .rule image {
  22. width: 100%;
  23. height: 100%;
  24. }
  25. .strategy {
  26. position: fixed;
  27. top: 241rpx;
  28. right: 0;
  29. width: 205rpx;
  30. height: 155rpx;
  31. z-index: 99;
  32. }
  33. .strategy image {
  34. width: 100%;
  35. height: 100%;
  36. }
  37. .activity-works {
  38. position: relative;
  39. width: 100%;
  40. height: 484rpx;
  41. overflow: hidden;
  42. margin-top: -44rpx;
  43. }
  44. .gradeText {
  45. position: absolute;
  46. left: 50%;
  47. top: 30rpx;
  48. transform: translateX(-50%);
  49. font-size: 34rpx;
  50. color: #9B4716;
  51. font-weight: 600;
  52. }
  53. .swiper-bg {
  54. position: absolute;
  55. left: 0;
  56. top: 0;
  57. width: 100%;
  58. height: 100%;
  59. }
  60. .activity-works-swiper {
  61. width: 720rpx;
  62. margin: 200rpx auto 0 auto;
  63. }
  64. .activity-works-swiper swiper {
  65. width: 100%;
  66. height: 237rpx;
  67. }
  68. .swiper-item-view {
  69. width: 583rpx;
  70. height: 237rpx;
  71. border-radius: 12rpx;
  72. overflow: hidden;
  73. }
  74. .swiper-item-view image {
  75. width: 100%;
  76. height: 100%;
  77. }
  78. .activity-ranking {
  79. position: relative;
  80. width: 100%;
  81. margin-top: 60rpx;
  82. }
  83. .activity-ranking-tab {
  84. position: relative;
  85. display: flex;
  86. justify-content: space-between;
  87. height: 88rpx;
  88. }
  89. .tab-bg {
  90. position: absolute;
  91. left: 0;
  92. top: 0;
  93. width: 100%;
  94. height: 100%;
  95. }
  96. .activity-ranking-tab text {
  97. position: absolute;
  98. display: flex;
  99. align-items: center;
  100. justify-content: center;
  101. width: 50%;
  102. height: 100%;
  103. color: #fff;
  104. font-size: 38rpx;
  105. z-index: 2;
  106. }
  107. .activity-ranking-tab .left {
  108. left: 0;
  109. }
  110. .activity-ranking-tab .right {
  111. right: 0;
  112. }
  113. .select-bg {
  114. position: absolute;
  115. top: -23%;
  116. width: 50%;
  117. height: 110rpx;
  118. z-index: 1;
  119. }
  120. .activity-ranking-tab .select {
  121. color: #FD423B;
  122. }
  123. .activity-ranking-title {
  124. display: flex;
  125. justify-content: space-between;
  126. align-items: center;
  127. padding: 21rpx 32rpx;
  128. color: #D52822;
  129. font-size: 38rpx;
  130. background: #fff;
  131. box-sizing: border-box;
  132. font-weight: 600;
  133. }
  134. .scroll-view-item,
  135. .activity-my-ranking {
  136. display: flex;
  137. align-items: center;
  138. justify-content: space-between;
  139. width: 100%;
  140. height: 150rpx;
  141. background: #fff;
  142. border-bottom: 2rpx solid #fff;
  143. padding: 0 50rpx;
  144. box-sizing: border-box;
  145. }
  146. .scroll-view-item .ranking-number-img {
  147. width: 44rpx;
  148. height: 52rpx;
  149. }
  150. .scroll-view-item .ranking-number,
  151. .activity-my-ranking .ranking-number {
  152. width: 44rpx;
  153. height: 52rpx;
  154. text-align: center;
  155. line-height: 52rpx;
  156. font-size: 38rpx;
  157. color: #666;
  158. }
  159. .scroll-view-item .ranking-message,
  160. .activity-my-ranking .ranking-message{
  161. display: flex;
  162. width: 420rpx;
  163. }
  164. .scroll-view-item .ranking-message .reanking-message-head,
  165. .activity-my-ranking .ranking-message .reanking-message-head {
  166. position: relative;
  167. width: 80rpx;
  168. height: 80rpx;
  169. margin-right: 30rpx;
  170. }
  171. .reanking-message-head .haed-url{
  172. width: 80rpx;
  173. height: 80rpx;
  174. border-radius: 50%;
  175. }
  176. .reanking-message-head .follow-url {
  177. position: absolute;
  178. bottom: -10rpx;
  179. left: 50%;
  180. width: 34rpx;
  181. height: 34rpx;
  182. transform: translateX(-50%);
  183. }
  184. .reanking-message-name {
  185. display: flex;
  186. flex-direction: column;
  187. }
  188. .reanking-message-name text{
  189. width: 306rpx;
  190. height: 50rpx;
  191. font-size: 34rpx;
  192. color: #333;
  193. overflow: hidden;
  194. }
  195. .operation {
  196. display: flex;
  197. color: #999;
  198. font-size: 22rpx;
  199. }
  200. .operation .like {
  201. margin: 0 23rpx 0 23rpx;
  202. }
  203. .operation image{
  204. width: 28rpx;
  205. height: 24rpx;
  206. vertical-align: middle;
  207. }
  208. .scroll-view-item .popularity,
  209. .activity-my-ranking .popularity {
  210. color: #666;
  211. font-size: 38rpx;
  212. vertical-align: middle;
  213. width: 100rpx;
  214. }
  215. .popularity image {
  216. width: 27rpx;
  217. height: 29rpx;
  218. vertical-align: middle;
  219. }
  220. .activity-my-ranking {
  221. position: fixed;
  222. left: 0;
  223. bottom: 0;
  224. background: #FE9E19;
  225. z-index: 9;
  226. }
  227. .my-activity-read {
  228. background: #fff;
  229. overflow: hidden;
  230. }
  231. .no_works {
  232. width: 401rpx;
  233. height: 259rpx;
  234. margin: 50rpx auto;
  235. display: block;
  236. }
  237. .comment_section {
  238. position: fixed;
  239. top: 0;
  240. left: 0;
  241. width: 100%;
  242. height: 98%;
  243. z-index: 9999;
  244. background: rgba(0, 0, 0, .3);
  245. overflow: hidden;
  246. }