index.less 4.8 KB

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