rank.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. .page-rank {
  2. display: flex;
  3. flex-direction: column;
  4. background: #f5f6fb;
  5. height: 100vh;
  6. }
  7. .scroll-view {
  8. flex: 1;
  9. height: 0;
  10. }
  11. .content-wrapper {
  12. padding: 32rpx;
  13. min-height: 100%;
  14. }
  15. /* 股票列表 */
  16. .stock-list {
  17. display: flex;
  18. flex-direction: column;
  19. gap: 24rpx;
  20. }
  21. .stock-card {
  22. background: #ffffff;
  23. border-radius: 24rpx;
  24. padding: 32rpx;
  25. box-shadow: 0 8rpx 24rpx rgba(37, 52, 94, 0.08);
  26. }
  27. .stock-header {
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: center;
  31. margin-bottom: 24rpx;
  32. padding-bottom: 24rpx;
  33. border-bottom: 1rpx solid #f1f2f6;
  34. }
  35. .stock-title {
  36. display: flex;
  37. flex-direction: column;
  38. gap: 8rpx;
  39. }
  40. .stock-name {
  41. font-size: 34rpx;
  42. font-weight: 700;
  43. color: #222222;
  44. }
  45. .stock-code {
  46. font-size: 26rpx;
  47. color: #5d55e8;
  48. font-weight: 500;
  49. }
  50. .delete-btn {
  51. width: 56rpx;
  52. height: 56rpx;
  53. background: #f16565;
  54. border-radius: 50%;
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. box-shadow: 0 4rpx 12rpx rgba(241, 101, 101, 0.3);
  59. }
  60. .delete-icon {
  61. font-size: 40rpx;
  62. font-weight: 700;
  63. color: #ffffff;
  64. line-height: 1;
  65. }
  66. .stock-body {
  67. display: flex;
  68. flex-direction: column;
  69. gap: 12rpx;
  70. }
  71. .info-item {
  72. display: flex;
  73. justify-content: space-between;
  74. align-items: center;
  75. }
  76. .info-label {
  77. font-size: 26rpx;
  78. color: #666a7f;
  79. }
  80. .info-value {
  81. font-size: 26rpx;
  82. color: #222222;
  83. font-weight: 500;
  84. }
  85. /* 涨跌信息样式 */
  86. .quote-row {
  87. display: flex;
  88. justify-content: space-between;
  89. gap: 24rpx;
  90. margin-bottom: 16rpx;
  91. padding: 20rpx;
  92. background: #f7f8fc;
  93. border-radius: 16rpx;
  94. }
  95. .quote-item {
  96. flex: 1;
  97. display: flex;
  98. flex-direction: column;
  99. align-items: center;
  100. }
  101. .quote-label {
  102. font-size: 24rpx;
  103. color: #666a7f;
  104. margin-bottom: 8rpx;
  105. }
  106. .quote-value {
  107. font-size: 32rpx;
  108. font-weight: 700;
  109. color: #222222;
  110. }
  111. /* 涨(红色) */
  112. .change-up {
  113. color: #f16565 !important;
  114. }
  115. /* 跌(绿色) */
  116. .change-down {
  117. color: #3abf81 !important;
  118. }
  119. /* 空状态 */
  120. .empty-content {
  121. display: flex;
  122. flex-direction: column;
  123. align-items: center;
  124. justify-content: center;
  125. padding: 200rpx 60rpx;
  126. }
  127. .empty-icon {
  128. font-size: 120rpx;
  129. margin-bottom: 40rpx;
  130. }
  131. .empty-text {
  132. font-size: 32rpx;
  133. font-weight: 600;
  134. color: #333333;
  135. margin-bottom: 16rpx;
  136. }
  137. .empty-desc {
  138. font-size: 26rpx;
  139. color: #999999;
  140. text-align: center;
  141. line-height: 1.6;
  142. }
  143. .bottom-safe-area {
  144. height: 80rpx;
  145. }
  146. /* 模糊效果 */
  147. .blur-content {
  148. filter: blur(8rpx);
  149. pointer-events: none;
  150. }
  151. /* 登录遮罩层 */
  152. .login-mask {
  153. position: fixed;
  154. top: 0;
  155. left: 0;
  156. right: 0;
  157. bottom: 0;
  158. background: rgba(0, 0, 0, 0.4);
  159. display: flex;
  160. align-items: center;
  161. justify-content: center;
  162. z-index: 999;
  163. }
  164. .login-prompt {
  165. width: 560rpx;
  166. max-width: 560rpx;
  167. background: #ffffff;
  168. border-radius: 24rpx;
  169. padding: 50rpx 40rpx;
  170. margin: 0 auto;
  171. text-align: center;
  172. box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.3);
  173. box-sizing: border-box;
  174. }
  175. .lock-icon {
  176. font-size: 72rpx;
  177. margin-bottom: 20rpx;
  178. }
  179. .prompt-title {
  180. display: block;
  181. font-size: 32rpx;
  182. font-weight: 600;
  183. color: #222222;
  184. margin-bottom: 12rpx;
  185. }
  186. .prompt-desc {
  187. display: block;
  188. font-size: 24rpx;
  189. color: #999999;
  190. line-height: 1.5;
  191. margin-bottom: 32rpx;
  192. }
  193. .login-button-native {
  194. width: 100%;
  195. height: 80rpx;
  196. background: linear-gradient(135deg, #4CAF50, #66BB6A);
  197. color: #ffffff;
  198. border-radius: 40rpx;
  199. font-size: 30rpx;
  200. font-weight: 600;
  201. box-shadow: 0 8rpx 24rpx rgba(76, 175, 80, 0.4);
  202. display: flex;
  203. align-items: center;
  204. justify-content: center;
  205. border: none;
  206. padding: 0;
  207. line-height: 80rpx;
  208. }
  209. .login-button-native::after {
  210. border: none;
  211. }