/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video, input { margin: 0; padding: 0; border: 0; font-size: 100%; font-weight: normal; vertical-align: baseline; } ::-webkit-input-placeholder {color: #3e3e3e;} /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, menu, nav, section { display: block; } body { line-height: 1; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: none; } table { border-collapse: collapse; border-spacing: 0; } /* custom */ a, a:link, a:visited, a:active { color: #7e8c8d; text-decoration: none; -webkit-backface-visibility: hidden; } input[type="button"] { -webkit-appearance: none; } li { list-style: none; } ::-webkit-scrollbar-track-piece { background-color: rgba(0, 0, 0, 0.2); -webkit-border-radius: 6px; } ::-webkit-scrollbar-thumb:vertical { height: 5px; background-color: rgba(125, 125, 125, 0.7); -webkit-border-radius: 6px; } ::-webkit-scrollbar-thumb:horizontal { width: 5px; background-color: rgba(125, 125, 125, 0.7); -webkit-border-radius: 6px; } html, body { width: 100%; } body { -webkit-text-size-adjust: none; -webkit-tap-highlight-color: transparent; } body { font-family: "PingFang SC", "Helvetica Neue", sans-serif; background-color: #fffcef; } img { max-width: 100%; display: block; } .logo { position: absolute; left: 0.4rem; top: 0.46667rem; width: 3.16rem; } .tel { position: absolute; right: 0.4rem; top: 0.46667rem; width: 2.4rem; } .banner-listen { z-index: 3; position: relative; width: 9.14667rem; margin: 2.13333rem auto 0; } .img1 { position: relative; z-index: 1; margin-top: -2.93333rem; } .form-wrap { -webkit-box-sizing: border-box; box-sizing: border-box; width: 9.28rem; height: 8.38667rem; margin: -1.2rem auto 0; padding: 1.70667rem 0.6rem 0 0.6rem; background: url(../images/form-bg@2x.png) no-repeat center center/cover; } .input-row { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-bottom: 0.26667rem; padding-left: 0.2rem; border: 1px solid #3e3e3e; color: #3e3e3e; font-size: 0.34667rem; background-color: #fff; } .input-row input, .input-row div { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; height: 0.96rem; line-height: 0.96rem; font-size: 0.34667rem; outline: none; } .submit { width: 3.6rem; margin: 0 auto; } #marquee { -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; padding-top: 0.24rem; padding-left: 0.32rem; width: 9.28rem; height: 3.29333rem; margin: 0.46667rem auto 0; overflow: hidden; background: url(../images/text-scroll@2x.png) no-repeat center center/cover; } .scroll-wrap { position: relative; overflow: hidden; height: 100%; } .text-scroll { width: 100%; min-height: 100%; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; } .text-scroll li { width: 100%; line-height: 0.8rem; height: 0.8rem; font-size: 0.42667rem; text-align: center; color: #e2e2e2; } .text-scroll li.active { color: #3e3e3e; font-size: 0.61333rem; } .img2 { margin-top: -0.93333rem; margin-bottom: -1.86667rem; } .topic { padding: 0 0.4rem; margin-bottom: 0.4rem; } .topic img { margin-bottom: 0.4rem; } .bot-img img { margin-top: 0.26667rem; } .mask { display: none; z-index: 99; position: fixed; left: 0; right: 0; top: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.8); } .dialog { display: none; position: fixed; z-index: 100; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 8.14667rem; } .dialog .close { position: absolute; right: 0; top: -0.8rem; width: 0.69333rem; } .footer { display: none; position: fixed; left: 0; right: 0; bottom: 0; -webkit-transform: translateZ(0); transform: translateZ(0); background-color: rgba(0, 0, 0, 0.6); text-align: center; padding: 0.26667rem 0; } .footer .btn-foot { width: 5.33333rem; padding: 0.16rem 0; background-color: #FF6674; color: white; font-size: 0.48rem; border: 0; border-radius: 0.4rem; } .select-input { position: relative; } .select-input:after { position: absolute; right: 0.32rem; top: 0.37333rem; content: ''; width: 0; height: 0; border-top: 0.2rem solid #000; border-left: 0.13333rem solid transparent; border-right: 0.13333rem solid transparent; border-bottom: 0.2rem solid transparent; } .mobileSelect { position: relative; z-index: 0; opacity: 0; visibility: hidden; -webkit-transition: opacity 0.4s, z-index 0.4s; transition: opacity 0.4s, z-index 0.4s; } .mobileSelect * { margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; } .mobileSelect .grayLayer { position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: #eee; background: rgba(0, 0, 0, 0.7); z-index: 888; display: block; } .mobileSelect .content { width: 100%; display: block; position: fixed; z-index: 889; color: black; -webkit-transition: all 0.4s; transition: all 0.4s; bottom: -350px; left: 0; background: white; } .mobileSelect .content .fixWidth { width: 90%; margin: 0 auto; position: relative; } .mobileSelect .content .fixWidth:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .mobileSelect .content .btnBar { border-bottom: 1px solid #DCDCDC; font-size: 15px; height: 45px; position: relative; text-align: center; line-height: 45px; background: #0a6134; } .mobileSelect .content .btnBar .cancel, .mobileSelect .content .btnBar .ensure { height: 45px; width: 55px; cursor: pointer; position: absolute; top: 0; } .mobileSelect .content .btnBar .cancel { left: 0; color: #fff; } .mobileSelect .content .btnBar .ensure { right: 0; color: #fff; } .mobileSelect .content .btnBar .title { font-size: 15px; padding: 0 15%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #fff; } .mobileSelect .content .panel:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .mobileSelect .content .panel .wheels { width: 100%; height: 200px; overflow: hidden; } .mobileSelect .content .panel .wheel { position: relative; z-index: 0; float: left; width: 50%; height: 200px; overflow: hidden; -webkit-transition: width 0.3s ease; transition: width 0.3s ease; } .mobileSelect .content .panel .wheel .selectContainer { display: block; text-align: center; -webkit-transition: -webkit-transform 0.18s ease-out; transition: -webkit-transform 0.18s ease-out; transition: transform 0.18s ease-out; transition: transform 0.18s ease-out, -webkit-transform 0.18s ease-out; } .mobileSelect .content .panel .wheel .selectContainer li { font-size: 15px; display: block; height: 40px; line-height: 40px; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .mobileSelect .content .panel .selectLine { height: 40px; width: 100%; position: absolute; top: 80px; pointer-events: none; -webkit-box-sizing: border-box; box-sizing: border-box; border-top: 1px solid #0a6134; border-bottom: 1px solid #0a6134; } .mobileSelect .content .panel .shadowMask { position: absolute; top: 0; width: 100%; height: 200px; background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(rgba(255, 255, 255, 0)), to(#ffffff)); background: -webkit-linear-gradient(top, #ffffff, rgba(255, 255, 255, 0), #ffffff); background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0), #ffffff); opacity: 0.9; pointer-events: none; } .mobileSelect-show { opacity: 1; z-index: 10000; visibility: visible; } .mobileSelect-show .content { bottom: 0; }