index.module.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. .spinWrap {
  2. :global {
  3. .n-spin-container {
  4. min-height: 280px;
  5. }
  6. }
  7. }
  8. .vipPurchaseModal {
  9. padding: 0 40px 32px;
  10. min-height: 280px;
  11. .subtitle {
  12. margin-top: 16px;
  13. padding: 12px 20px;
  14. font-size: 20px;
  15. color: #e6392b;
  16. text-align: center;
  17. line-height: 30px;
  18. font-weight: 600;
  19. background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  20. border-radius: 12px;
  21. border: 1px solid rgba(230, 57, 43, 0.15);
  22. }
  23. .packageList {
  24. margin-top: 28px;
  25. display: flex;
  26. flex-wrap: wrap;
  27. gap: 24px;
  28. margin-bottom: 32px;
  29. justify-content: center;
  30. }
  31. .packageItem {
  32. min-width: 280px;
  33. padding: 40px 32px;
  34. background: linear-gradient(180deg, #f8f9fc 0%, #f0f2f5 100%);
  35. border-radius: 20px;
  36. text-align: center;
  37. cursor: pointer;
  38. transition: all 0.25s ease;
  39. border: 3px solid transparent;
  40. box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  41. position: relative;
  42. overflow: hidden;
  43. &:hover {
  44. background: linear-gradient(180deg, #eaf5ff 0%, #d6eaff 100%);
  45. transform: translateY(-4px);
  46. box-shadow: 0 8px 24px rgba(25, 140, 254, 0.2);
  47. }
  48. &.selected {
  49. background: linear-gradient(135deg, #eaf5ff 0%, #c8e4ff 100%);
  50. border-color: #198cfe;
  51. box-shadow: 0 8px 32px rgba(25, 140, 254, 0.3);
  52. .packageName {
  53. color: #198cfe;
  54. }
  55. .priceAmount {
  56. color: #e6392b;
  57. }
  58. }
  59. }
  60. .packageName {
  61. font-size: 24px;
  62. color: #333;
  63. margin-bottom: 12px;
  64. font-weight: 600;
  65. letter-spacing: 0.5px;
  66. }
  67. .freeText {
  68. font-size: 14px;
  69. color: #ff6b00;
  70. background: linear-gradient(135deg, #fff7e6 0%, #ffedcc 100%);
  71. padding: 6px 14px;
  72. border-radius: 8px;
  73. margin-bottom: 16px;
  74. font-weight: 500;
  75. display: inline-block;
  76. min-height: 28px;
  77. visibility: visible;
  78. &:empty {
  79. visibility: hidden;
  80. background: transparent;
  81. }
  82. }
  83. .packagePrice {
  84. display: flex;
  85. flex-direction: row;
  86. align-items: baseline;
  87. gap: 8px;
  88. justify-content: center;
  89. }
  90. .originalPrice {
  91. font-size: 18px;
  92. color: #999;
  93. font-weight: 400;
  94. }
  95. .priceAmount {
  96. font-size: 36px;
  97. color: #ea4132;
  98. font-weight: 700;
  99. line-height: 1;
  100. display: inline-flex;
  101. align-items: baseline;
  102. &::before {
  103. content: '¥';
  104. font-size: 20px;
  105. font-weight: 600;
  106. margin-right: 2px;
  107. }
  108. }
  109. .btnGroup {
  110. padding-top: 16px;
  111. display: flex;
  112. justify-content: center;
  113. gap: 24px;
  114. :global {
  115. .n-button {
  116. height: 64px;
  117. width: 38%;
  118. font-size: 20px;
  119. font-weight: 600;
  120. border-radius: 32px;
  121. padding: 0 40px;
  122. &.n-button--default-type {
  123. background: #f5f6fa;
  124. color: #666;
  125. border: none;
  126. &:hover {
  127. background: #e8e9ed;
  128. color: #333;
  129. }
  130. }
  131. &.n-button--primary-type {
  132. background: linear-gradient(135deg, #198cfe 0%, #0d6efd 100%);
  133. box-shadow: 0 6px 20px rgba(25, 140, 254, 0.35);
  134. border: none;
  135. &:hover {
  136. background: linear-gradient(135deg, #1a9ffe 0%, #0b5ed7 100%);
  137. box-shadow: 0 8px 24px rgba(25, 140, 254, 0.45);
  138. }
  139. }
  140. }
  141. }
  142. }
  143. .qrCodeSection {
  144. padding-top: 12px;
  145. }
  146. .qrCodeTitle {
  147. font-size: 22px;
  148. font-weight: 600;
  149. color: #131415;
  150. text-align: center;
  151. margin-bottom: 24px;
  152. }
  153. .qrCodeWrap {
  154. display: flex;
  155. flex-direction: column;
  156. align-items: center;
  157. padding: 32px 24px;
  158. background: linear-gradient(180deg, #f8f9fc 0%, #eef0f5 100%);
  159. border-radius: 20px;
  160. margin-bottom: 28px;
  161. box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  162. border: 1px solid rgba(0, 0, 0, 0.04);
  163. }
  164. .payTip {
  165. font-size: 18px;
  166. color: #333;
  167. margin-top: 20px;
  168. text-align: center;
  169. font-weight: 500;
  170. }
  171. .orderInfo {
  172. font-size: 15px;
  173. color: #888;
  174. margin-top: 12px;
  175. padding: 10px 16px;
  176. background: rgba(255, 255, 255, 0.8);
  177. border-radius: 8px;
  178. border: 1px solid rgba(0, 0, 0, 0.06);
  179. }
  180. }