strong.wxss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  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. /* 强势趋势池标题区域 */
  24. .pool-header-section {
  25. margin-bottom: 24rpx;
  26. }
  27. .pool-header {
  28. display: flex;
  29. align-items: center;
  30. margin-bottom: 12rpx;
  31. }
  32. .pool-icon {
  33. font-size: 32rpx;
  34. margin-right: 12rpx;
  35. }
  36. .pool-title {
  37. font-size: 32rpx;
  38. font-weight: 600;
  39. color: #222222;
  40. }
  41. .pool-desc {
  42. font-size: 26rpx;
  43. color: #666a7f;
  44. }
  45. /* 性能指标卡片 */
  46. .performance-card {
  47. display: flex;
  48. justify-content: space-around;
  49. align-items: center;
  50. background: #f7f8fc;
  51. padding: 32rpx 24rpx;
  52. }
  53. .performance-item {
  54. display: flex;
  55. flex-direction: column;
  56. align-items: center;
  57. }
  58. .performance-label {
  59. font-size: 24rpx;
  60. color: #666a7f;
  61. margin-bottom: 12rpx;
  62. }
  63. .performance-value {
  64. font-size: 32rpx;
  65. font-weight: 700;
  66. color: #222222;
  67. }
  68. .performance-value.success {
  69. color: #3abf81;
  70. }
  71. .performance-value.profit {
  72. color: #f16565;
  73. }
  74. /* 股票列表卡片 */
  75. .stock-list-card {
  76. padding: 32rpx;
  77. }
  78. .stock-list-header {
  79. margin-bottom: 24rpx;
  80. }
  81. .stock-list-title {
  82. font-size: 30rpx;
  83. font-weight: 600;
  84. color: #222222;
  85. }
  86. .stock-item {
  87. display: flex;
  88. justify-content: space-between;
  89. align-items: center;
  90. padding: 24rpx 0;
  91. border-bottom: 1rpx solid #f1f2f6;
  92. }
  93. .stock-item:last-child {
  94. border-bottom: none;
  95. }
  96. .stock-info {
  97. flex: 1;
  98. }
  99. .stock-name-row {
  100. display: flex;
  101. align-items: center;
  102. margin-bottom: 12rpx;
  103. }
  104. .stock-name {
  105. font-size: 28rpx;
  106. font-weight: 600;
  107. color: #222222;
  108. margin-right: 16rpx;
  109. }
  110. .stock-code {
  111. font-size: 24rpx;
  112. color: #9ca2b5;
  113. }
  114. .stock-price-row {
  115. display: flex;
  116. align-items: center;
  117. }
  118. .stock-price-label {
  119. font-size: 24rpx;
  120. color: #9ca2b5;
  121. margin-right: 8rpx;
  122. }
  123. .stock-price {
  124. font-size: 26rpx;
  125. font-weight: 600;
  126. color: #222222;
  127. }
  128. .stock-right {
  129. display: flex;
  130. align-items: center;
  131. gap: 16rpx;
  132. }
  133. .stock-score-badge {
  134. background: #e7f7ef;
  135. border-radius: 20rpx;
  136. padding: 8rpx 16rpx;
  137. min-width: 80rpx;
  138. text-align: center;
  139. }
  140. .stock-score {
  141. font-size: 26rpx;
  142. font-weight: 700;
  143. color: #3abf81;
  144. }
  145. .stock-actions {
  146. display: flex;
  147. gap: 12rpx;
  148. }
  149. .action-btn {
  150. width: 56rpx;
  151. height: 56rpx;
  152. border-radius: 50%;
  153. display: flex;
  154. align-items: center;
  155. justify-content: center;
  156. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.15);
  157. }
  158. .buy-btn {
  159. background: #3abf81;
  160. }
  161. .sell-btn {
  162. background: #f16565;
  163. }
  164. .action-icon {
  165. font-size: 32rpx;
  166. font-weight: 700;
  167. color: #ffffff;
  168. }
  169. .risk-tip {
  170. display: block;
  171. margin-top: 24rpx;
  172. font-size: 22rpx;
  173. color: #9ca2b5;
  174. text-align: center;
  175. }
  176. /* 历史股票池回顾 */
  177. .history-card {
  178. padding: 32rpx;
  179. }
  180. .history-header {
  181. display: flex;
  182. align-items: center;
  183. margin-bottom: 24rpx;
  184. }
  185. .history-icon {
  186. font-size: 28rpx;
  187. margin-right: 12rpx;
  188. }
  189. .history-title {
  190. font-size: 30rpx;
  191. font-weight: 600;
  192. color: #222222;
  193. }
  194. .history-search-row {
  195. display: flex;
  196. align-items: center;
  197. }
  198. .history-date-input {
  199. flex: 1;
  200. background: #f7f8fc;
  201. border-radius: 12rpx;
  202. padding: 24rpx 24rpx;
  203. font-size: 26rpx;
  204. color: #222222;
  205. }
  206. .history-search-button {
  207. width: 80rpx;
  208. height: 80rpx;
  209. background: #5d55e8;
  210. border-radius: 12rpx;
  211. display: flex;
  212. align-items: center;
  213. justify-content: center;
  214. margin-left: 16rpx;
  215. }
  216. .search-icon {
  217. font-size: 32rpx;
  218. color: #ffffff;
  219. }
  220. /* 弹窗样式 */
  221. .modal-overlay {
  222. position: fixed;
  223. top: 0;
  224. left: 0;
  225. right: 0;
  226. bottom: 0;
  227. background: rgba(0, 0, 0, 0.5);
  228. display: flex;
  229. align-items: center;
  230. justify-content: center;
  231. z-index: 1000;
  232. }
  233. .modal-content {
  234. width: 640rpx;
  235. background: #ffffff;
  236. border-radius: 24rpx;
  237. padding: 40rpx 32rpx 32rpx;
  238. box-sizing: border-box;
  239. }
  240. .modal-header {
  241. display: flex;
  242. justify-content: space-between;
  243. align-items: center;
  244. margin-bottom: 32rpx;
  245. }
  246. .modal-title {
  247. font-size: 32rpx;
  248. font-weight: 600;
  249. }
  250. .buy-title {
  251. color: #3abf81;
  252. }
  253. .sell-title {
  254. color: #f16565;
  255. }
  256. .modal-close {
  257. font-size: 48rpx;
  258. color: #9ca2b5;
  259. line-height: 1;
  260. width: 48rpx;
  261. height: 48rpx;
  262. display: flex;
  263. align-items: center;
  264. justify-content: center;
  265. }
  266. .modal-body {
  267. margin-bottom: 32rpx;
  268. }
  269. .modal-stock-name {
  270. display: block;
  271. font-size: 28rpx;
  272. font-weight: 600;
  273. color: #222222;
  274. margin-bottom: 24rpx;
  275. }
  276. .modal-price-row {
  277. display: flex;
  278. align-items: center;
  279. margin-bottom: 32rpx;
  280. }
  281. .modal-price-label {
  282. font-size: 26rpx;
  283. color: #666a7f;
  284. margin-right: 12rpx;
  285. }
  286. .modal-price-value {
  287. font-size: 32rpx;
  288. font-weight: 700;
  289. color: #222222;
  290. }
  291. .modal-input-row {
  292. margin-bottom: 32rpx;
  293. }
  294. .modal-input-label {
  295. display: block;
  296. font-size: 24rpx;
  297. color: #9ca2b5;
  298. margin-bottom: 16rpx;
  299. }
  300. .modal-input {
  301. width: 100%;
  302. background: #f7f8fc;
  303. border-radius: 12rpx;
  304. padding: 24rpx;
  305. font-size: 28rpx;
  306. color: #222222;
  307. box-sizing: border-box;
  308. }
  309. .modal-total-row {
  310. display: flex;
  311. justify-content: space-between;
  312. align-items: center;
  313. padding-top: 24rpx;
  314. border-top: 1rpx solid #f1f2f6;
  315. }
  316. .modal-total-label {
  317. font-size: 26rpx;
  318. color: #666a7f;
  319. }
  320. .modal-total-value {
  321. font-size: 36rpx;
  322. font-weight: 700;
  323. }
  324. .buy-total {
  325. color: #3abf81;
  326. }
  327. .sell-total {
  328. color: #f16565;
  329. }
  330. .modal-footer {
  331. display: flex;
  332. flex-direction: column;
  333. align-items: center;
  334. }
  335. .modal-button {
  336. width: 100%;
  337. border-radius: 16rpx;
  338. padding: 28rpx 0;
  339. text-align: center;
  340. margin-bottom: 24rpx;
  341. }
  342. .buy-button {
  343. background: #3abf81;
  344. }
  345. .sell-button {
  346. background: #f16565;
  347. }
  348. .modal-button-text {
  349. font-size: 30rpx;
  350. font-weight: 600;
  351. color: #ffffff;
  352. }
  353. .modal-tip {
  354. font-size: 22rpx;
  355. color: #9ca2b5;
  356. }
  357. .bottom-safe-area {
  358. height: 80rpx;
  359. }
  360. /* 模糊效果 */
  361. .blur-content {
  362. filter: blur(8rpx);
  363. pointer-events: none;
  364. }
  365. /* 登录遮罩层 */
  366. .login-mask {
  367. position: fixed;
  368. top: 0;
  369. left: 0;
  370. right: 0;
  371. bottom: 0;
  372. background: rgba(0, 0, 0, 0.4);
  373. display: flex;
  374. align-items: center;
  375. justify-content: center;
  376. z-index: 999;
  377. }
  378. .login-prompt {
  379. width: 560rpx;
  380. max-width: 560rpx;
  381. background: #ffffff;
  382. border-radius: 24rpx;
  383. padding: 50rpx 40rpx;
  384. margin: 0 auto;
  385. text-align: center;
  386. box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.3);
  387. box-sizing: border-box;
  388. }
  389. .lock-icon {
  390. font-size: 72rpx;
  391. margin-bottom: 20rpx;
  392. }
  393. .prompt-title {
  394. display: block;
  395. font-size: 32rpx;
  396. font-weight: 600;
  397. color: #222222;
  398. margin-bottom: 12rpx;
  399. }
  400. .prompt-desc {
  401. display: block;
  402. font-size: 24rpx;
  403. color: #999999;
  404. line-height: 1.5;
  405. margin-bottom: 32rpx;
  406. }
  407. .login-button-native {
  408. width: 100%;
  409. height: 80rpx;
  410. background: linear-gradient(135deg, #4CAF50, #66BB6A);
  411. color: #ffffff;
  412. border-radius: 40rpx;
  413. font-size: 30rpx;
  414. font-weight: 600;
  415. box-shadow: 0 8rpx 24rpx rgba(76, 175, 80, 0.4);
  416. display: flex;
  417. align-items: center;
  418. justify-content: center;
  419. border: none;
  420. padding: 0;
  421. line-height: 80rpx;
  422. }
  423. .login-button-native::after {
  424. border: none;
  425. }
  426. .button-icon {
  427. font-size: 32rpx;
  428. margin-right: 12rpx;
  429. }