pay.less 3.9 KB

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