pool.wxss 7.3 KB

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