index.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. .activityBox {
  2. position: relative;
  3. padding: 35rpx 25rpx calc(140rpx + env(safe-area-inset-bottom)) !important;
  4. .rankList,
  5. .activeyList {
  6. margin-bottom: 35rpx;
  7. .headline {
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. margin-bottom: 30rpx;
  12. .left {
  13. display: flex;
  14. align-items: center;
  15. font-size: 36rpx;
  16. font-weight: 400;
  17. .logo {
  18. margin-right: 10rpx;
  19. width: 49rpx;
  20. height: 49rpx;
  21. }
  22. }
  23. .toAll {
  24. font-size: 28rpx;
  25. color: #333333;
  26. .backIcon {
  27. width: 14rpx;
  28. height: 24rpx;
  29. }
  30. }
  31. }
  32. }
  33. .rankList {
  34. .scrollView {
  35. display: flex;
  36. align-items: center;
  37. white-space: nowrap;
  38. width: 100%;
  39. .ranking-class-2 {
  40. display: inline-block;
  41. margin-right: 20rpx;
  42. width: 630rpx;
  43. box-sizing: border-box;
  44. border-radius: 30rpx;
  45. overflow: hidden;
  46. box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
  47. .header {
  48. display: flex;
  49. align-items: center;
  50. justify-content: space-between;
  51. padding: 25rpx 30rpx;
  52. box-sizing: border-box;
  53. .left {
  54. display: flex;
  55. align-items: center;
  56. color: white;
  57. .icon {
  58. width: 28rpx;
  59. height: 30rpx;
  60. }
  61. .title {
  62. font-size: 30rpx;
  63. font-weight: bold;
  64. margin: 0rpx 10rpx;
  65. }
  66. }
  67. .toAll {
  68. font-size: 28rpx;
  69. color: white;
  70. .backIcon {
  71. width: 14rpx;
  72. height: 24rpx;
  73. }
  74. }
  75. }
  76. .body {
  77. width: 100%;
  78. padding: 25rpx 20rpx;
  79. box-sizing: border-box;
  80. .row {
  81. padding: 14rpx 25rpx;
  82. border-radius: 14rpx;
  83. margin-bottom: 20rpx;
  84. display: flex;
  85. align-items: center;
  86. justify-content: space-between;
  87. background-color: white;
  88. .left {
  89. display: flex;
  90. align-items: center;
  91. .stand {
  92. width: 36rpx;
  93. height: 36rpx;
  94. }
  95. .avatar {
  96. width: 72rpx;
  97. height: 72rpx;
  98. margin: 0rpx 30rpx;
  99. border-radius: 50%;
  100. background-color: #EBEBEB;
  101. }
  102. .nickName {
  103. width: 210rpx;
  104. font-size: 28rpx;
  105. }
  106. }
  107. .right {
  108. text-align: center;
  109. font-size: 0rpx;
  110. .playIcon {
  111. width: 34rpx;
  112. height: 34rpx;
  113. }
  114. .num {
  115. font-size: 28rpx;
  116. }
  117. }
  118. }
  119. }
  120. }
  121. .yxb {
  122. .header {
  123. background-color: #2DCE66;
  124. }
  125. .body {
  126. background-image: linear-gradient(180deg, #4cd67c 0%, #66ec95 100%);
  127. }
  128. }
  129. .rbb {
  130. .header {
  131. background-color: #FF7E6C;
  132. }
  133. .body {
  134. background-image: linear-gradient(180deg, #FFB4A8 0%, #FFDCD7 100%);
  135. }
  136. }
  137. .pkb {
  138. .header {
  139. background-color: #967DFF;
  140. }
  141. .body {
  142. background-image: linear-gradient(180deg, #8265F9 0%, #B8A7FF 100%);
  143. }
  144. .playIcon {
  145. width: 38rpx !important;
  146. height: 34rpx !important;
  147. }
  148. }
  149. }
  150. }
  151. }