pool.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. .page-container {
  2. height: 100vh;
  3. display: flex;
  4. flex-direction: column;
  5. background: #f5f6fb;
  6. }
  7. .scroll-view {
  8. flex: 1;
  9. height: 0;
  10. }
  11. .content-wrapper {
  12. padding: 32rpx;
  13. background: #f5f6fb;
  14. min-height: 100%;
  15. }
  16. .card {
  17. background: #ffffff;
  18. border-radius: 24rpx;
  19. padding: 32rpx;
  20. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  21. margin-bottom: 32rpx;
  22. }
  23. .pool-header-section {
  24. margin-bottom: 24rpx;
  25. }
  26. .pool-header {
  27. display: flex;
  28. align-items: center;
  29. margin-bottom: 12rpx;
  30. }
  31. .pool-icon {
  32. font-size: 32rpx;
  33. margin-right: 12rpx;
  34. }
  35. .pool-title {
  36. font-size: 32rpx;
  37. font-weight: 600;
  38. color: #222222;
  39. }
  40. .pool-desc {
  41. font-size: 26rpx;
  42. color: #666a7f;
  43. }
  44. .pool-card {
  45. padding: 32rpx;
  46. }
  47. .locked-content {
  48. display: flex;
  49. flex-direction: column;
  50. align-items: center;
  51. padding: 60rpx 0 40rpx;
  52. }
  53. .lock-icon-wrapper {
  54. margin-bottom: 32rpx;
  55. }
  56. .lock-icon {
  57. font-size: 80rpx;
  58. }
  59. .lock-text {
  60. font-size: 28rpx;
  61. color: #222222;
  62. margin-bottom: 16rpx;
  63. text-align: center;
  64. }
  65. .lock-desc {
  66. font-size: 24rpx;
  67. color: #9ca2b5;
  68. margin-bottom: 48rpx;
  69. text-align: center;
  70. line-height: 1.6;
  71. }
  72. .unlock-button {
  73. width: 100%;
  74. background: linear-gradient(135deg, #5d55e8, #7568ff);
  75. border-radius: 16rpx;
  76. padding: 28rpx 0;
  77. text-align: center;
  78. box-shadow: 0 12rpx 24rpx rgba(93, 85, 232, 0.4);
  79. }
  80. .unlock-button-text {
  81. font-size: 30rpx;
  82. font-weight: 600;
  83. color: #ffffff;
  84. }
  85. .unlocked-content {
  86. padding: 8rpx 0;
  87. }
  88. .unlocked-header {
  89. display: flex;
  90. align-items: center;
  91. margin-bottom: 32rpx;
  92. }
  93. .unlocked-dot {
  94. width: 12rpx;
  95. height: 12rpx;
  96. border-radius: 50%;
  97. background: #3abf81;
  98. margin-right: 12rpx;
  99. }
  100. .unlocked-tip {
  101. font-size: 26rpx;
  102. font-weight: 500;
  103. color: #3abf81;
  104. letter-spacing: 1rpx;
  105. }
  106. .stock-list {
  107. display: flex;
  108. flex-direction: column;
  109. gap: 24rpx;
  110. }
  111. .stock-item {
  112. display: flex;
  113. justify-content: space-between;
  114. align-items: center;
  115. padding: 28rpx 24rpx;
  116. background: #fafbfc;
  117. border-radius: 20rpx;
  118. }
  119. .stock-main {
  120. display: flex;
  121. align-items: center;
  122. flex: 1;
  123. }
  124. .stock-info {
  125. display: flex;
  126. flex-direction: column;
  127. width: 140rpx;
  128. }
  129. .stock-name {
  130. font-size: 30rpx;
  131. font-weight: 700;
  132. color: #1a1a2e;
  133. margin-bottom: 6rpx;
  134. letter-spacing: 1rpx;
  135. }
  136. .stock-code {
  137. font-size: 22rpx;
  138. color: #9ca3af;
  139. font-weight: 400;
  140. }
  141. .stock-quote {
  142. display: flex;
  143. align-items: center;
  144. flex: 1;
  145. justify-content: flex-end;
  146. }
  147. .stock-price {
  148. font-size: 32rpx;
  149. font-weight: 800;
  150. color: #1a1a2e;
  151. margin-right: 16rpx;
  152. min-width: 120rpx;
  153. text-align: right;
  154. font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  155. }
  156. .stock-change {
  157. font-size: 24rpx;
  158. font-weight: 600;
  159. padding: 6rpx 12rpx;
  160. border-radius: 8rpx;
  161. min-width: 100rpx;
  162. text-align: center;
  163. }
  164. .text-red {
  165. color: #ef4444;
  166. background: rgba(239, 68, 68, 0.1);
  167. }
  168. .text-green {
  169. color: #22c55e;
  170. background: rgba(34, 197, 94, 0.1);
  171. }
  172. .stock-action {
  173. margin-left: 20rpx;
  174. }
  175. .add-btn {
  176. background: #5B5AEA;
  177. border-radius: 40rpx;
  178. padding: 16rpx 28rpx;
  179. box-shadow: 0 8rpx 20rpx rgba(91, 90, 234, 0.3);
  180. }
  181. .add-btn-text {
  182. font-size: 24rpx;
  183. font-weight: 600;
  184. color: #ffffff;
  185. letter-spacing: 1rpx;
  186. }
  187. .bottom-safe-area {
  188. height: 80rpx;
  189. }