pay.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. .pay-wrap {
  2. flex-direction: column;
  3. .wrap-relative {
  4. flex: 1;
  5. flex-direction: column;
  6. }
  7. .wrap-fixed {
  8. flex-direction: column;
  9. .total-wrap {
  10. height: 120px;
  11. flex-shrink: 0;
  12. background-color: #fff;
  13. background-color: #fff;
  14. justify-content: space-between;
  15. align-items: center;
  16. padding: 28px 24px;
  17. }
  18. .total-cost {
  19. flex: 1;
  20. flex-direction: column;
  21. text {
  22. font-size: 30px;
  23. color: #666;
  24. font-weight: bold;
  25. }
  26. .notice {
  27. font-size: 24px;
  28. color: #999;
  29. font-weight: normal;
  30. }
  31. }
  32. .go-to-pay {
  33. font-size: 30px;
  34. font-weight: bold;
  35. color: #fff;
  36. border-radius: 6px;
  37. background-color: #ff6060;
  38. padding: 20px 40px;
  39. }
  40. }
  41. .top-user__wrap {
  42. flex-direction: column;
  43. padding: 0 24px 20px;
  44. margin: 24px 0;
  45. border-bottom: 20px solid #f7f7f7;
  46. .user-balance {
  47. margin-bottom: 10px;
  48. text {
  49. font-size: 30px;
  50. color: #333;
  51. }
  52. .balance {
  53. color: #ff6060;
  54. font-weight: bold;
  55. }
  56. }
  57. .chapter-cost {
  58. text {
  59. font-size: 24px;
  60. color: #666;
  61. }
  62. .cost {
  63. color: #ff6060;
  64. font-weight: bold;
  65. margin: 0 10px;
  66. }
  67. }
  68. }
  69. .charge-wrap {
  70. padding: 0 24px;
  71. flex-direction: column;
  72. .title {
  73. align-items: center;
  74. text {
  75. font-size: 30px;
  76. color: #333;
  77. }
  78. .border {
  79. width: 4px;
  80. height: 30px;
  81. border-radius: 4px;
  82. background-color: #ff6060;
  83. margin-right: 10px;
  84. }
  85. }
  86. .pay-type {
  87. justify-content: space-between;
  88. align-items: center;
  89. margin-top: 30px;
  90. &__item {
  91. width: 48%;
  92. height: 100px;
  93. justify-content: center;
  94. align-items: center;
  95. border: 2px solid #f7f7f7;
  96. border-radius: 6px;
  97. background-color: #f7f7f7;
  98. image {
  99. width: 70px;
  100. margin-right: 40px;
  101. }
  102. text {
  103. font-size: 30px;
  104. color: #666;
  105. }
  106. }
  107. &__item--cur {
  108. background-color: #fff;
  109. border-color: #ff393a;
  110. }
  111. }
  112. .recharge-list {
  113. margin-top: 30px;
  114. flex-direction: row;
  115. flex-wrap: wrap;
  116. justify-content: space-between;
  117. align-items: center;
  118. .recharge-item {
  119. flex-direction: column;
  120. justify-content: center;
  121. align-items: center;
  122. width: 340px;
  123. height: 180px;
  124. background-color: #f7f7f7;
  125. border-radius: 6px;
  126. border: 2px solid #f7f7f7;
  127. .price {
  128. font-size: 36px;
  129. color: #666;
  130. font-weight: bold;
  131. &__select {
  132. color: #ff393a;
  133. }
  134. }
  135. .send {
  136. font-size: 26px;
  137. color: #999;
  138. margin-bottom: 10px;
  139. &__select {
  140. color: #ff393a;
  141. }
  142. }
  143. .discount {
  144. border: 2px solid #ff9470;
  145. border-radius: 50px;
  146. background-color: #ff9470;
  147. image {
  148. width: 32px;
  149. height: 32px;
  150. margin: 0 10px;
  151. }
  152. text {
  153. font-size: 24px;
  154. color: #fff;
  155. padding: 0 10px;
  156. }
  157. .discount-num {
  158. color: #ff9470;
  159. background-color: #fff;
  160. border-radius: 50px;
  161. &__select {
  162. color: #ff393a;
  163. }
  164. }
  165. &__select {
  166. border-color: #ff393a;
  167. background-color: #ff393a;
  168. }
  169. }
  170. &__select {
  171. background-color: #fff5f6;
  172. border-color: #ff393a;
  173. }
  174. }
  175. }
  176. }
  177. .notice-wrap {
  178. flex-direction: column;
  179. padding: 0 24px;
  180. margin-top: 20px;
  181. text {
  182. font-size: 24px;
  183. color: #999;
  184. }
  185. .title {
  186. font-size: 26px;
  187. font-weight: bold;
  188. color: #333;
  189. }
  190. .notice-item {
  191. margin-top: 10px;
  192. }
  193. }
  194. .stack-wrap {
  195. margin-bottom: 30px;
  196. .recharge-recommend {
  197. width: 120px;
  198. height: 50px;
  199. position: absolute;
  200. right: 0;
  201. }
  202. }
  203. .loading-wrap {
  204. position: fixed;
  205. top: 0;
  206. bottom: 0;
  207. left: 0;
  208. right: 0;
  209. background-color: rgba(0, 0, 0, .6);
  210. justify-content: center;
  211. align-items: center;
  212. .loading-content {
  213. width: 300px;
  214. height: 100px;
  215. border-radius: 6px;
  216. background-color: #fff;
  217. flex-direction: column;
  218. justify-content: center;
  219. align-items: center;
  220. .loading-text {
  221. font-size: 26px;
  222. }
  223. }
  224. }
  225. }