index.wxss 4.4 KB

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