wctdreamlandwebsite-front/assets/scss/order.scss

441 lines
9.1 KiB
SCSS

.orderContent {
width: 1021px;
height: 604px;
background: url("https://cdn.star-linear.com/resource/dream/m/order_bg.png");
background-size: cover;
background-position: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding-top: 25px;
box-sizing: border-box;
z-index: 2;
.title {
// width: 701px;
// height: 135px;
// line-height: 135px;
color: #eeccae;
margin-bottom: 18px;
font-size: 36px;
margin-top: 54px;
text-align: center;
// color: #eeccae;
// text-shadow: 0px 0px 58px rgba(128, 80, 165, 0.85);
}
.typeList {
display: flex;
justify-content: center;
align-items: center;
position: relative;
height: 58px;
&::after {
width: 594px;
height: 1px;
content: "";
position: absolute;
bottom: -1px;
left: 50%;
transform: translateX(-50%);
background: url("@/assets/mask/type_line.png") center no-repeat;
background-size: contain;
}
.type_item {
font-size: 30px;
padding: 0 75.5px;
position: relative;
cursor: pointer;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
color: #eeccae;
-webkit-user-select: none;
-moz-user-focus: none;
-moz-user-select: none;
&:last-child {
&::after {
width: 2px;
height: 40px;
background-color: #fff9cc;
opacity: 0.33;
content: "";
position: absolute;
top: 50%;
left: 0px;
transform: translateY(-50%);
}
}
&.activeType {
&::before {
width: 240px;
height: 88px;
background: url("@/assets/mask/checked.png") center no-repeat;
background-size: contain;
content: "";
position: absolute;
top: 50%;
right: 17.5px;
transform: translateY(-50%);
}
}
}
}
.formData {
margin-top: 33px;
.formItem {
display: flex;
justify-content: flex-start;
align-items: flex-end;
margin-bottom: 30px;
padding-left: 230px;
box-sizing: border-box;
span,
input {
font-size: 30px;
font-family: "Noto Serif SC", serif;
color: #eeccae;
padding: 0;
outline: none;
border-style: none;
}
.label {
margin-right: 18px;
width: 126px;
text-align: right;
}
.code,
.tel {
box-sizing: border-box;
background: RGBA(175, 137, 169, 1);
border: 1px solid RGBA(249, 247, 249, 0.5);
padding: 18px 24px;
}
.tel {
width: 426px;
height: 60px;
}
.code {
width: 234px;
height: 59px;
margin-right: 24px;
}
.codeText {
position: relative;
cursor: pointer;
// width: 184px;
font-size: 28px;
border-bottom: 2px solid RGBA(230, 218, 197, 1);
// margin-right: 19px;
&.send {
border: none;
}
}
.tipsBox {
position: relative;
}
.error {
position: absolute;
left: 0;
bottom: 0%;
transform: translateY(100%);
font-size: 16px;
font-family: Noto Sans S Chinese;
color: #ffb0c1;
font-weight: bold;
}
}
}
.orderBtn {
width: 345px;
height: 133px;
background: url("@/assets/mask/mask_order.png") center no-repeat;
background-size: contain;
margin: -10px auto 0;
}
}
.close_btn {
width: 50px;
height: 50px;
position: absolute;
cursor: pointer;
top: 25px;
right: 0;
transform: translateX(-100%);
background: url("@/assets/mask/close.png") center no-repeat;
background-size: contain;
}
.success {
width: 1021px;
height: 419px;
background-size: cover;
background: url("https://cdn.star-linear.com/resource/dream/m/success_bg.png");
background-position: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding-top: 172px;
box-sizing: border-box;
text-align: center;
z-index: 22;
.successTitle {
font-size: 36px;
font-family: "Noto Serif SC", serif;
font-weight: bold;
color: #ffdcbd;
}
.successTxt {
font-size: 28px;
font-weight: 600;
}
.close_btn {
top: 57px;
right: 27px;
}
}
.color {
// background-image: -webkit-linear-gradient(
// bottom,
// #efefef,
// #f1d89b,
// rgba(149, 51, 42, 1)
// );
font-family: "Noto Serif SC", serif;
color: #eeccae;
font-weight: 600;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
}
.mobile {
width: 100%;
height: auto;
background: none;
position: relative;
// margin-top: 70px;
&::before {
position: absolute;
top: -23px;
left: 50%;
content: "";
background: url("@/assets/mobile/mask_top.png") center no-repeat;
background-size: contain;
width: 745px;
height: 46px;
transform: translate(-50%, -100%);
}
.title {
height: auto;
font-size: 40px;
text-align: center;
margin-bottom: 18px;
position: relative;
color: #eeccae;
line-height: normal;
&::after,
&::before {
width: 252px;
height: 107px;
content: "";
background: url("@/assets/mobile/mask_right.png");
background-size: contain;
background-position: center;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
&::before {
background: url("@/assets/mobile/mask_left.png");
background-size: contain;
background-position: center;
position: absolute;
left: 0;
}
}
.typeList {
margin-bottom: 54px;
.type_item {
font-size: 34px;
color: #eeccae;
&.activeType {
&::before {
width: 240px;
height: 88px;
background: url("@/assets/mask/checked.png") center no-repeat;
background-size: contain;
content: "";
position: absolute;
bottom: 0;
// right: 24.5px;
left: -46px;
}
}
}
}
.formData {
margin-bottom: 57px;
.formItem {
padding-left: 137px;
margin-bottom: 24px;
.tel {
width: 479px;
height: 66px;
}
.codeText {
position: relative;
font-size: 34px;
&.send {
border: none;
}
}
.error {
width: 649px;
height: 54px;
line-height: 54px;
text-align: center;
background: url("@/assets/mobile/error.png") center no-repeat;
background-size: contain;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: 2;
}
}
}
.orderBtn {
width: 387px;
height: 149px;
background: url("@/assets/mask/mask_order.png") center no-repeat;
background-size: contain;
position: relative;
margin: 0 auto;
&::after {
position: absolute;
bottom: -46px;
left: 50%;
content: "";
background: url("@/assets/mobile/mask_bottom.png") center no-repeat;
background-size: contain;
width: 745px;
height: 67px;
transform: translate(-50%, 100%);
}
}
.color {
// background-image: -webkit-linear-gradient(
// bottom,
// #efefef,
// #f1dfb5,
// #edb64a
// );
font-family: "Noto Serif SC", serif;
color: #eeccae;
font-weight: 600;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
}
.m_close_btn {
margin-left: auto;
margin-right: auto;
margin-top: 84px;
}
}
.bg {
.success {
background: none;
&::before {
position: absolute;
top: 0;
left: 50%;
content: "";
background: url("@/assets/mobile/mask_top.png") center no-repeat;
background-size: contain;
width: 745px;
height: 46px;
transform: translate(-50%, 0);
}
&::after {
position: absolute;
bottom: 0;
left: 50%;
content: "";
background: url("@/assets/mobile/mask_bottom.png") center no-repeat;
background-size: contain;
width: 745px;
height: 67px;
transform: translate(-50%, 0);
}
}
}
.success {
height: 600px;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
margin-top: 0px;
width: 100%;
background-repeat: no-repeat;
.successTitle {
font-size: 41px;
margin-bottom: 41px;
}
.successTxt {
font-size: 32px;
// word-wrap: break-word;
}
.m_close_btn {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, 100%);
}
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: #eeccae;
font-size: 25px;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
color: #eeccae;
font-size: 25px;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
color: #eeccae;
font-size: 25px;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
color: #eeccae;
font-size: 25px;
}