index.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  1. /* 引导页面样式 */
  2. .welcome-page {
  3. min-height: 100vh;
  4. background: linear-gradient(to bottom, #fafbff 0%, #ffffff 100%);
  5. padding: 40rpx 0;
  6. display: flex;
  7. flex-direction: column;
  8. position: relative;
  9. overflow: hidden;
  10. }
  11. /* 背景装饰 - 紫色圆圈 */
  12. .welcome-page::before {
  13. content: '';
  14. position: absolute;
  15. width: 500rpx;
  16. height: 500rpx;
  17. background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
  18. border-radius: 50%;
  19. top: -200rpx;
  20. right: -150rpx;
  21. animation: float 8s ease-in-out infinite;
  22. }
  23. .welcome-page::after {
  24. content: '';
  25. position: absolute;
  26. width: 350rpx;
  27. height: 350rpx;
  28. background: radial-gradient(circle, rgba(240, 147, 251, 0.05) 0%, transparent 70%);
  29. border-radius: 50%;
  30. bottom: 150rpx;
  31. left: -100rpx;
  32. animation: float 10s ease-in-out infinite reverse;
  33. }
  34. /* 1. 顶部品牌区 */
  35. .brand-section {
  36. text-align: center;
  37. padding: 80rpx 40rpx 50rpx;
  38. position: relative;
  39. z-index: 1;
  40. }
  41. .brand-section .slogan {
  42. font-size: 56rpx;
  43. font-weight: bold;
  44. background: linear-gradient(135deg, #667eea 0%, #764ba2 80%, #f093fb 100%);
  45. -webkit-background-clip: text;
  46. -webkit-text-fill-color: transparent;
  47. background-clip: text;
  48. margin-bottom: 24rpx;
  49. letter-spacing: 4rpx;
  50. animation: fadeInDown 0.8s ease-out;
  51. position: relative;
  52. }
  53. .brand-section .slogan::after {
  54. content: '';
  55. position: absolute;
  56. bottom: -16rpx;
  57. left: 50%;
  58. transform: translateX(-50%);
  59. width: 120rpx;
  60. height: 6rpx;
  61. background: linear-gradient(90deg, transparent, #764ba2, transparent);
  62. border-radius: 3rpx;
  63. }
  64. .brand-section .sub-slogan {
  65. font-size: 28rpx;
  66. color: #666;
  67. letter-spacing: 2rpx;
  68. animation: fadeInUp 0.8s ease-out 0.2s both;
  69. line-height: 1.6;
  70. }
  71. /* 2. 核心功能轮播区 */
  72. .swiper-section {
  73. margin: 40rpx 30rpx;
  74. position: relative;
  75. z-index: 1;
  76. animation: fadeInUp 0.8s ease-out 0.4s both;
  77. }
  78. .swiper-section .feature-swiper {
  79. height: 400rpx;
  80. border-radius: 32rpx;
  81. background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  82. box-shadow: 0 10rpx 40rpx rgba(118, 75, 162, 0.12),
  83. 0 2rpx 8rpx rgba(118, 75, 162, 0.08);
  84. overflow: hidden;
  85. border: 1rpx solid rgba(118, 75, 162, 0.08);
  86. position: relative;
  87. }
  88. .swiper-section .feature-swiper::before {
  89. content: '';
  90. position: absolute;
  91. top: 0;
  92. left: 0;
  93. right: 0;
  94. height: 3rpx;
  95. background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  96. opacity: 0.6;
  97. }
  98. .swiper-section .swiper-item-content {
  99. height: 100%;
  100. display: flex;
  101. flex-direction: column;
  102. align-items: center;
  103. justify-content: center;
  104. padding: 40rpx;
  105. position: relative;
  106. }
  107. /* 轮播项不同颜色背景 */
  108. .swiper-section .swiper-item-1 {
  109. background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
  110. }
  111. .swiper-section .swiper-item-1::before {
  112. content: '';
  113. position: absolute;
  114. top: 50%;
  115. left: 50%;
  116. transform: translate(-50%, -50%);
  117. width: 220rpx;
  118. height: 220rpx;
  119. background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  120. border-radius: 50%;
  121. }
  122. .swiper-section .swiper-item-2 {
  123. background: linear-gradient(135deg, #fff8fb 0%, #ffe8f5 100%);
  124. }
  125. .swiper-section .swiper-item-2::before {
  126. content: '';
  127. position: absolute;
  128. top: 50%;
  129. left: 50%;
  130. transform: translate(-50%, -50%);
  131. width: 220rpx;
  132. height: 220rpx;
  133. background: radial-gradient(circle, rgba(240, 147, 251, 0.08) 0%, transparent 70%);
  134. border-radius: 50%;
  135. }
  136. .swiper-section .swiper-item-3 {
  137. background: linear-gradient(135deg, #f5fbff 0%, #e6f4ff 100%);
  138. }
  139. .swiper-section .swiper-item-3::before {
  140. content: '';
  141. position: absolute;
  142. top: 50%;
  143. left: 50%;
  144. transform: translate(-50%, -50%);
  145. width: 220rpx;
  146. height: 220rpx;
  147. background: radial-gradient(circle, rgba(64, 169, 255, 0.08) 0%, transparent 70%);
  148. border-radius: 50%;
  149. }
  150. .swiper-section .swiper-item-4 {
  151. background: linear-gradient(135deg, #fcf8ff 0%, #f3e8ff 100%);
  152. }
  153. .swiper-section .swiper-item-4::before {
  154. content: '';
  155. position: absolute;
  156. top: 50%;
  157. left: 50%;
  158. transform: translate(-50%, -50%);
  159. width: 220rpx;
  160. height: 220rpx;
  161. background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
  162. border-radius: 50%;
  163. }
  164. .swiper-section .swiper-item-content .feature-icon {
  165. font-size: 72rpx;
  166. margin-bottom: 24rpx;
  167. animation: iconFloat 2s ease-in-out infinite;
  168. filter: drop-shadow(0 6rpx 12rpx rgba(118, 75, 162, 0.15));
  169. position: relative;
  170. z-index: 1;
  171. }
  172. .swiper-section .swiper-item-content .feature-title {
  173. font-size: 36rpx;
  174. font-weight: bold;
  175. color: #333;
  176. margin-bottom: 20rpx;
  177. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  178. -webkit-background-clip: text;
  179. -webkit-text-fill-color: transparent;
  180. background-clip: text;
  181. position: relative;
  182. z-index: 1;
  183. }
  184. .swiper-section .swiper-item-content .feature-desc {
  185. text-align: center;
  186. color: #666;
  187. font-size: 26rpx;
  188. line-height: 44rpx;
  189. position: relative;
  190. z-index: 1;
  191. }
  192. .swiper-section .swiper-item-content .feature-desc text {
  193. display: block;
  194. }
  195. .swiper-section .swiper-item-content .ai-badge {
  196. margin-top: 28rpx;
  197. padding: 14rpx 36rpx;
  198. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  199. border-radius: 50rpx;
  200. display: flex;
  201. align-items: center;
  202. box-shadow: 0 6rpx 20rpx rgba(118, 75, 162, 0.35),
  203. inset 0 1rpx 2rpx rgba(255, 255, 255, 0.3);
  204. animation: pulse 2.5s ease-in-out infinite;
  205. position: relative;
  206. z-index: 1;
  207. overflow: hidden;
  208. }
  209. .swiper-section .swiper-item-content .ai-badge::before {
  210. content: '';
  211. position: absolute;
  212. top: -50%;
  213. left: -50%;
  214. width: 200%;
  215. height: 200%;
  216. background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  217. animation: shimmer 3s infinite;
  218. }
  219. .swiper-section .swiper-item-content .ai-badge .ai-badge-icon {
  220. font-size: 28rpx;
  221. margin-right: 10rpx;
  222. position: relative;
  223. z-index: 1;
  224. }
  225. .swiper-section .swiper-item-content .ai-badge .ai-badge-text {
  226. font-size: 26rpx;
  227. color: #ffffff;
  228. font-weight: bold;
  229. letter-spacing: 2rpx;
  230. position: relative;
  231. z-index: 1;
  232. }
  233. /* 3. 价值亮点卡片区 */
  234. .value-section {
  235. margin: 35rpx 30rpx;
  236. position: relative;
  237. z-index: 1;
  238. animation: fadeInUp 0.8s ease-out 0.6s both;
  239. }
  240. .value-section .value-title {
  241. font-size: 36rpx;
  242. font-weight: bold;
  243. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  244. -webkit-background-clip: text;
  245. -webkit-text-fill-color: transparent;
  246. background-clip: text;
  247. text-align: center;
  248. margin-bottom: 36rpx;
  249. letter-spacing: 3rpx;
  250. position: relative;
  251. }
  252. .value-section .value-title::before,
  253. .value-section .value-title::after {
  254. content: '✦';
  255. position: absolute;
  256. top: 50%;
  257. transform: translateY(-50%);
  258. font-size: 24rpx;
  259. color: #764ba2;
  260. opacity: 0.4;
  261. }
  262. .value-section .value-title::before {
  263. left: 200rpx;
  264. }
  265. .value-section .value-title::after {
  266. right: 200rpx;
  267. }
  268. .value-section .value-cards {
  269. display: grid;
  270. grid-template-columns: repeat(4, 1fr);
  271. gap: 24rpx;
  272. }
  273. .value-section .value-cards .value-card {
  274. background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  275. border-radius: 28rpx;
  276. padding: 36rpx 14rpx;
  277. text-align: center;
  278. box-shadow: 0 6rpx 24rpx rgba(118, 75, 162, 0.10),
  279. 0 2rpx 8rpx rgba(118, 75, 162, 0.06);
  280. transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  281. position: relative;
  282. overflow: hidden;
  283. border: 1rpx solid rgba(118, 75, 162, 0.08);
  284. }
  285. .value-section .value-cards .value-card::before {
  286. content: '';
  287. position: absolute;
  288. top: -2rpx;
  289. left: -2rpx;
  290. right: -2rpx;
  291. bottom: -2rpx;
  292. background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  293. opacity: 0;
  294. transition: opacity 0.4s;
  295. border-radius: 28rpx;
  296. z-index: 0;
  297. }
  298. .value-section .value-cards .value-card::after {
  299. content: '';
  300. position: absolute;
  301. top: 0;
  302. left: 0;
  303. right: 0;
  304. bottom: 0;
  305. background: radial-gradient(circle at 50% 0%, rgba(118, 75, 162, 0.05) 0%, transparent 60%);
  306. opacity: 1;
  307. }
  308. .value-section .value-cards .value-card:active {
  309. transform: translateY(-10rpx) scale(1.02);
  310. box-shadow: 0 12rpx 36rpx rgba(118, 75, 162, 0.20),
  311. 0 4rpx 12rpx rgba(118, 75, 162, 0.12);
  312. }
  313. .value-section .value-cards .value-card:active::before {
  314. opacity: 1;
  315. }
  316. .value-section .value-cards .value-card .card-icon {
  317. font-size: 64rpx;
  318. margin-bottom: 20rpx;
  319. filter: drop-shadow(0 4rpx 10rpx rgba(118, 75, 162, 0.12));
  320. position: relative;
  321. z-index: 1;
  322. animation: iconBounce 3s ease-in-out infinite;
  323. }
  324. .value-section .value-cards .value-card .card-title {
  325. font-size: 28rpx;
  326. color: #333;
  327. font-weight: 600;
  328. margin-bottom: 10rpx;
  329. position: relative;
  330. z-index: 1;
  331. }
  332. .value-section .value-cards .value-card .card-desc {
  333. font-size: 22rpx;
  334. color: #999;
  335. position: relative;
  336. z-index: 1;
  337. }
  338. /* 4. 操作按钮区 */
  339. .action-section {
  340. margin: 60rpx 40rpx 40rpx;
  341. display: flex;
  342. flex-direction: column;
  343. align-items: center;
  344. position: relative;
  345. z-index: 1;
  346. animation: fadeInUp 0.8s ease-out 0.8s both;
  347. }
  348. .action-section .btn-primary {
  349. width: 100%;
  350. height: 104rpx;
  351. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  352. color: white;
  353. font-size: 36rpx;
  354. font-weight: bold;
  355. border-radius: 52rpx;
  356. display: flex;
  357. align-items: center;
  358. justify-content: center;
  359. box-shadow: 0 12rpx 36rpx rgba(118, 75, 162, 0.35),
  360. 0 4rpx 12rpx rgba(118, 75, 162, 0.20),
  361. inset 0 2rpx 4rpx rgba(255, 255, 255, 0.25);
  362. border: none;
  363. line-height: 104rpx;
  364. position: relative;
  365. overflow: hidden;
  366. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  367. }
  368. .action-section .btn-primary::before {
  369. content: '';
  370. position: absolute;
  371. top: 0;
  372. left: -100%;
  373. width: 100%;
  374. height: 100%;
  375. background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  376. animation: buttonShine 3s infinite;
  377. }
  378. .action-section .btn-primary::after {
  379. border: none;
  380. }
  381. .action-section .btn-primary:active {
  382. transform: scale(0.98);
  383. box-shadow: 0 8rpx 24rpx rgba(118, 75, 162, 0.30),
  384. 0 2rpx 8rpx rgba(118, 75, 162, 0.15);
  385. }
  386. .action-section .btn-primary .btn-icon {
  387. margin-right: 14rpx;
  388. font-size: 40rpx;
  389. position: relative;
  390. z-index: 1;
  391. animation: rocketFloat 2s ease-in-out infinite;
  392. }
  393. .action-section .btn-primary text {
  394. position: relative;
  395. z-index: 1;
  396. }
  397. .action-section .btn-skip {
  398. margin-top: 40rpx;
  399. font-size: 28rpx;
  400. color: #999;
  401. padding: 20rpx 40rpx;
  402. border-radius: 30rpx;
  403. transition: all 0.3s;
  404. position: relative;
  405. }
  406. .action-section .btn-skip::before {
  407. content: '';
  408. position: absolute;
  409. inset: 0;
  410. border-radius: 30rpx;
  411. background: rgba(118, 75, 162, 0.05);
  412. opacity: 0;
  413. transition: opacity 0.3s;
  414. }
  415. .action-section .btn-skip:active::before {
  416. opacity: 1;
  417. }
  418. .action-section .btn-skip:active {
  419. color: #764ba2;
  420. }
  421. .action-section .help-link {
  422. margin-top: 28rpx;
  423. font-size: 26rpx;
  424. color: #764ba2;
  425. display: flex;
  426. align-items: center;
  427. padding: 18rpx 28rpx;
  428. border-radius: 30rpx;
  429. transition: all 0.3s;
  430. position: relative;
  431. background: rgba(118, 75, 162, 0.03);
  432. border: 1rpx solid rgba(118, 75, 162, 0.1);
  433. }
  434. .action-section .help-link:active {
  435. background: rgba(118, 75, 162, 0.08);
  436. border-color: rgba(118, 75, 162, 0.15);
  437. }
  438. .action-section .help-link .arrow {
  439. font-size: 32rpx;
  440. margin-left: 10rpx;
  441. font-weight: bold;
  442. animation: arrowMove 1.2s ease-in-out infinite;
  443. }
  444. /* 版本信息 */
  445. .version-info {
  446. text-align: center;
  447. font-size: 22rpx;
  448. color: #ccc;
  449. margin-top: auto;
  450. padding: 30rpx 0;
  451. position: relative;
  452. z-index: 1;
  453. }
  454. /* ========== 动画效果 ========== */
  455. /* 浮动动画 */
  456. @keyframes float {
  457. 0%, 100% {
  458. transform: translateY(0) rotate(0deg);
  459. opacity: 1;
  460. }
  461. 50% {
  462. transform: translateY(-40rpx) rotate(3deg);
  463. opacity: 0.8;
  464. }
  465. }
  466. /* 淡入下落 */
  467. @keyframes fadeInDown {
  468. from {
  469. opacity: 0;
  470. transform: translateY(-40rpx);
  471. }
  472. to {
  473. opacity: 1;
  474. transform: translateY(0);
  475. }
  476. }
  477. /* 淡入上升 */
  478. @keyframes fadeInUp {
  479. from {
  480. opacity: 0;
  481. transform: translateY(40rpx);
  482. }
  483. to {
  484. opacity: 1;
  485. transform: translateY(0);
  486. }
  487. }
  488. /* 图标浮动 */
  489. @keyframes iconFloat {
  490. 0%, 100% {
  491. transform: translateY(0) scale(1);
  492. }
  493. 50% {
  494. transform: translateY(-8rpx) scale(1.05);
  495. }
  496. }
  497. /* 图标弹跳 */
  498. @keyframes iconBounce {
  499. 0%, 100% {
  500. transform: translateY(0);
  501. }
  502. 50% {
  503. transform: translateY(-6rpx);
  504. }
  505. }
  506. /* AI 徽章脉动 */
  507. @keyframes pulse {
  508. 0%, 100% {
  509. transform: scale(1);
  510. box-shadow: 0 6rpx 20rpx rgba(118, 75, 162, 0.35),
  511. inset 0 1rpx 2rpx rgba(255, 255, 255, 0.3);
  512. }
  513. 50% {
  514. transform: scale(1.05);
  515. box-shadow: 0 8rpx 28rpx rgba(118, 75, 162, 0.45),
  516. inset 0 1rpx 2rpx rgba(255, 255, 255, 0.3);
  517. }
  518. }
  519. /* 光泽效果 */
  520. @keyframes shimmer {
  521. 0% {
  522. transform: translateX(-100%) translateY(-100%) rotate(45deg);
  523. }
  524. 100% {
  525. transform: translateX(100%) translateY(100%) rotate(45deg);
  526. }
  527. }
  528. /* 按钮光泽 */
  529. @keyframes buttonShine {
  530. 0% {
  531. left: -100%;
  532. }
  533. 50%, 100% {
  534. left: 100%;
  535. }
  536. }
  537. /* 火箭浮动 */
  538. @keyframes rocketFloat {
  539. 0%, 100% {
  540. transform: translateY(0) rotate(0deg);
  541. }
  542. 25% {
  543. transform: translateY(-4rpx) rotate(-3deg);
  544. }
  545. 75% {
  546. transform: translateY(-2rpx) rotate(3deg);
  547. }
  548. }
  549. /* 箭头移动 */
  550. @keyframes arrowMove {
  551. 0%, 100% {
  552. transform: translateX(0);
  553. }
  554. 50% {
  555. transform: translateX(8rpx);
  556. }
  557. }