strong.wxss 7.3 KB

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