index.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. page {
  2. background-color: #F5F7FA;
  3. font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  4. }
  5. .container {
  6. padding: 16px;
  7. min-height: 100vh;
  8. box-sizing: border-box;
  9. }
  10. .header-title {
  11. text-align: center;
  12. font-size: 18px;
  13. font-weight: 500;
  14. color: #000;
  15. margin-bottom: 20px;
  16. margin-top: 10px;
  17. }
  18. .logo-section {
  19. display: flex;
  20. align-items: center;
  21. margin-bottom: 20px;
  22. justify-content: flex-start;
  23. }
  24. .logo-icon {
  25. width: 24px;
  26. height: 24px;
  27. margin-right: 8px;
  28. border-radius: 4px;
  29. }
  30. .logo-text {
  31. font-size: 20px;
  32. font-weight: 700;
  33. color: #1a1a2e;
  34. font-style: italic;
  35. }
  36. .input-section {
  37. width: 100%;
  38. background-color: #fff;
  39. border-radius: 12px;
  40. padding: 20px 16px;
  41. margin-bottom: 24px;
  42. box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  43. }
  44. .id-input {
  45. width: 100%;
  46. height: 48px;
  47. background-color: #F5F7FA;
  48. border-radius: 8px;
  49. padding: 0 16px;
  50. box-sizing: border-box;
  51. font-size: 16px;
  52. color: #333;
  53. text-align: center;
  54. }
  55. .recharge-section {
  56. margin-bottom: 32px;
  57. }
  58. .section-title {
  59. font-size: 14px;
  60. color: #666;
  61. margin-bottom: 12px;
  62. }
  63. .recharge-grid {
  64. display: flex;
  65. flex-wrap: wrap;
  66. justify-content: space-between;
  67. }
  68. .recharge-item {
  69. width: 31%;
  70. background-color: #fff;
  71. border-radius: 12px;
  72. padding: 16px 0;
  73. display: flex;
  74. flex-direction: column;
  75. align-items: center;
  76. border: 1px solid #eee;
  77. position: relative;
  78. overflow: hidden;
  79. margin-bottom: 10px;
  80. box-sizing: border-box;
  81. }
  82. .recharge-item.active {
  83. border-color: #7B68EE;
  84. background-color: #F8F6FF;
  85. }
  86. .coin-icon {
  87. margin-bottom: 8px;
  88. }
  89. .coin-img {
  90. width: 20px;
  91. height: 20px;
  92. }
  93. .amount {
  94. font-size: 20px;
  95. font-weight: bold;
  96. color: #333;
  97. margin-bottom: 4px;
  98. }
  99. .price {
  100. font-size: 14px;
  101. color: #666;
  102. }
  103. .action-section {
  104. width: 100%;
  105. padding: 12px;
  106. margin-bottom: 40px;
  107. }
  108. .login-btn {
  109. background: linear-gradient(90deg, #9F7FFF, #7B68EE);
  110. color: white;
  111. border: none;
  112. height: 48px;
  113. line-height: 48px;
  114. font-size: 16px;
  115. border-radius: 24px;
  116. margin-bottom: 12px;
  117. box-shadow: 0 4px 12px rgba(123, 104, 238, 0.3);
  118. }
  119. .agreement-text {
  120. text-align: center;
  121. font-size: 12px;
  122. color: #999;
  123. }
  124. .link {
  125. color: #7B68EE;
  126. }
  127. .tips-section {
  128. padding-bottom: 30px;
  129. }
  130. .tips-title {
  131. font-size: 16px;
  132. font-weight: 500;
  133. color: #333;
  134. margin-bottom: 12px;
  135. }
  136. .tips-content {
  137. font-size: 12px;
  138. color: #888;
  139. line-height: 1.8;
  140. }
  141. .tip-line {
  142. margin-bottom: 4px;
  143. }
  144. /* Popup Styles */
  145. .agreement-popup {
  146. height: 100%;
  147. display: flex;
  148. flex-direction: column;
  149. }
  150. .popup-header {
  151. padding: 16px;
  152. text-align: center;
  153. font-weight: bold;
  154. border-bottom: 1px solid #eee;
  155. position: relative;
  156. }
  157. .close-btn {
  158. position: absolute;
  159. right: 16px;
  160. top: 16px;
  161. font-size: 20px;
  162. color: #999;
  163. }
  164. .agreement-content {
  165. flex: 1;
  166. padding: 16px;
  167. overflow-y: auto;
  168. }