@media screen and (min-width: 768px) { body { background: #f7f7f7; } .main { .container { position: relative; background: #fff; padding: 48px 58px; margin-top: -117px; -webkit-box-sizing: border-box; box-sizing: border-box; .head { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: #505050; h3 { position: relative; font-size: 24px; font-weight: normal; padding-left: 48px; &::before { content: ''; display: block; width: 24px; height: 4px; background: #0688d2; position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } } ul > li { float: left; margin-right: 20px; & > a { display: block; font-size: 16px; } } } .cover { margin-top: 32px; img { display: block; width: 100%; } } .content { .form-title { padding: 40px 0; .title { font-size: 24px; } .line { width: 100%; height: 1px; margin-top: 18px; background: #e8e8e8; position: relative; &::before { content: ''; display: block; width: 32px; height: 2px; background: #0688d2; position: absolute; left: 0; bottom: 0; } } } .contact { margin-top: 80px; margin-bottom: 80px; .item { float: left; &:nth-child(1) { padding-right: 68px; } &:nth-child(2) { padding-left: 68px; padding-right: 68px; border-left: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8; } &:nth-child(3) { padding-left: 68px; } .label { font-size: 16px; color: #999999; } .text { font-size: 16px; font-weight: bold; margin-top: 16px; } } } .map { position: relative; width: 100%; height: 430px; background: #f7f7f7; .map-tip { position: absolute; z-index: 9; font-size: 14px; color: #fff; min-width: 228px; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 24px 16px; background: linear-gradient(156deg, #0688d2 0%, rgba(32, 155, 212, 0.7) 100%); border-radius: 8px; left: 0; bottom: 0; -webkit-transform: translate(-47%, -50px); transform: translate(-47%, -50px); line-height: 24px; &::after { position: absolute; left: 50%; bottom: 0; content: ''; width: 0; height: 0; border-style: solid; border-width: 12px 10px 0 10px; border-color: #0688d2 transparent transparent transparent; -webkit-transform: translate(-50%, 100%); transform: translate(-50%, 100%); opacity: 0.7; } } } .consult { margin-top: 80px; .form-item { &:nth-child(-n + 6) { .form-control { input { padding-left: 66px; } } } &:nth-child(7) { .form-control { input { padding-left: 80px; } } } &:nth-child(8) { .form-control { input { padding-left: 100px; } } } .form-control { position: relative; .form-label { position: absolute; left: 16px; top: 0; min-width: auto; color: #505050; } textarea::-webkit-input-placeholder { color: #999; } textarea::-moz-placeholder { color: #999; } textarea:-ms-input-placeholder { color: #999; } textarea::-ms-input-placeholder { color: #999; } textarea::placeholder { color: #999; } } } .form-submit { margin-top: 68px; button { width: 526px; } } } .title { font-size: 24px; margin: 40px 0 29px; } .collapse { .collapse-wrapper { overflow: hidden; } } .job-list { .job { margin-top: 24px; &.active { .name { background-color: #0688d2; color: #fff; background-image: url(/img/contact-icon-down.png); } } .name { line-height: 48px; padding: 0 16px; border: 1px solid #dedede; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; -webkit-transition: background-color 0.2s; transition: background-color 0.2s; background-repeat: no-repeat; background-position: 99% center; background-image: url(/img/contact-icon-up.png); background-color: #fff; } .requirements { font-size: 16px; line-height: 36px; padding: 16px; margin: 16px 0; } .link { padding: 0 16px; margin-bottom: 24px; a { font-size: 16px; color: #0688d2; } } } } } } } .footer { margin-top: 80px; } } @media screen and (max-width: 768px) { .main { .container { position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0 0.32rem; .head { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: #505050; margin-top: 0.4rem; h3 { position: relative; font-size: 0.34rem; font-weight: normal; padding-left: 0.48rem; &::before { content: ''; display: block; width: 0.24rem; height: 0.04rem; background: #0688d2; position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } } ul > li { float: left; margin-left: 0.56rem; & > a { display: block; font-size: 0.26rem; } } } .cover { margin-top: 0.16rem; img { display: block; width: 100%; } } .content { .form-title { padding: 40px 0; .title { font-size: 24px; } .line { width: 100%; height: 1px; margin-top: 18px; background: #e8e8e8; position: relative; &::before { content: ''; display: block; width: 32px; height: 2px; background: #0688d2; position: absolute; left: 0; bottom: 0; } } } .contact { margin-top: 0.4rem; margin-bottom: 1.2rem; .item { margin-bottom: 0.32rem; .label { font-size: 0.26rem; color: #999999; } .text { font-size: 0.26rem; font-weight: bold; margin-top: 0.08rem; } } } .map { position: relative; width: 7.5rem; height: 4.8rem; margin-left: -0.32rem; .map-tip { position: absolute; z-index: 9; font-size: 0.24rem; color: #fff; min-width: 2.28rem; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0.24rem; background: linear-gradient(156deg, #0688d2 0%, rgba(32, 155, 212, 0.7) 100%); border-radius: 0.12rem; left: 0; bottom: 0; -webkit-transform: translate(-47%, -50px); transform: translate(-47%, -50px); line-height: 0.4rem; &::after { position: absolute; left: 50%; bottom: 0; content: ''; width: 0; height: 0; border-style: solid; border-width: 0.12rem 0.1rem 0 0.1rem; border-color: #0688d2 transparent transparent transparent; -webkit-transform: translate(-50%, 100%); transform: translate(-50%, 100%); opacity: 0.7; } } } .consult { margin-top: 0.8rem; .form-item { .form-control { position: relative; .form-label { color: #505050; text-align: left; } &.select-group { display: block; } textarea::-webkit-input-placeholder { color: #999; } textarea::-moz-placeholder { color: #999; } textarea:-ms-input-placeholder { color: #999; } textarea::-ms-input-placeholder { color: #999; } textarea::placeholder { color: #999; } } } .form-submit { margin-top: 0.67rem; margin-bottom: 0.67rem; button { width: 6rem; font-size: 0.26rem; } } } .title { font-size: 0.32rem; margin: 0.4rem 0 0.24rem; } .collapse { .collapse-wrapper { overflow: hidden; } } &.join-form { margin-bottom: 0.8rem; } .job-list { padding-bottom: 1.2rem; .job { margin-top: 0.24rem; &.active { .name { background-color: #0688d2; color: #fff; background-image: url(/img/contact-icon-down.png); } } .name { line-height: 0.9rem; padding: 0 0.24rem; border: 0.01rem solid #dedede; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; -webkit-transition: background-color 0.2s; transition: background-color 0.2s; background-repeat: no-repeat; background-position: 96% center; background-size: 0.48rem; background-image: url(/img/contact-icon-up.png); background-color: #fff; font-size: 0.28rem; } .requirements { line-height: 0.48rem; padding: 0.16rem; margin: 0.16rem 0; p { font-size: 0.26rem; } } .link { padding: 0 0.16rem; margin-bottom: 0.24rem; a { display: block; font-size: 0.26rem; color: #0688d2; } } } } } } } .footer { margin-top: 0; } }