index.less 6.1 KB

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