index.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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. .input_box {
  55. width: 6.8rem;
  56. height: 3rem;
  57. border-radius: .1rem;
  58. margin: 0 auto;
  59. box-sizing: border-box;
  60. position: relative;
  61. .alert {
  62. font-size: .2rem;
  63. color: #f65d5d;
  64. }
  65. .mobile_input {
  66. width: 100%;
  67. height: 0.82rem;
  68. background: #fff;
  69. display: flex;
  70. flex-direction: row;
  71. align-items: center;
  72. margin-bottom: .16rem;
  73. input {
  74. width: 100%;
  75. height: 0.82rem;
  76. border: none;
  77. text-indent: .5rem;
  78. background: url(./img/mobile.png) no-repeat;
  79. background-size: .23rem .35rem;
  80. background-position: .15rem .23rem;
  81. ::placeholder {
  82. color: #b8b8b8;
  83. font-size: .28rem;
  84. }
  85. :focus {
  86. outline: none;
  87. border: none;
  88. }
  89. }
  90. }
  91. .sign_input {
  92. width: 3.98rem;
  93. height: 0.82rem;
  94. background: #fff;
  95. input {
  96. width: 100%;
  97. height: 0.82rem;
  98. border: none;
  99. text-indent: .5rem;
  100. background: url(./img/sign.png) no-repeat;
  101. background-size: .30rem .35rem;
  102. background-position: .15rem .23rem;
  103. ::placeholder {
  104. color: #b8b8b8;
  105. font-size: .28rem;
  106. }
  107. :focus {
  108. outline: none;
  109. border: none;
  110. }
  111. }
  112. }
  113. #sign_btn {
  114. width: 2.56rem;
  115. height: 0.82rem;
  116. background: #f65d5d;
  117. font-size: .28rem;
  118. line-height: .82rem;
  119. text-align: center;
  120. border-radius: .1rem;
  121. position: absolute;
  122. right: 0;
  123. top: 1.3rem;
  124. color: #fff;
  125. }
  126. }
  127. .info_box {
  128. width: 6.8rem;
  129. height: 2.2rem;
  130. border-radius: .1rem;
  131. margin: 0 auto;
  132. background: #fff;
  133. padding: .3rem;
  134. box-sizing: border-box;
  135. .head {
  136. font-size: .3rem;
  137. color: #1a1a1a;
  138. font-weight: 500;
  139. margin-bottom: .3rem;
  140. }
  141. .title_row,
  142. .discount_row {
  143. width: 100%;
  144. display: flex;
  145. justify-content: space-between;
  146. margin-bottom: .3rem;
  147. .title {
  148. font-size: .28rem;
  149. color: #676767;
  150. }
  151. .price {
  152. font-size: .28rem;
  153. color: #000;
  154. font-weight: 500;
  155. }
  156. }
  157. }
  158. .info_bottom{
  159. width: 6.8rem;
  160. height: 0.8rem;
  161. margin: 0 auto;
  162. background: lightblue;
  163. display: flex;
  164. flex-direction: row-reverse;
  165. align-items: center;
  166. span{
  167. font-size: .3rem;
  168. color: #fd4141;
  169. margin-right: .3rem;
  170. }
  171. }
  172. #buy_btn{
  173. font-size: .3rem;
  174. color: #fff;
  175. background: #f65d5d;
  176. text-align: center;
  177. line-height: .82rem;
  178. width: 2.38rem;
  179. height: 0.82rem;
  180. border-radius: .1rem;
  181. position: absolute;
  182. bottom: 1rem;
  183. right: 0.8rem;
  184. }
  185. }
  186. .buy-dialog {
  187. width: 100%;
  188. height: 100%;
  189. background: rgba(0, 0, 0, .8);
  190. display: none;
  191. justify-content: center;
  192. align-items: center;
  193. position: absolute;
  194. top: 0;
  195. .box {
  196. width: 5.5rem;
  197. height: 3.54rem;
  198. background: rgba(255, 255, 255, 1);
  199. border-radius: .2rem;
  200. .title {
  201. width: 100%;
  202. height: 0.56rem;
  203. color: #434343;
  204. font-size: .4rem;
  205. text-align: center;
  206. margin-top: .63rem;
  207. }
  208. .bottom {
  209. width: 100%;
  210. display: flex;
  211. align-items: center;
  212. justify-content: space-around;
  213. margin-top: .98rem;
  214. .yes {
  215. width: 2.51rem;
  216. height: .84rem;
  217. background: rgba(245, 136, 13, 1);
  218. border-radius: .47rem;
  219. display: flex;
  220. align-items: center;
  221. justify-content: center;
  222. color: #fff;
  223. font-size: .36rem;
  224. }
  225. .no {
  226. width: 2.51rem;
  227. height: .84rem;
  228. background: rgba(61, 173, 254, 1);
  229. border-radius: .47rem;
  230. display: flex;
  231. align-items: center;
  232. text-align: center;
  233. color: #fff;
  234. font-size: .36rem;
  235. justify-content: center;
  236. }
  237. }
  238. }
  239. }