index.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. /**
  2. * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
  3. * http://cssreset.com
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video, input {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 100%;
  22. font-weight: normal;
  23. vertical-align: baseline;
  24. }
  25. ::-webkit-input-placeholder {color: #3e3e3e;}
  26. /* HTML5 display-role reset for older browsers */
  27. article, aside, details, figcaption, figure,
  28. footer, header, menu, nav, section {
  29. display: block;
  30. }
  31. body {
  32. line-height: 1;
  33. }
  34. blockquote, q {
  35. quotes: none;
  36. }
  37. blockquote:before, blockquote:after,
  38. q:before, q:after {
  39. content: none;
  40. }
  41. table {
  42. border-collapse: collapse;
  43. border-spacing: 0;
  44. }
  45. /* custom */
  46. a, a:link, a:visited, a:active {
  47. color: #7e8c8d;
  48. text-decoration: none;
  49. -webkit-backface-visibility: hidden;
  50. }
  51. input[type="button"] {
  52. -webkit-appearance: none;
  53. }
  54. li {
  55. list-style: none;
  56. }
  57. ::-webkit-scrollbar-track-piece {
  58. background-color: rgba(0, 0, 0, 0.2);
  59. -webkit-border-radius: 6px;
  60. }
  61. ::-webkit-scrollbar-thumb:vertical {
  62. height: 5px;
  63. background-color: rgba(125, 125, 125, 0.7);
  64. -webkit-border-radius: 6px;
  65. }
  66. ::-webkit-scrollbar-thumb:horizontal {
  67. width: 5px;
  68. background-color: rgba(125, 125, 125, 0.7);
  69. -webkit-border-radius: 6px;
  70. }
  71. html, body {
  72. width: 100%;
  73. }
  74. body {
  75. -webkit-text-size-adjust: none;
  76. -webkit-tap-highlight-color: transparent;
  77. }
  78. body {
  79. font-family: "PingFang SC", "Helvetica Neue", sans-serif;
  80. background-color: #fffcef;
  81. }
  82. img {
  83. max-width: 100%;
  84. display: block;
  85. }
  86. .logo {
  87. position: absolute;
  88. left: 0.4rem;
  89. top: 0.46667rem;
  90. width: 3.16rem;
  91. }
  92. .tel {
  93. position: absolute;
  94. right: 0.4rem;
  95. top: 0.46667rem;
  96. width: 2.4rem;
  97. }
  98. .banner-listen {
  99. z-index: 3;
  100. position: relative;
  101. width: 9.14667rem;
  102. margin: 2.13333rem auto 0;
  103. }
  104. .img1 {
  105. position: relative;
  106. z-index: 1;
  107. margin-top: -2.93333rem;
  108. }
  109. .form-wrap {
  110. -webkit-box-sizing: border-box;
  111. box-sizing: border-box;
  112. width: 9.28rem;
  113. height: 8.38667rem;
  114. margin: -1.2rem auto 0;
  115. padding: 1.70667rem 0.6rem 0 0.6rem;
  116. background: url(../images/form-bg@2x.png) no-repeat center center/cover;
  117. }
  118. .input-row {
  119. display: -webkit-box;
  120. display: -webkit-flex;
  121. display: flex;
  122. -webkit-box-align: center;
  123. -webkit-align-items: center;
  124. align-items: center;
  125. margin-bottom: 0.26667rem;
  126. padding-left: 0.2rem;
  127. border: 1px solid #3e3e3e;
  128. color: #3e3e3e;
  129. font-size: 0.34667rem;
  130. background-color: #fff;
  131. }
  132. .input-row input, .input-row div {
  133. -webkit-box-flex: 1;
  134. -webkit-flex: 1;
  135. flex: 1;
  136. height: 0.96rem;
  137. line-height: 0.96rem;
  138. font-size: 0.34667rem;
  139. outline: none;
  140. }
  141. .submit {
  142. width: 3.6rem;
  143. margin: 0 auto;
  144. }
  145. #marquee {
  146. -webkit-box-sizing: border-box;
  147. box-sizing: border-box;
  148. position: relative;
  149. padding-top: 0.24rem;
  150. padding-left: 0.32rem;
  151. width: 9.28rem;
  152. height: 3.29333rem;
  153. margin: 0.46667rem auto 0;
  154. overflow: hidden;
  155. background: url(../images/text-scroll@2x.png) no-repeat center center/cover;
  156. }
  157. .scroll-wrap {
  158. position: relative;
  159. overflow: hidden;
  160. height: 100%;
  161. }
  162. .text-scroll {
  163. width: 100%;
  164. min-height: 100%;
  165. display: -webkit-box;
  166. display: -webkit-flex;
  167. display: flex;
  168. -webkit-box-orient: vertical;
  169. -webkit-box-direction: normal;
  170. -webkit-flex-direction: column;
  171. flex-direction: column;
  172. -webkit-box-align: center;
  173. -webkit-align-items: center;
  174. align-items: center;
  175. -webkit-box-pack: center;
  176. -webkit-justify-content: center;
  177. justify-content: center;
  178. }
  179. .text-scroll li {
  180. width: 100%;
  181. line-height: 0.8rem;
  182. height: 0.8rem;
  183. font-size: 0.42667rem;
  184. text-align: center;
  185. color: #e2e2e2;
  186. }
  187. .text-scroll li.active {
  188. color: #3e3e3e;
  189. font-size: 0.61333rem;
  190. }
  191. .img2 {
  192. margin-top: -0.93333rem;
  193. margin-bottom: -1.86667rem;
  194. }
  195. .topic {
  196. padding: 0 0.4rem;
  197. margin-bottom: 0.4rem;
  198. }
  199. .topic img {
  200. margin-bottom: 0.4rem;
  201. }
  202. .bot-img img {
  203. margin-top: 0.26667rem;
  204. }
  205. .mask {
  206. display: none;
  207. z-index: 99;
  208. position: fixed;
  209. left: 0;
  210. right: 0;
  211. top: 0;
  212. bottom: 0;
  213. background-color: rgba(0, 0, 0, 0.8);
  214. }
  215. .dialog {
  216. display: none;
  217. position: fixed;
  218. z-index: 100;
  219. left: 50%;
  220. top: 50%;
  221. -webkit-transform: translate(-50%, -50%);
  222. transform: translate(-50%, -50%);
  223. width: 8.14667rem;
  224. }
  225. .dialog .close {
  226. position: absolute;
  227. right: 0;
  228. top: -0.8rem;
  229. width: 0.69333rem;
  230. }
  231. .footer {
  232. display: none;
  233. position: fixed;
  234. left: 0;
  235. right: 0;
  236. bottom: 0;
  237. -webkit-transform: translateZ(0);
  238. transform: translateZ(0);
  239. background-color: rgba(0, 0, 0, 0.6);
  240. text-align: center;
  241. padding: 0.26667rem 0;
  242. }
  243. .footer .btn-foot {
  244. width: 5.33333rem;
  245. padding: 0.16rem 0;
  246. background-color: #FF6674;
  247. color: white;
  248. font-size: 0.48rem;
  249. border: 0;
  250. border-radius: 0.4rem;
  251. }
  252. .select-input {
  253. position: relative;
  254. }
  255. .select-input:after {
  256. position: absolute;
  257. right: 0.32rem;
  258. top: 0.37333rem;
  259. content: '';
  260. width: 0;
  261. height: 0;
  262. border-top: 0.2rem solid #000;
  263. border-left: 0.13333rem solid transparent;
  264. border-right: 0.13333rem solid transparent;
  265. border-bottom: 0.2rem solid transparent;
  266. }
  267. .mobileSelect {
  268. position: relative;
  269. z-index: 0;
  270. opacity: 0;
  271. visibility: hidden;
  272. -webkit-transition: opacity 0.4s, z-index 0.4s;
  273. transition: opacity 0.4s, z-index 0.4s;
  274. }
  275. .mobileSelect * {
  276. margin: 0;
  277. padding: 0;
  278. -webkit-box-sizing: border-box;
  279. box-sizing: border-box;
  280. }
  281. .mobileSelect .grayLayer {
  282. position: fixed;
  283. top: 0;
  284. left: 0;
  285. bottom: 0;
  286. right: 0;
  287. background: #eee;
  288. background: rgba(0, 0, 0, 0.7);
  289. z-index: 888;
  290. display: block;
  291. }
  292. .mobileSelect .content {
  293. width: 100%;
  294. display: block;
  295. position: fixed;
  296. z-index: 889;
  297. color: black;
  298. -webkit-transition: all 0.4s;
  299. transition: all 0.4s;
  300. bottom: -350px;
  301. left: 0;
  302. background: white;
  303. }
  304. .mobileSelect .content .fixWidth {
  305. width: 90%;
  306. margin: 0 auto;
  307. position: relative;
  308. }
  309. .mobileSelect .content .fixWidth:after {
  310. content: ".";
  311. display: block;
  312. height: 0;
  313. clear: both;
  314. visibility: hidden;
  315. }
  316. .mobileSelect .content .btnBar {
  317. border-bottom: 1px solid #DCDCDC;
  318. font-size: 15px;
  319. height: 45px;
  320. position: relative;
  321. text-align: center;
  322. line-height: 45px;
  323. background: #0a6134;
  324. }
  325. .mobileSelect .content .btnBar .cancel,
  326. .mobileSelect .content .btnBar .ensure {
  327. height: 45px;
  328. width: 55px;
  329. cursor: pointer;
  330. position: absolute;
  331. top: 0;
  332. }
  333. .mobileSelect .content .btnBar .cancel {
  334. left: 0;
  335. color: #fff;
  336. }
  337. .mobileSelect .content .btnBar .ensure {
  338. right: 0;
  339. color: #fff;
  340. }
  341. .mobileSelect .content .btnBar .title {
  342. font-size: 15px;
  343. padding: 0 15%;
  344. overflow: hidden;
  345. white-space: nowrap;
  346. text-overflow: ellipsis;
  347. color: #fff;
  348. }
  349. .mobileSelect .content .panel:after {
  350. content: ".";
  351. display: block;
  352. height: 0;
  353. clear: both;
  354. visibility: hidden;
  355. }
  356. .mobileSelect .content .panel .wheels {
  357. width: 100%;
  358. height: 200px;
  359. overflow: hidden;
  360. }
  361. .mobileSelect .content .panel .wheel {
  362. position: relative;
  363. z-index: 0;
  364. float: left;
  365. width: 50%;
  366. height: 200px;
  367. overflow: hidden;
  368. -webkit-transition: width 0.3s ease;
  369. transition: width 0.3s ease;
  370. }
  371. .mobileSelect .content .panel .wheel .selectContainer {
  372. display: block;
  373. text-align: center;
  374. -webkit-transition: -webkit-transform 0.18s ease-out;
  375. transition: -webkit-transform 0.18s ease-out;
  376. transition: transform 0.18s ease-out;
  377. transition: transform 0.18s ease-out, -webkit-transform 0.18s ease-out;
  378. }
  379. .mobileSelect .content .panel .wheel .selectContainer li {
  380. font-size: 15px;
  381. display: block;
  382. height: 40px;
  383. line-height: 40px;
  384. cursor: pointer;
  385. overflow: hidden;
  386. white-space: nowrap;
  387. text-overflow: ellipsis;
  388. }
  389. .mobileSelect .content .panel .selectLine {
  390. height: 40px;
  391. width: 100%;
  392. position: absolute;
  393. top: 80px;
  394. pointer-events: none;
  395. -webkit-box-sizing: border-box;
  396. box-sizing: border-box;
  397. border-top: 1px solid #0a6134;
  398. border-bottom: 1px solid #0a6134;
  399. }
  400. .mobileSelect .content .panel .shadowMask {
  401. position: absolute;
  402. top: 0;
  403. width: 100%;
  404. height: 200px;
  405. background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(rgba(255, 255, 255, 0)), to(#ffffff));
  406. background: -webkit-linear-gradient(top, #ffffff, rgba(255, 255, 255, 0), #ffffff);
  407. background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0), #ffffff);
  408. opacity: 0.9;
  409. pointer-events: none;
  410. }
  411. .mobileSelect-show {
  412. opacity: 1;
  413. z-index: 10000;
  414. visibility: visible;
  415. }
  416. .mobileSelect-show .content {
  417. bottom: 0;
  418. }