pool.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873
  1. <template>
  2. <view class="page-container">
  3. <scroll-view class="scroll-view" scroll-y>
  4. <view class="content-wrapper">
  5. <!-- 超短精选池标题 -->
  6. <view class="pool-header-section">
  7. <view class="pool-header">
  8. <text class="pool-icon">⚡</text>
  9. <text class="pool-title">超短精选池</text>
  10. </view>
  11. <text class="pool-desc">今日更新,高频捕捉短期爆发机会</text>
  12. </view>
  13. <!-- 性能指标卡片 -->
  14. <view class="card performance-card">
  15. <view class="performance-item">
  16. <text class="performance-label">历史成功率</text>
  17. <text class="performance-value success">75%</text>
  18. </view>
  19. <view class="performance-item">
  20. <text class="performance-label">平均收益率</text>
  21. <text class="performance-value profit">+3.2%</text>
  22. </view>
  23. <view class="performance-item">
  24. <text class="performance-label">总交易次数</text>
  25. <text class="performance-value">120</text>
  26. </view>
  27. </view>
  28. <!-- 超短精选池区域 -->
  29. <view class="card pool-card">
  30. <!-- 未购买时显示锁定状态 -->
  31. <view v-if="!isPurchased" class="locked-content">
  32. <view class="lock-icon-wrapper">
  33. <text class="lock-icon">🔒</text>
  34. </view>
  35. <text class="lock-text">权限锁定: 查看 超短精选池 </text>
  36. <text class="lock-desc">超短池为每日实时更新,捕捉短期爆发机会。</text>
  37. <view class="unlock-button" @click="showPurchaseModal">
  38. <text class="unlock-button-text">立即打赏</text>
  39. </view>
  40. </view>
  41. <!-- 已购买时显示内容 -->
  42. <view v-else class="unlocked-content">
  43. <text class="unlocked-tip">您已解锁,可以查看超短精选池内容</text>
  44. <!-- 这里可以显示实际的股票池内容 -->
  45. <view class="stock-list-placeholder">
  46. <text class="placeholder-text">股票池内容将在此显示</text>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 历史股票池回顾 -->
  51. <view class="card history-card">
  52. <view class="history-header">
  53. <text class="history-icon">📅</text>
  54. <text class="history-title">历史股票池回顾</text>
  55. </view>
  56. <!-- 月份区间选择 -->
  57. <view class="date-range-row">
  58. <picker
  59. mode="date"
  60. fields="month"
  61. :value="startMonth"
  62. @change="onStartMonthChange"
  63. class="date-picker-half"
  64. >
  65. <view class="date-input">
  66. <text class="date-text">{{ formatMonth(startMonth) }}</text>
  67. <text class="date-icon">📅</text>
  68. </view>
  69. </picker>
  70. <text class="date-separator">至</text>
  71. <picker
  72. mode="date"
  73. fields="month"
  74. :value="endMonth"
  75. @change="onEndMonthChange"
  76. class="date-picker-half"
  77. >
  78. <view class="date-input">
  79. <text class="date-text">{{ formatMonth(endMonth) }}</text>
  80. <text class="date-icon">📅</text>
  81. </view>
  82. </picker>
  83. </view>
  84. <!-- 查询按钮 -->
  85. <view class="history-search-button-full" @click="onHistorySearch">
  86. <text class="search-button-text">🔍 查询历史数据</text>
  87. </view>
  88. <text class="history-tip">选择时间区间,查询该期间的入池股票及表现。</text>
  89. </view>
  90. <!-- 预留底部空间 -->
  91. <view class="bottom-safe-area"></view>
  92. </view>
  93. </scroll-view>
  94. <!-- 手机号授权弹窗 -->
  95. <view v-if="showPhoneAuth" class="phone-auth-mask" @click="closePhoneAuth">
  96. <view class="phone-auth-prompt" @click.stop>
  97. <text class="auth-title">授权手机号</text>
  98. <text class="auth-desc">为了完成登录,需要获取您的手机号</text>
  99. <button
  100. class="auth-button"
  101. open-type="getPhoneNumber"
  102. @getphonenumber="onGetPhoneNumber"
  103. >
  104. 授权手机号
  105. </button>
  106. </view>
  107. </view>
  108. <!-- 购买弹窗 -->
  109. <view v-if="showModal" class="modal-overlay" @click="closePurchaseModal">
  110. <view class="modal-content" @click.stop>
  111. <view class="modal-header">
  112. <text class="modal-title">超短池(日/周)订阅服务</text>
  113. <text class="modal-close" @click="closePurchaseModal">×</text>
  114. </view>
  115. <view class="subscription-options">
  116. <view
  117. class="subscription-option"
  118. :class="{ active: selectedPlan === 'daily' }"
  119. @click="selectedPlan = 'daily'"
  120. >
  121. <view class="option-info">
  122. <text class="option-title">日订阅</text>
  123. <text class="option-desc">当日有效</text>
  124. </view>
  125. <text class="option-price">¥18</text>
  126. </view>
  127. <view
  128. class="subscription-option"
  129. :class="{ active: selectedPlan === 'weekly' }"
  130. @click="selectedPlan = 'weekly'"
  131. >
  132. <view class="option-info">
  133. <text class="option-title">周套餐</text>
  134. <text class="option-desc">7天连续查看</text>
  135. </view>
  136. <text class="option-price">¥98</text>
  137. </view>
  138. </view>
  139. <!-- 支付方式选择 -->
  140. <view class="payment-method-section">
  141. <text class="payment-method-title">支付方式</text>
  142. <view class="payment-methods">
  143. <view
  144. class="payment-method-item active"
  145. >
  146. <text class="payment-icon">💳</text>
  147. <text class="payment-name">微信支付</text>
  148. <view class="payment-check">✓</view>
  149. </view>
  150. </view>
  151. </view>
  152. <view class="modal-footer">
  153. <view class="pay-button" @click="handlePurchase">
  154. <text class="pay-button-text">确认支付并解锁</text>
  155. </view>
  156. <text class="agreement-text">点击即表示同意《用户订阅协议》</text>
  157. </view>
  158. </view>
  159. </view>
  160. </view>
  161. </template>
  162. <script setup>
  163. import { ref } from 'vue'
  164. import { onLoad, onShow } from '@dcloudio/uni-app'
  165. import { isLoggedIn as checkLoginStatus } from '../../utils/auth.js'
  166. const isPurchased = ref(false)
  167. const showModal = ref(false)
  168. const showPhoneAuth = ref(false) // 是否显示手机号授权按钮
  169. const selectedPlan = ref('daily')
  170. const startMonth = ref('2025-01') // 开始月份
  171. const endMonth = ref('2025-11') // 结束月份
  172. const isLoggedIn = ref(false)
  173. // 格式化月份显示
  174. const formatMonth = (monthStr) => {
  175. if (!monthStr) return '请选择'
  176. const [year, month] = monthStr.split('-')
  177. return `${year}年${month}月`
  178. }
  179. // 检查登录状态
  180. const checkLogin = () => {
  181. isLoggedIn.value = checkLoginStatus()
  182. console.log('[超短池] 登录状态:', isLoggedIn.value)
  183. return isLoggedIn.value
  184. }
  185. // 检查购买状态
  186. const checkPurchaseStatus = () => {
  187. try {
  188. const purchaseInfo = uni.getStorageSync('pool_purchase')
  189. if (purchaseInfo) {
  190. const now = Date.now()
  191. const expireTime = purchaseInfo.expireTime
  192. if (now < expireTime) {
  193. isPurchased.value = true
  194. } else {
  195. // 已过期,清除购买信息
  196. uni.removeStorageSync('pool_purchase')
  197. isPurchased.value = false
  198. }
  199. } else {
  200. isPurchased.value = false
  201. }
  202. } catch (e) {
  203. console.error('检查购买状态失败:', e)
  204. isPurchased.value = false
  205. }
  206. }
  207. // 显示购买弹窗(需要登录)
  208. const showPurchaseModal = () => {
  209. console.log('点击立即解锁')
  210. // 检查登录状态
  211. if (!checkLogin()) {
  212. console.log('未登录,跳转到登录页')
  213. uni.showModal({
  214. title: '登录提示',
  215. content: '此功能需要登录后使用,是否前往登录?',
  216. confirmText: '去登录',
  217. cancelText: '取消',
  218. success: (res) => {
  219. if (res.confirm) {
  220. uni.navigateTo({
  221. url: '/pages/login/login'
  222. })
  223. }
  224. }
  225. })
  226. return
  227. }
  228. console.log('已登录,显示购买弹窗')
  229. showModal.value = true
  230. }
  231. // 关闭购买弹窗
  232. const closePurchaseModal = () => {
  233. showModal.value = false
  234. }
  235. // 处理购买
  236. const handlePurchase = () => {
  237. if (!selectedPlan.value) {
  238. uni.showToast({
  239. title: '请选择订阅方案',
  240. icon: 'none'
  241. })
  242. return
  243. }
  244. // 计算过期时间
  245. const now = Date.now()
  246. let expireTime = now
  247. if (selectedPlan.value === 'daily') {
  248. // 日订阅:当天23:59:59过期
  249. const today = new Date()
  250. today.setHours(23, 59, 59, 999)
  251. expireTime = today.getTime()
  252. } else if (selectedPlan.value === 'weekly') {
  253. // 周套餐:7天后过期
  254. expireTime = now + 7 * 24 * 60 * 60 * 1000
  255. }
  256. // 保存购买信息
  257. const purchaseInfo = {
  258. plan: selectedPlan.value,
  259. purchaseTime: now,
  260. expireTime: expireTime
  261. }
  262. uni.setStorageSync('pool_purchase', purchaseInfo)
  263. // 更新购买状态
  264. isPurchased.value = true
  265. // 关闭弹窗
  266. closePurchaseModal()
  267. // 显示成功提示
  268. uni.showToast({
  269. title: '解锁成功',
  270. icon: 'success'
  271. })
  272. }
  273. // 开始月份选择变化
  274. const onStartMonthChange = (e) => {
  275. startMonth.value = e.detail.value
  276. console.log('[超短池] 选择开始月份:', startMonth.value)
  277. }
  278. // 结束月份选择变化
  279. const onEndMonthChange = (e) => {
  280. endMonth.value = e.detail.value
  281. console.log('[超短池] 选择结束月份:', endMonth.value)
  282. }
  283. // 历史查询
  284. const onHistorySearch = () => {
  285. if (!startMonth.value || !endMonth.value) {
  286. uni.showToast({
  287. title: '请选择开始和结束月份',
  288. icon: 'none'
  289. })
  290. return
  291. }
  292. // 验证时间区间
  293. if (startMonth.value > endMonth.value) {
  294. uni.showToast({
  295. title: '开始月份不能晚于结束月份',
  296. icon: 'none'
  297. })
  298. return
  299. }
  300. console.log('[超短池] 查询历史数据区间:', startMonth.value, '至', endMonth.value)
  301. uni.showToast({
  302. title: `查询${formatMonth(startMonth.value)}至${formatMonth(endMonth.value)}`,
  303. icon: 'none',
  304. duration: 2000
  305. })
  306. // TODO: 调用后端API查询历史数据
  307. // const response = await getHistoryPoolData(startMonth.value, endMonth.value)
  308. }
  309. // 使用uni-app生命周期钩子
  310. onLoad(() => {
  311. checkLogin()
  312. checkPurchaseStatus()
  313. })
  314. onShow(() => {
  315. // 每次页面显示时都检查登录状态和购买状态
  316. checkLogin()
  317. checkPurchaseStatus()
  318. // 设置导航栏标题
  319. uni.setNavigationBarTitle({ title: '量化交易大师' })
  320. })
  321. </script>
  322. <style>
  323. .page-container {
  324. height: 100vh;
  325. display: flex;
  326. flex-direction: column;
  327. background: #f5f6fb;
  328. }
  329. .scroll-view {
  330. flex: 1;
  331. height: 0;
  332. }
  333. .content-wrapper {
  334. padding: 32rpx;
  335. background: #f5f6fb;
  336. min-height: 100%;
  337. }
  338. .card {
  339. background: #ffffff;
  340. border-radius: 24rpx;
  341. padding: 32rpx;
  342. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  343. margin-bottom: 32rpx;
  344. }
  345. /* 超短精选池标题区域 */
  346. .pool-header-section {
  347. margin-bottom: 24rpx;
  348. }
  349. .pool-header {
  350. display: flex;
  351. align-items: center;
  352. margin-bottom: 12rpx;
  353. }
  354. .pool-icon {
  355. font-size: 32rpx;
  356. margin-right: 12rpx;
  357. }
  358. .pool-title {
  359. font-size: 32rpx;
  360. font-weight: 600;
  361. color: #222222;
  362. }
  363. .pool-desc {
  364. font-size: 26rpx;
  365. color: #666a7f;
  366. }
  367. /* 性能指标卡片 */
  368. .performance-card {
  369. display: flex;
  370. justify-content: space-around;
  371. align-items: center;
  372. background: #f7f8fc;
  373. padding: 32rpx 24rpx;
  374. }
  375. .performance-item {
  376. display: flex;
  377. flex-direction: column;
  378. align-items: center;
  379. }
  380. .performance-label {
  381. font-size: 24rpx;
  382. color: #666a7f;
  383. margin-bottom: 12rpx;
  384. }
  385. .performance-value {
  386. font-size: 32rpx;
  387. font-weight: 700;
  388. color: #222222;
  389. }
  390. .performance-value.success {
  391. color: #3abf81;
  392. }
  393. .performance-value.profit {
  394. color: #f16565;
  395. }
  396. /* 超短精选池卡片 */
  397. .pool-card {
  398. padding: 32rpx;
  399. }
  400. /* 锁定内容 */
  401. .locked-content {
  402. display: flex;
  403. flex-direction: column;
  404. align-items: center;
  405. padding: 60rpx 0 40rpx;
  406. }
  407. .lock-icon-wrapper {
  408. margin-bottom: 32rpx;
  409. }
  410. .lock-icon {
  411. font-size: 80rpx;
  412. }
  413. .lock-text {
  414. font-size: 28rpx;
  415. color: #222222;
  416. margin-bottom: 16rpx;
  417. text-align: center;
  418. }
  419. .lock-desc {
  420. font-size: 24rpx;
  421. color: #9ca2b5;
  422. margin-bottom: 48rpx;
  423. text-align: center;
  424. line-height: 1.6;
  425. }
  426. .unlock-button {
  427. width: 100%;
  428. background: linear-gradient(135deg, #5d55e8, #7568ff);
  429. border-radius: 16rpx;
  430. padding: 28rpx 0;
  431. text-align: center;
  432. box-shadow: 0 12rpx 24rpx rgba(93, 85, 232, 0.4);
  433. }
  434. .unlock-button-text {
  435. font-size: 30rpx;
  436. font-weight: 600;
  437. color: #ffffff;
  438. }
  439. /* 已解锁内容 */
  440. .unlocked-content {
  441. margin-top: 32rpx;
  442. }
  443. .unlocked-tip {
  444. font-size: 26rpx;
  445. color: #3abf81;
  446. margin-bottom: 24rpx;
  447. display: block;
  448. }
  449. .stock-list-placeholder {
  450. padding: 60rpx 0;
  451. text-align: center;
  452. background: #f7f8fc;
  453. border-radius: 16rpx;
  454. }
  455. .placeholder-text {
  456. font-size: 26rpx;
  457. color: #9ca2b5;
  458. }
  459. /* 历史股票池回顾 */
  460. .history-card {
  461. padding: 32rpx;
  462. }
  463. .history-header {
  464. display: flex;
  465. align-items: center;
  466. margin-bottom: 24rpx;
  467. }
  468. .history-icon {
  469. font-size: 28rpx;
  470. margin-right: 12rpx;
  471. }
  472. .history-title {
  473. font-size: 30rpx;
  474. font-weight: 600;
  475. color: #222222;
  476. }
  477. .history-search-row {
  478. display: flex;
  479. align-items: center;
  480. }
  481. .date-range-row {
  482. display: flex;
  483. align-items: center;
  484. gap: 16rpx;
  485. margin-bottom: 24rpx;
  486. }
  487. .date-picker-half {
  488. flex: 1;
  489. }
  490. .date-separator {
  491. font-size: 26rpx;
  492. color: #666a7f;
  493. padding: 0 8rpx;
  494. }
  495. .date-input {
  496. background: #f7f8fc;
  497. border-radius: 12rpx;
  498. padding: 24rpx;
  499. font-size: 26rpx;
  500. color: #222222;
  501. display: flex;
  502. justify-content: space-between;
  503. align-items: center;
  504. }
  505. .date-text {
  506. flex: 1;
  507. }
  508. .date-icon {
  509. font-size: 28rpx;
  510. margin-left: 12rpx;
  511. }
  512. .history-search-button-full {
  513. width: 100%;
  514. background: linear-gradient(135deg, #5d55e8, #7568ff);
  515. border-radius: 16rpx;
  516. padding: 28rpx 0;
  517. text-align: center;
  518. margin-top: 12rpx;
  519. margin-bottom: 24rpx;
  520. box-shadow: 0 8rpx 20rpx rgba(93, 85, 232, 0.3);
  521. }
  522. .search-button-text {
  523. font-size: 28rpx;
  524. font-weight: 600;
  525. color: #ffffff;
  526. }
  527. .history-search-button {
  528. width: 80rpx;
  529. height: 80rpx;
  530. background: #5d55e8;
  531. border-radius: 12rpx;
  532. display: flex;
  533. align-items: center;
  534. justify-content: center;
  535. margin-left: 16rpx;
  536. }
  537. .search-icon {
  538. font-size: 32rpx;
  539. color: #ffffff;
  540. }
  541. .history-tip {
  542. font-size: 24rpx;
  543. color: #9ca2b5;
  544. line-height: 1.6;
  545. }
  546. /* 购买弹窗 */
  547. .modal-overlay {
  548. position: fixed;
  549. top: 0;
  550. left: 0;
  551. right: 0;
  552. bottom: 0;
  553. background: rgba(0, 0, 0, 0.5);
  554. display: flex;
  555. align-items: center;
  556. justify-content: center;
  557. z-index: 1000;
  558. }
  559. .modal-content {
  560. width: 640rpx;
  561. background: #ffffff;
  562. border-radius: 24rpx;
  563. padding: 40rpx 32rpx 32rpx;
  564. box-sizing: border-box;
  565. }
  566. .modal-header {
  567. display: flex;
  568. justify-content: space-between;
  569. align-items: center;
  570. margin-bottom: 32rpx;
  571. }
  572. .modal-title {
  573. font-size: 32rpx;
  574. font-weight: 600;
  575. color: #222222;
  576. }
  577. .modal-close {
  578. font-size: 48rpx;
  579. color: #9ca2b5;
  580. line-height: 1;
  581. width: 48rpx;
  582. height: 48rpx;
  583. display: flex;
  584. align-items: center;
  585. justify-content: center;
  586. }
  587. .subscription-options {
  588. margin-bottom: 32rpx;
  589. }
  590. .subscription-option {
  591. display: flex;
  592. justify-content: space-between;
  593. align-items: center;
  594. padding: 32rpx 24rpx;
  595. border: 2rpx solid #e5e7eb;
  596. border-radius: 16rpx;
  597. margin-bottom: 20rpx;
  598. transition: all 0.3s;
  599. }
  600. .subscription-option.active {
  601. border-color: #5d55e8;
  602. background: #f7f8fc;
  603. }
  604. .option-info {
  605. display: flex;
  606. flex-direction: column;
  607. }
  608. .option-title {
  609. font-size: 28rpx;
  610. font-weight: 600;
  611. color: #222222;
  612. margin-bottom: 8rpx;
  613. }
  614. .option-desc {
  615. font-size: 24rpx;
  616. color: #9ca2b5;
  617. }
  618. .option-price {
  619. font-size: 36rpx;
  620. font-weight: 700;
  621. color: #f16565;
  622. }
  623. .modal-footer {
  624. display: flex;
  625. flex-direction: column;
  626. align-items: center;
  627. }
  628. .pay-button {
  629. width: 100%;
  630. background: #f16565;
  631. border-radius: 16rpx;
  632. padding: 28rpx 0;
  633. text-align: center;
  634. margin-bottom: 24rpx;
  635. }
  636. .pay-button-text {
  637. font-size: 30rpx;
  638. font-weight: 600;
  639. color: #ffffff;
  640. }
  641. .agreement-text {
  642. font-size: 22rpx;
  643. color: #9ca2b5;
  644. }
  645. /* 支付方式选择 */
  646. .payment-method-section {
  647. margin-bottom: 32rpx;
  648. padding-top: 24rpx;
  649. border-top: 1rpx solid #f1f2f6;
  650. }
  651. .payment-method-title {
  652. display: block;
  653. font-size: 26rpx;
  654. font-weight: 600;
  655. color: #222222;
  656. margin-bottom: 20rpx;
  657. }
  658. .payment-methods {
  659. display: flex;
  660. flex-direction: column;
  661. gap: 16rpx;
  662. }
  663. .payment-method-item {
  664. display: flex;
  665. align-items: center;
  666. padding: 24rpx 20rpx;
  667. border: 2rpx solid #e5e7eb;
  668. border-radius: 12rpx;
  669. transition: all 0.3s;
  670. position: relative;
  671. }
  672. .payment-method-item.active {
  673. border-color: #5d55e8;
  674. background: #f7f5ff;
  675. }
  676. .payment-icon {
  677. font-size: 36rpx;
  678. margin-right: 16rpx;
  679. }
  680. .payment-name {
  681. font-size: 28rpx;
  682. font-weight: 500;
  683. color: #222222;
  684. flex: 1;
  685. }
  686. .payment-check {
  687. width: 36rpx;
  688. height: 36rpx;
  689. background: #5d55e8;
  690. border-radius: 50%;
  691. color: #ffffff;
  692. font-size: 24rpx;
  693. display: flex;
  694. align-items: center;
  695. justify-content: center;
  696. }
  697. .bottom-safe-area {
  698. height: 80rpx;
  699. }
  700. /* 手机号授权弹窗 */
  701. .phone-auth-mask {
  702. position: fixed;
  703. top: 0;
  704. left: 0;
  705. right: 0;
  706. bottom: 0;
  707. background: rgba(0, 0, 0, 0.6);
  708. display: flex;
  709. align-items: center;
  710. justify-content: center;
  711. z-index: 9999;
  712. }
  713. .phone-auth-prompt {
  714. width: 560rpx;
  715. background: #ffffff;
  716. border-radius: 24rpx;
  717. padding: 50rpx 40rpx;
  718. text-align: center;
  719. box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.3);
  720. }
  721. .auth-icon {
  722. font-size: 72rpx;
  723. margin-bottom: 20rpx;
  724. }
  725. .auth-title {
  726. display: block;
  727. font-size: 32rpx;
  728. font-weight: 600;
  729. color: #222222;
  730. margin-bottom: 12rpx;
  731. }
  732. .auth-desc {
  733. display: block;
  734. font-size: 24rpx;
  735. color: #999999;
  736. line-height: 1.5;
  737. margin-bottom: 32rpx;
  738. }
  739. .auth-button {
  740. width: 100%;
  741. height: 80rpx;
  742. background: linear-gradient(135deg, #FF9800, #FFA726);
  743. color: #ffffff;
  744. border-radius: 40rpx;
  745. font-size: 30rpx;
  746. font-weight: 600;
  747. box-shadow: 0 8rpx 24rpx rgba(255, 152, 0, 0.4);
  748. display: flex;
  749. align-items: center;
  750. justify-content: center;
  751. border: none;
  752. padding: 0;
  753. line-height: 80rpx;
  754. }
  755. .auth-button::after {
  756. border: none;
  757. }
  758. </style>