index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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: hidden;
  8. }
  9. .rule {
  10. position: absolute;
  11. top: 32rpx;
  12. right: 0;
  13. width: 191rpx;
  14. height: 60rpx;
  15. }
  16. .rule image {
  17. width: 100%;
  18. height: 100%;
  19. background: red;
  20. }
  21. .activity-works {
  22. width: 726rpx;
  23. height: 461rpx;
  24. margin: 390rpx auto 0 auto;
  25. background: skyblue;
  26. overflow: hidden;
  27. }
  28. .activity-works-title {
  29. width: 583rpx;
  30. height: 52rpx;
  31. text-align: center;
  32. line-height: 52rpx;
  33. background: #F8F6FF;
  34. box-shadow: 0px 2rpx 14rpx 0rpx rgba(0, 0, 0, 0.1);
  35. border-radius: 30rpx;
  36. font-size: 30rpx;
  37. display: block;
  38. margin: 88rpx auto 22rpx auto;
  39. }
  40. .activity-works-swiper swiper {
  41. width: 100%;
  42. height: 237rpx;
  43. }
  44. .swiper-item-view {
  45. width: 583rpx;
  46. height: 237rpx;
  47. border-radius: 12rpx;
  48. }
  49. .activity-ranking {
  50. height: 30%;
  51. width: 100%;
  52. }
  53. .activity-ranking-tab {
  54. display: flex;
  55. justify-content: space-between;
  56. width: 100%;
  57. height: 108rpx;
  58. margin-top: 60rpx;
  59. }
  60. .activity-ranking-tab text {
  61. flex: 1;
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. height: 100%;
  66. color: #fff;
  67. font-size: 38rpx;
  68. background: blueviolet;
  69. }
  70. .activity-ranking-tab .select {
  71. background: aquamarine;
  72. }
  73. .activity-ranking-title {
  74. display: flex;
  75. justify-content: space-between;
  76. align-items: center;
  77. padding: 21rpx 32rpx;
  78. color: #D52822;
  79. font-size: 38rpx;
  80. background: #FCF4F6;
  81. box-sizing: border-box;
  82. }
  83. .scroll-view-item,
  84. .activity-my-ranking {
  85. display: flex;
  86. align-items: center;
  87. justify-content: space-between;
  88. width: 100%;
  89. height: 150rpx;
  90. background: #FCF4F6;
  91. border-bottom: 2rpx solid #fff;
  92. padding: 0 50rpx;
  93. box-sizing: border-box;
  94. }
  95. .scroll-view-item .ranking-number,
  96. .activity-my-ranking .ranking-number {
  97. width: 52rpx;
  98. height: 52rpx;
  99. text-align: center;
  100. line-height: 52rpx;
  101. font-size: 38rpx;
  102. color: #666;
  103. }
  104. .scroll-view-item .ranking-message,
  105. .activity-my-ranking .ranking-message{
  106. display: flex;
  107. margin-left: -90rpx;
  108. }
  109. .scroll-view-item .ranking-message .reanking-message-head,
  110. .activity-my-ranking .ranking-message .reanking-message-head {
  111. position: relative;
  112. width: 80rpx;
  113. height: 80rpx;
  114. margin-right: 30rpx;
  115. }
  116. .reanking-message-head .haed-url{
  117. width: 80rpx;
  118. height: 80rpx;
  119. border-radius: 50%;
  120. }
  121. .reanking-message-head .follow-url {
  122. position: absolute;
  123. bottom: 0;
  124. left: 50%;
  125. width: 34rpx;
  126. height: 34rpx;
  127. transform: translateX(-50%);
  128. }
  129. .reanking-message-name {
  130. display: flex;
  131. flex-direction: column;
  132. }
  133. .reanking-message-name text{
  134. font-size: 34rpx;
  135. color: #333;
  136. }
  137. .operation {
  138. display: flex;
  139. color: #999;
  140. font-size: 22rpx;
  141. }
  142. .operation .like {
  143. margin: 0 23rpx 0 23rpx;
  144. }
  145. .operation image{
  146. width: 28rpx;
  147. height: 24rpx;
  148. }
  149. .scroll-view-item .popularity,
  150. .activity-my-ranking .popularity {
  151. color: #666;
  152. font-size: 38rpx;
  153. }
  154. .activity-my-ranking {
  155. position: fixed;
  156. left: 0;
  157. bottom: 0;
  158. background: #FEBD19;
  159. color: #fff;
  160. }