index.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. html,
  2. body {
  3. margin: 0;
  4. border: none;
  5. padding: 0;
  6. height: 100%;
  7. }
  8. .about_pic {
  9. display: block;
  10. width: 100%;
  11. }
  12. .buy_btn {
  13. width: 6.7rem;
  14. height: 1rem;
  15. position: fixed;
  16. left: 0;
  17. right: 0;
  18. margin: 0 auto;
  19. bottom: .5rem;
  20. border-radius: 1rem;
  21. overflow: hidden;
  22. display: flex;
  23. .left {
  24. width: 3.35rem;
  25. height: 1rem;
  26. background: #fcd758;
  27. display: flex;
  28. flex-direction: column;
  29. justify-content: center;
  30. align-items: center;
  31. font-size: .3rem;
  32. color: #995916;
  33. .top {
  34. margin-bottom: .1rem;
  35. }
  36. }
  37. .right {
  38. width: 3.35rem;
  39. height: 1rem;
  40. background: #ff6a67;
  41. line-height: 1rem;
  42. color: #fff;
  43. font-size: .4rem;
  44. text-align: center;
  45. }
  46. .none {
  47. background: #929292;
  48. }
  49. }
  50. .container {
  51. width: 100%;
  52. height: 100%;
  53. background: #eee;
  54. padding-top: 1rem;
  55. .input_box {
  56. width: 6.8rem;
  57. height: 3rem;
  58. border-radius: .1rem;
  59. margin: 0 auto;
  60. box-sizing: border-box;
  61. position: relative;
  62. .alert {
  63. font-size: .2rem;
  64. color: #f65d5d;
  65. margin-bottom: .1rem;
  66. }
  67. .mobile_input {
  68. width: 100%;
  69. height: 0.82rem;
  70. background: #fff;
  71. display: flex;
  72. flex-direction: row;
  73. align-items: center;
  74. margin-bottom: .16rem;
  75. input {
  76. width: 100%;
  77. height: 0.82rem;
  78. border: none;
  79. text-indent: .5rem;
  80. background: url(./img/mobile.png) no-repeat;
  81. background-size: .23rem .35rem;
  82. background-position: .15rem .23rem;
  83. ::placeholder {
  84. color: #b8b8b8;
  85. font-size: .28rem;
  86. }
  87. :focus {
  88. outline: none;
  89. border: none;
  90. }
  91. }
  92. }
  93. .sign_input {
  94. width: 3.98rem;
  95. height: 0.82rem;
  96. background: #fff;
  97. input {
  98. width: 100%;
  99. height: 0.82rem;
  100. border: none;
  101. text-indent: .5rem;
  102. background: url(./img/sign.png) no-repeat;
  103. background-size: .30rem .35rem;
  104. background-position: .15rem .23rem;
  105. ::placeholder {
  106. color: #b8b8b8;
  107. font-size: .28rem;
  108. }
  109. :focus {
  110. outline: none;
  111. border: none;
  112. }
  113. }
  114. }
  115. #sign_btn {
  116. width: 2.56rem;
  117. height: 0.82rem;
  118. background: #f65d5d;
  119. font-size: .28rem;
  120. line-height: .82rem;
  121. text-align: center;
  122. border-radius: .1rem;
  123. position: absolute;
  124. right: 0;
  125. top: 1.4rem;
  126. color: #fff;
  127. }
  128. }
  129. .info_box {
  130. width: 6.8rem;
  131. height: 2.2rem;
  132. border-radius: .1rem;
  133. margin: 0 auto;
  134. background: #fff;
  135. padding: .3rem;
  136. box-sizing: border-box;
  137. .head {
  138. font-size: .3rem;
  139. color: #1a1a1a;
  140. font-weight: 500;
  141. margin-bottom: .3rem;
  142. }
  143. .title_row,
  144. .discount_row {
  145. width: 100%;
  146. display: flex;
  147. justify-content: space-between;
  148. margin-bottom: .3rem;
  149. .title {
  150. font-size: .28rem;
  151. color: #676767;
  152. }
  153. .price {
  154. font-size: .28rem;
  155. color: #000;
  156. font-weight: 500;
  157. }
  158. }
  159. }
  160. .info_bottom {
  161. width: 6.8rem;
  162. height: 0.8rem;
  163. margin: 0 auto;
  164. background: #f8f8f8;
  165. display: flex;
  166. flex-direction: row-reverse;
  167. align-items: center;
  168. span {
  169. font-size: .3rem;
  170. color: #fd4141;
  171. margin-right: .3rem;
  172. }
  173. }
  174. #buy_btn {
  175. font-size: .3rem;
  176. color: #fff;
  177. background: #f65d5d;
  178. text-align: center;
  179. line-height: .82rem;
  180. width: 2.38rem;
  181. height: 0.82rem;
  182. border-radius: .1rem;
  183. position: absolute;
  184. bottom: .5rem;
  185. right: .6rem;
  186. }
  187. }
  188. .buy-dialog {
  189. width: 100%;
  190. height: 100%;
  191. background: rgba(0, 0, 0, .1);
  192. display: none;
  193. justify-content: center;
  194. align-items: center;
  195. position: absolute;
  196. top: 0;
  197. .box {
  198. width: 6.6rem;
  199. height: 6rem;
  200. background: rgba(255, 255, 255, 1);
  201. border-radius: .2rem;
  202. position: absolute;
  203. top: 3rem;
  204. left: 0;
  205. right: 0;
  206. margin: 0 auto;
  207. display: flex;
  208. flex-direction: column;
  209. align-items: center;
  210. .pay_icon {
  211. display: block;
  212. margin-top: 1.2rem;
  213. width: 1.9rem;
  214. height: 1.9rem;
  215. &.success {
  216. display: block;
  217. }
  218. &.bad {
  219. display: none;
  220. }
  221. }
  222. .pay_type {
  223. margin-top: .8rem;
  224. font-size: .36rem;
  225. color: #fc6168;
  226. }
  227. .pay_type_s {
  228. margin-top: .5rem;
  229. color: #999;
  230. font-size: .26rem;
  231. }
  232. }
  233. .close {
  234. width: 1.2rem;
  235. height: 1.2rem;
  236. position: absolute;
  237. left: 0;
  238. right: 0;
  239. margin: 0 auto;
  240. top: 10rem;
  241. overflow: hidden;
  242. z-index: 10;
  243. img {
  244. width: 100%;
  245. height: 100%;
  246. }
  247. }
  248. }