style.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. html {
  2. height: 100%;
  3. }
  4. body {
  5. min-height: 100%;
  6. font-size: 14px;
  7. font-family: "PingFang SC", "Helvetica Neue", sans-serif;
  8. }
  9. img {
  10. max-width: 100%;
  11. }
  12. input {
  13. color: #666;
  14. outline: none;
  15. }
  16. ::-webkit-input-placeholder {
  17. color: #666;
  18. }
  19. #wrapper {
  20. position: relative;
  21. max-width: 750px;
  22. margin: 0 auto;
  23. padding-bottom: 104px;
  24. background: -webkit-linear-gradient(top, #b7edb0 0%, #fffcef 100%);
  25. }
  26. .logo {
  27. position: absolute;
  28. left: 16px;
  29. top: 10px;
  30. width: 72px;
  31. height: 38px;
  32. background: url("../images/logo@2x.png") no-repeat center center/100% auto;
  33. }
  34. .banner {
  35. max-width: 646px;
  36. width: 86%;
  37. margin: 0 auto;
  38. padding-top: 22px;
  39. text-align: center;
  40. }
  41. .form-wrap {
  42. position: relative;
  43. margin: 21px 0 0px;
  44. padding: 0 14px;
  45. }
  46. .trigle {
  47. position: absolute;
  48. left: 50%;
  49. margin-left: -27px;
  50. margin-top: -8px;
  51. width: 54px;
  52. height: 40px;
  53. background: url("../images/trigle@2x.png") no-repeat center center/contain;
  54. }
  55. .qiang {
  56. position: absolute;
  57. left: 50%;
  58. margin-left: -15px;
  59. top: -42px;
  60. -webkit-animation: scale .4s linear infinite alternate;
  61. animation: scale .4s linear infinite alternate;
  62. }
  63. @-webkit-keyframes scale {
  64. to {
  65. -webkit-transform: scale(1.4);
  66. transform: scale(1.4);
  67. }
  68. }
  69. @keyframes scale {
  70. to {
  71. -webkit-transform: scale(1.4);
  72. transform: scale(1.4);
  73. }
  74. }
  75. .myform {
  76. padding: 25px 40px 14px;
  77. background-color: #e4ffe0;
  78. -webkit-box-shadow: 0 1px 2px 0px #aaa;
  79. box-shadow: 0 1px 2px 0px #aaa;
  80. }
  81. .myform input {
  82. width: 100%;
  83. margin: 11px 0;
  84. padding: 8px 0 8px 10px;
  85. border: 1px solid #b6bbb5;
  86. }
  87. .btn-submit {
  88. width: 64%;
  89. height: 40px;
  90. margin: 15px auto 0;
  91. background: url("../images/button@2x.png") no-repeat center center/100% auto;
  92. }
  93. .letMeTry {
  94. position: relative;
  95. padding: 0 14px;
  96. margin-top: 64px;
  97. }
  98. .letMeTry .title {
  99. width: 198px !important;
  100. -webkit-transform: translateX(-50%) !important;
  101. -ms-transform: translateX(-50%) !important;
  102. transform: translateX(-50%) !important;
  103. }
  104. .section .title {
  105. z-index: 10;
  106. position: absolute;
  107. left: 50%;
  108. -webkit-transform: translateX(-50%);
  109. -ms-transform: translateX(-50%);
  110. transform: translateX(-50%);
  111. margin-top: -16px;
  112. width: 270px;
  113. height: 35px;
  114. background-color: #fff;
  115. font-size: 16px;
  116. text-align: center;
  117. line-height: 35px;
  118. border-radius: 10px;
  119. -webkit-box-shadow: 0 1px 2px 0px #aaa;
  120. box-shadow: 0 1px 2px 0px #aaa;
  121. color: #0a6134;
  122. text-overflow: ellipsis;
  123. overflow: hidden;
  124. white-space: nowrap;
  125. }
  126. .letMeTry ul {
  127. display: flex;
  128. justify-content: space-between;
  129. padding: 35px 5px 20px;
  130. border: 1px solid #fff;
  131. border-radius: 18px;
  132. }
  133. .letMeTry ul li {
  134. font-size: 0;
  135. text-align: center;
  136. }
  137. .letMeTry ul li img {
  138. width: 75px;
  139. }
  140. .letMeTry ul li img.arrow {
  141. width: 20px;
  142. padding-top: 30px;
  143. }
  144. .letMeTry p {
  145. margin-top: 20px;
  146. color: #0a6134;
  147. font-size: 13px;
  148. }
  149. .section {
  150. margin-top: 54px;
  151. padding: 0 14px;
  152. }
  153. footer {
  154. display: none;
  155. z-index: 100;
  156. position: fixed;
  157. -webkit-transform: translateZ(0);
  158. transform: translateZ(0);
  159. left: 0;
  160. right: 0;
  161. bottom: 0;
  162. padding: 10px 0;
  163. background-color: rgba(0, 0, 0, 0.5);
  164. }
  165. footer .btn-submit {
  166. margin: 0 auto;
  167. }
  168. .mask {
  169. display: none;
  170. z-index: 101;
  171. position: fixed;
  172. left: 0;
  173. right: 0;
  174. top: 0;
  175. bottom: 0;
  176. width: 100%;
  177. height: 100%;
  178. background-color: rgba(0, 0, 0, 0.7);
  179. }
  180. .dialog {
  181. display: none;
  182. z-index: 102;
  183. position: fixed;
  184. left: 0;
  185. right: 0;
  186. top: 0;
  187. bottom: 0;
  188. padding: 0 7%;
  189. }
  190. .dialog.show {
  191. display: block;
  192. }
  193. .dialog > img {
  194. position: fixed;
  195. left: 50%;
  196. top: 50%;
  197. width: 86%;
  198. transform: translate(-50%, -50%);
  199. }
  200. .btn-close {
  201. position: fixed;
  202. right: 7%;
  203. top: 12%;
  204. margin-bottom: 10px;
  205. width: 26px;
  206. height: 26px;
  207. background: url("../images/close@2x.png") no-repeat center center/100% auto;
  208. }
  209. .btn-invite {
  210. position: fixed;
  211. left: 50%;
  212. transform: translateX(-50%);
  213. bottom: 10%;
  214. width: 80%;
  215. height: 40px;
  216. margin-top: 30px;
  217. background: url("../images/btn-invite@2x.png") no-repeat center center/contain;
  218. }