index.wxss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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: #34D6B0;
  9. }
  10. .activity-bg {
  11. width: 100%;
  12. height: 400rpx;
  13. }
  14. .rule {
  15. position: absolute;
  16. top: 32rpx;
  17. right: 0;
  18. width: 193rpx;
  19. height: 50rpx;
  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. background: #007a5b;
  89. border-radius: 0 20rpx 0 20rpx;
  90. }
  91. .tab-bg {
  92. position: absolute;
  93. left: 0;
  94. top: 0;
  95. width: 100%;
  96. height: 100%;
  97. }
  98. .activity-ranking-tab text {
  99. position: absolute;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. width: 50%;
  104. height: 100%;
  105. color: #fff;
  106. font-size: 38rpx;
  107. z-index: 2;
  108. font-weight: bold;
  109. }
  110. .activity-ranking-tab .left {
  111. left: 0;
  112. }
  113. .activity-ranking-tab .right {
  114. right: 0;
  115. }
  116. .select-bg {
  117. position: absolute;
  118. top: -23%;
  119. width: 50%;
  120. height: 110rpx;
  121. z-index: 1;
  122. }
  123. .activity-ranking-tab .select {
  124. color: #007A5B;
  125. }
  126. .activity-ranking-title {
  127. display: flex;
  128. justify-content: space-between;
  129. align-items: center;
  130. padding: 21rpx 42rpx;
  131. color: #007A5B;
  132. font-size: 38rpx;
  133. background: #fff;
  134. box-sizing: border-box;
  135. font-weight: 600;
  136. }
  137. .activity-ranking-title .midTitle{
  138. margin-left: -44rpx;
  139. }
  140. .scroll-view-item,
  141. .activity-my-ranking {
  142. display: flex;
  143. align-items: center;
  144. justify-content: space-between;
  145. width: 100%;
  146. height: 150rpx;
  147. background: #fff;
  148. border-bottom: 2rpx solid #fff;
  149. padding: 0 40rpx;
  150. box-sizing: border-box;
  151. }
  152. .scroll-view-item .ranking-number-img {
  153. width: 44rpx;
  154. height: 52rpx;
  155. }
  156. .scroll-view-item .ranking-number,
  157. .activity-my-ranking .ranking-number {
  158. width: 44rpx;
  159. height: 52rpx;
  160. text-align: center;
  161. line-height: 52rpx;
  162. font-size: 38rpx;
  163. color: #666;
  164. }
  165. .scroll-view-item .ranking-message,
  166. .activity-my-ranking .ranking-message{
  167. display: flex;
  168. width: 332rpx;
  169. }
  170. .scroll-view-item .ranking-message .reanking-message-head,
  171. .activity-my-ranking .ranking-message .reanking-message-head {
  172. position: relative;
  173. width: 80rpx;
  174. height: 80rpx;
  175. margin-right: 30rpx;
  176. }
  177. .reanking-message-head .haed-url{
  178. width: 80rpx;
  179. height: 80rpx;
  180. border-radius: 50%;
  181. }
  182. .reanking-message-head .follow-url {
  183. position: absolute;
  184. bottom: -10rpx;
  185. left: 50%;
  186. width: 34rpx;
  187. height: 34rpx;
  188. transform: translateX(-50%);
  189. }
  190. .reanking-message-name {
  191. display: flex;
  192. flex-direction: column;
  193. }
  194. .reanking-message-name text{
  195. width: 306rpx;
  196. height: 50rpx;
  197. font-size: 34rpx;
  198. color: #333;
  199. overflow: hidden;
  200. }
  201. .operation {
  202. display: flex;
  203. color: #999;
  204. font-size: 22rpx;
  205. }
  206. .operation .like {
  207. margin: 0 23rpx 0 23rpx;
  208. }
  209. .operation image{
  210. width: 28rpx;
  211. height: 24rpx;
  212. vertical-align: middle;
  213. }
  214. .scroll-view-item .popularity,
  215. .activity-my-ranking .popularity {
  216. color: #666;
  217. font-size: 38rpx;
  218. vertical-align: middle;
  219. width: 100rpx;
  220. }
  221. .popularity image {
  222. width: 27rpx;
  223. height: 29rpx;
  224. vertical-align: middle;
  225. }
  226. .activity-my-ranking {
  227. position: fixed;
  228. left: 0;
  229. bottom: 0;
  230. background: #FE9E19;
  231. z-index: 9;
  232. }
  233. .my-activity-read {
  234. background: #fff;
  235. overflow: hidden;
  236. }
  237. .no_works {
  238. width: 401rpx;
  239. height: 259rpx;
  240. margin: 50rpx auto;
  241. display: block;
  242. }
  243. .comment_section {
  244. position: fixed;
  245. top: 0;
  246. left: 0;
  247. width: 100%;
  248. height: 98%;
  249. z-index: 9999;
  250. background: rgba(0, 0, 0, .3);
  251. overflow: hidden;
  252. }