fragmentsList.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /* pages/fragmentsList/fragmentsList.wxss */
  2. @import "../../modal/dialogBrainLack.wxss";
  3. @import "../../modal/dialogNoRank.wxss";
  4. Page {
  5. height: 100%;
  6. width: 100%;
  7. background-color: #f9f9fb;
  8. }
  9. .head {
  10. margin-left: 30rpx;
  11. margin-top: 20rpx;
  12. width: 690rpx;
  13. height: 280rpx;
  14. border-radius: 16rpx;
  15. }
  16. .head-button {
  17. width: 200rpx;
  18. height: 100rpx;
  19. margin-top: -300rpx;
  20. margin-left: 490rpx;
  21. }
  22. .scroll-view-bg {
  23. position: absolute;
  24. top: 320rpx;
  25. bottom: 190rpx;
  26. left: 0px;
  27. width: 100%;
  28. display: flex;
  29. flex-direction: row;
  30. }
  31. scroll-view {
  32. width: 690rpx;
  33. height: 100%;
  34. margin-left: 30rpx;
  35. }
  36. ::-webkit-scrollbar {
  37. width: 0px;
  38. height: 0px;
  39. color: transparent;
  40. }
  41. /* .scroll-view-head {
  42. width: 100%;
  43. height: 4rpx;
  44. } */
  45. .fragment-interval {
  46. width: 100%;
  47. height: 20rpx;
  48. }
  49. .fragment-bg {
  50. width: 100%;
  51. height: 168rpx;
  52. background: linear-gradient(to right, #5977f5, #715bea);
  53. border-radius: 16rpx;
  54. display: flex;
  55. flex-direction: row;
  56. }
  57. .fragment-shade {
  58. margin-top: -168rpx;
  59. width: 100%;
  60. height: 168rpx;
  61. border-radius: 16rpx;
  62. background-color: white;
  63. opacity: 0.3;
  64. }
  65. .fragment-icon {
  66. width: 104rpx;
  67. height: 104rpx;
  68. border-radius: 60rpx;
  69. border-width: 8rpx;
  70. border-color: white;
  71. border-style: solid;
  72. font-size: 40rpx;
  73. font-weight: bold;
  74. color: white;
  75. line-height: 104rpx;
  76. text-align: center;
  77. margin: auto 0px auto 24rpx;
  78. }
  79. .fragment-content {
  80. position: absolute;
  81. height: 168rpx;
  82. left: 168rpx;
  83. right: 0px;
  84. display: flex;
  85. flex-direction: column;
  86. }
  87. .fragment-content-top {
  88. width: 100%;
  89. display: flex;
  90. flex-direction: row;
  91. margin-top: auto;
  92. }
  93. .fragment-content-name {
  94. font-size: 36rpx;
  95. color: white;
  96. }
  97. .fragment-content-icon {
  98. width: 32rpx;
  99. height: 32rpx;
  100. margin: auto 10rpx auto auto;
  101. }
  102. .fragment-content-consume {
  103. font-size: 32rpx;
  104. color: white;
  105. margin: auto 34rpx auto 0px;
  106. }
  107. .fragment-content-bottom {
  108. width: 100%;
  109. height: 40rpx;
  110. display: flex;
  111. flex-direction: row;
  112. margin-top: 10rpx;
  113. margin-bottom: auto;
  114. }
  115. .fragment-content-star-bg, .fragment-content-star {
  116. width: 40rpx;
  117. height: 40rpx;
  118. margin-right: 12rpx;
  119. display: block;
  120. }
  121. .fragment-content-fragment-top {
  122. height: 40rpx;
  123. font-size: 36rpx;
  124. line-height: 40rpx;
  125. color: white;
  126. }
  127. .ranking-view {
  128. background-color: white;
  129. width: 100%;
  130. height: 86rpx;
  131. position: absolute;
  132. bottom: 104rpx;
  133. line-height: 86rpx;
  134. font-size: 26rpx;
  135. color: #808080;
  136. text-align: center;
  137. }
  138. .bottom-button {
  139. width: 100%;
  140. height: 104rpx;
  141. background-color: #8c5aeb;
  142. position: absolute;
  143. bottom: 0px;
  144. display: flex;
  145. flex-direction: row;
  146. }
  147. .bottom-button-title {
  148. margin: auto 0px auto auto;
  149. font-size: 32rpx;
  150. color: white;
  151. }
  152. .bottom-button-icon {
  153. width: 32rpx;
  154. height: 32rpx;
  155. margin: auto auto auto 10rpx;
  156. }