249 lines
3.9 KiB
SCSS
249 lines
3.9 KiB
SCSS
|
|
/* 字体 */
|
||
|
|
html,
|
||
|
|
body {
|
||
|
|
font-family: 'PingFangSC-Regular' !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.focusState {
|
||
|
|
position: absolute;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title-header {
|
||
|
|
width: 100%;
|
||
|
|
height: 1.787*74upx;
|
||
|
|
padding-top: 0.187*74upx;
|
||
|
|
background: #348cf2;
|
||
|
|
background-size: cover;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
box-sizing: border-box;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
position: absolute;
|
||
|
|
z-index: 99;
|
||
|
|
|
||
|
|
padding-top: 0.587*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder {
|
||
|
|
width: 100%;
|
||
|
|
height: 1.242*74upx;
|
||
|
|
background: #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-btn {
|
||
|
|
width: 2.24*74upx;
|
||
|
|
/* height: 0.467*74upx; */
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-btn img {
|
||
|
|
width: 0.24*74upx;
|
||
|
|
margin-left: 0.466667*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-header {
|
||
|
|
height: 0.666667*74upx;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-header h1 {
|
||
|
|
font-size: 0.48*74upx;
|
||
|
|
color: #fff;
|
||
|
|
height: 100%;
|
||
|
|
line-height: 0.666667*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-btn .right_btn {
|
||
|
|
width: 0.8*74upx;
|
||
|
|
height: 0.8*74upx;
|
||
|
|
float: right;
|
||
|
|
margin-right: 0.24*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.enla {
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
background: rgba(0, 0, 0, 0.5);
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.enla img {
|
||
|
|
width: 90%;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* iphone 6plus screen-width:414px */
|
||
|
|
@media only screen and (max-width: 768px) {
|
||
|
|
.title-header {
|
||
|
|
height: 1.787*74upx;
|
||
|
|
padding-top: 0.587*74upx;
|
||
|
|
|
||
|
|
height: 1.242*74upx;
|
||
|
|
padding-top: 0.012*74upx;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media only screen and (-webkit-device-pixel-ratio: 2) {
|
||
|
|
.title-header {
|
||
|
|
/*
|
||
|
|
height: 1.787*74upx;
|
||
|
|
padding-top: 0.587*74upx; */
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* @media only screen and (-webkit-device-pixel-ratio: 3) {
|
||
|
|
.title-header {
|
||
|
|
height: 2.374*74upx;
|
||
|
|
padding-top: 1.173*74upx;
|
||
|
|
|
||
|
|
}
|
||
|
|
} */
|
||
|
|
|
||
|
|
@media only screen and (width: 375px) and (height: 778px) and (-webkit-device-pixel-ratio: 3) {
|
||
|
|
.title-header {
|
||
|
|
height: 2.2*74upx;
|
||
|
|
padding-top: 1*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder {
|
||
|
|
width: 100%;
|
||
|
|
height: 2.2*74upx;
|
||
|
|
background: #348cf2;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media only screen and (width: 375px) and (height: 778px) and (-webkit-device-pixel-ratio: 2) {
|
||
|
|
.title-header {
|
||
|
|
height: 2.2*74upx;
|
||
|
|
padding-top: 1*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder {
|
||
|
|
width: 100%;
|
||
|
|
height: 2.2*74upx;
|
||
|
|
background: #348cf2;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
|
||
|
|
.title-header {
|
||
|
|
height: 2.2*74upx;
|
||
|
|
padding-top: 1*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder {
|
||
|
|
width: 100%;
|
||
|
|
height: 2.2*74upx;
|
||
|
|
background: #348cf2;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 加粗 */
|
||
|
|
.input_left {
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 提交按钮样式 */
|
||
|
|
.sub_btn0 {
|
||
|
|
height: 1.226667*74upx;
|
||
|
|
line-height: 1.226667*74upx;
|
||
|
|
text-align: center;
|
||
|
|
background: #7ae5bc;
|
||
|
|
font-size: 0.48*74upx;
|
||
|
|
/* position: fixed;
|
||
|
|
bottom: 0; */
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sub_btn0 span {
|
||
|
|
color: #ffffff;
|
||
|
|
opacity: 0.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sub_btn1 {
|
||
|
|
height: 1.226667*74upx;
|
||
|
|
line-height: 1.226667*74upx;
|
||
|
|
text-align: center;
|
||
|
|
background: #00c277;
|
||
|
|
|
||
|
|
font-size: 0.48*74upx;
|
||
|
|
position: absolute;
|
||
|
|
bottom: 0;
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sub_btns1 {
|
||
|
|
height: 1.226667*74upx;
|
||
|
|
line-height: 1.226667*74upx;
|
||
|
|
text-align: center;
|
||
|
|
background: #00c277;
|
||
|
|
|
||
|
|
font-size: 0.48*74upx;
|
||
|
|
/* position: absolute;
|
||
|
|
bottom: 0; */
|
||
|
|
width: 100%;
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sub_btn1 span {
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 提交按钮样式 */
|
||
|
|
.sub_btn2 {
|
||
|
|
height: 1.226667*74upx;
|
||
|
|
line-height: 1.226667*74upx;
|
||
|
|
text-align: center;
|
||
|
|
background: #7ae5bc;
|
||
|
|
|
||
|
|
font-size: 0.48*74upx;
|
||
|
|
position: absolute;
|
||
|
|
bottom: 0;
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sub_btn2 span {
|
||
|
|
color: #ffffff;
|
||
|
|
opacity: 0.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cen_area {
|
||
|
|
width: 94%;
|
||
|
|
/* height: 3*74upx; */
|
||
|
|
background-color: #fff;
|
||
|
|
margin: 0.3*74upx auto;
|
||
|
|
border-radius: 0.2*74upx;
|
||
|
|
padding: 0.3*74upx;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* new submit */
|
||
|
|
.sub_btn3 {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 0.3*74upx;
|
||
|
|
width: 90%;
|
||
|
|
height: 1.2*74upx;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 1.2*74upx;
|
||
|
|
color: #fff;
|
||
|
|
left: 50%;
|
||
|
|
transform: translateX(-50%);
|
||
|
|
font-size: 0.46*74upx;
|
||
|
|
border-radius: 0.2*74upx;
|
||
|
|
/* font-weight: 550; */
|
||
|
|
background-image: linear-gradient(to right, #5ACD9D, #02ADA5);
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-btn-right {
|
||
|
|
float: right;
|
||
|
|
margin-right: 0.3*74upx;
|
||
|
|
text-align: right;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-btn-right img {
|
||
|
|
width: 0.48*74upx;
|
||
|
|
}
|