index.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. page {
  2. background-color: #fff;
  3. font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
  4. Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB",
  5. "Microsoft Yahei", sans-serif;
  6. }
  7. .container {
  8. padding: 20px;
  9. display: flex;
  10. flex-direction: column;
  11. min-height: 100vh;
  12. position: relative; /* Ensure absolute children are relative to this or use page */
  13. }
  14. .top-bg {
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. width: 100%;
  19. height: 290px; /* Reduced height */
  20. background: linear-gradient(180deg, #9f7fff 0%, #7b68ee 100%);
  21. z-index: 0;
  22. }
  23. .title-section {
  24. margin-top: 40px;
  25. margin-bottom: 60px;
  26. position: relative;
  27. z-index: 1;
  28. }
  29. .main-title {
  30. font-size: 28px;
  31. font-weight: 500;
  32. color: #fff;
  33. margin-bottom: 20px;
  34. }
  35. .sub-title {
  36. font-size: 14px;
  37. color: rgba(255, 255, 255, 0.9);
  38. line-height: 1.6;
  39. }
  40. .order-btn-section {
  41. margin-bottom: 60px;
  42. position: relative;
  43. z-index: 1;
  44. }
  45. .order-btn {
  46. background-color: #fff;
  47. color: #7b68ee; /* Theme purple */
  48. font-weight: 600;
  49. border: none;
  50. height: 56px;
  51. line-height: 56px;
  52. font-size: 18px;
  53. border-radius: 28px; /* Fully rounded */
  54. width: 180px;
  55. box-shadow: 0 8px 20px rgba(123, 104, 238, 0.2); /* Soft purple shadow */
  56. position: relative;
  57. overflow: hidden;
  58. }
  59. .order-btn::after {
  60. border: none;
  61. }
  62. .order-btn:active {
  63. transform: scale(0.98);
  64. box-shadow: 0 4px 10px rgba(123, 104, 238, 0.15);
  65. background-color: #fcfcfc;
  66. }
  67. .help-section {
  68. margin-bottom: 10px;
  69. }
  70. .section-title {
  71. font-size: 18px;
  72. color: #333;
  73. margin-bottom: 20px;
  74. padding-bottom: 10px;
  75. border-bottom: 1px solid #eee;
  76. }
  77. .help-grid {
  78. display: flex;
  79. flex-wrap: wrap;
  80. justify-content: space-between;
  81. }
  82. .help-item {
  83. width: 48%;
  84. background-color: #fff;
  85. border: 1px solid #eee;
  86. border-radius: 12px;
  87. padding: 20px 0;
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. margin-bottom: 15px;
  92. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  93. }
  94. .help-icon {
  95. width: 36px;
  96. height: 36px;
  97. margin-right: 10px;
  98. }
  99. .help-item text {
  100. font-size: 16px;
  101. color: #333;
  102. }
  103. .banner-section {
  104. width: 100%;
  105. margin-top: -10px; /* Pull banner up */
  106. margin-bottom: 20px;
  107. position: relative;
  108. z-index: 1;
  109. }
  110. .banner-img {
  111. width: 100%;
  112. border-radius: 12px;
  113. }