信达小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

236 lines
5.7 KiB

.page {
min-height: 100vh;
position: relative;
box-sizing: border-box;
background-color: rgba(255, 255, 255, 1);
.bg {
width: 100%;
height: 512rpx;
}
.page-container {
padding-bottom: 260rpx;
position: absolute;
width: 100%;
top: 0;
left: 0;
display: flex;
flex-direction: column;
.content {
padding: 40rpx 40rpx 0;
box-sizing: border-box;
border-radius: 24rpx;
.switch {
margin-bottom: 50rpx;
display: flex;
gap: 22rpx;
justify-content: center;
gap: 86rpx;
.item {
.icon-wrap {
background: rgba(255, 255, 255, 1);
border-radius: 24rpx 24rpx 24rpx 24rpx;
border: 1px solid rgba(255, 255, 255, 1);
text-align: center;
.icon {
display: block;
margin-bottom: -2px;
width: 186rpx;
height: 164rpx;
}
}
.name {
margin-top: 24rpx;
font-size: 32rpx;
color: rgba(173, 172, 178, 1);
text-align: center;
}
&.active {
.icon-wrap {
border-color: rgba(185, 130, 255, 1);
}
.name {
color: rgba(185, 130, 255, 1);
}
}
}
}
.row-title {
margin-top: 48rpx;
margin-bottom: 24rpx;
font-size: 32rpx;
font-weight: bold;
color: rgba(33, 29, 46, 1);
.sub {
font-size: 32rpx;
color: rgba(105, 104, 110, 1);
font-weight: normal;
}
}
.row {
margin-bottom: 40rpx;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 22rpx;
&.row-age {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.picker {
flex: 1;
padding: 24rpx 32rpx;
font-size: 28rpx;
color: #999999;
background: #f2f2f2;
border: 2rpx solid #cccccc;
border-radius: 24rpx;
.select {
display: flex;
justify-content: space-between;
align-items: center;
.icons {
display: flex;
align-items: center;
.required {
width: 12rpx;
height: 12rpx;
border-radius: 50%;
background: #e04775;
margin-right: 20rpx;
}
}
.select-content {
}
}
}
.input {
flex: 1;
padding: 24rpx 32rpx;
height: 40rpx;
font-size: 32rpx;
color: #333;
background: #f6f8f9;
border-radius: 116rpx;
}
.input-place {
color: rgba(173, 172, 178, 1);
}
.input-required {
display: flex;
justify-content: space-between;
align-items: center;
&::after {
flex-shrink: 0;
margin-right: 60rpx;
content: '';
width: 12rpx;
height: 12rpx;
border-radius: 50%;
background: rgba(185, 130, 255, 1);
}
}
.item {
flex: 1;
padding: 12rpx 62rpx;
opacity: 1;
border: 2rpx solid rgba(246, 248, 249, 1);
font-size: 32rpx;
color: rgba(173, 172, 178, 1);
display: flex;
align-items: center;
justify-content: center;
border-radius: 116rpx;
background: rgba(246, 248, 249, 1);
.icon {
width: 64rpx;
height: 64rpx;
}
&.active {
color: rgba(185, 130, 255, 1);
background: #FAF6FF;
border-color: rgba(185, 130, 255, 1);
}
}
.age-item {
margin-bottom: 24rpx;
width: 208rpx;
height: 88rpx;
white-space: nowrap;
font-size: 32rpx;
color: #999999;
display: flex;
align-items: center;
justify-content: center;
border-radius: 150rpx;
box-sizing: border-box;
border: 2rpx solid rgba(246, 248, 249, 1);
background-color: rgba(246, 248, 249, 1);
&.active {
color: rgba(185, 130, 255, 1);
border-color: rgba(185, 130, 255, 1);
background-color: #FAF6FF;
}
}
}
.tip {
margin-top: -24rpx;
margin-left: 46rpx;
font-size: 28rpx;
line-height: 40rpx;
color: rgba(185, 130, 255, 1);
}
}
}
.footer {
padding: 32rpx 40rpx 40rpx;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
box-sizing: border-box;
background-color: #fff;
box-shadow: 0 -10rpx 10rpx rgba(204, 204, 204, 0.1);
.next {
flex: 1;
text-align: center;
height: 88rpx;
line-height: 88rpx;
text-align: center;
border-radius: 100rpx;
font-size: 34rpx;
background: linear-gradient(197deg, #ffbcf9 0%, #b982ff 100%);
color: #fff;
}
.cancel {
margin-top: 48rpx;
font-size: 32rpx;
color: rgba(173, 172, 178, 1);
text-align: center;
}
}
}
.popup {
.popup-title {
display: flex;
justify-content: space-between;
padding: 20rpx 40rpx;
font-size: 32rpx;
.clsoe {
color: #7f7f7f;
}
.sure {
color: #22c065;
}
}
.popup-picker {
.picker-col {
padding: 10rpx 30rpx;
font-size: 28rpx;
line-height: 40rpx;
box-sizing: border-box;
display: flex;
align-items: center;
}
}
}