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.
334 lines
7.5 KiB
334 lines
7.5 KiB
.page { |
|
background-color: #fafafa; |
|
min-height: 100vh; |
|
.page-container { |
|
margin-top: 40rpx; |
|
.nav { |
|
margin: 0rpx 40rpx; |
|
padding: 16rpx 23rpx; |
|
background-color: #fff; |
|
border: 1px solid #dfe2e7; |
|
border-radius: 24rpx; |
|
box-shadow: 0rpx 4rpx 32rpx 10rpx #f2dee3; |
|
.nav-title { |
|
text-align: center; |
|
font-size: 28rpx; |
|
color: #999999; |
|
} |
|
.nav-wrap { |
|
display: flex; |
|
.nav-item { |
|
flex: 1; |
|
margin: 0 10rpx; |
|
height: 6rpx; |
|
background: #cf5375; |
|
opacity: 0.3; |
|
border-radius: 0rpx 0rpx 0rpx 0rpx; |
|
&.active { |
|
opacity: 1; |
|
} |
|
} |
|
} |
|
} |
|
.custom-class { |
|
position: absolute; |
|
width: 100%; |
|
} |
|
.van-enter-active-class, |
|
.van-leave-active-class { |
|
transition-property: background-color, transform; |
|
} |
|
|
|
.van-enter-class { |
|
transform: translateX(1000rpx); |
|
opacity: 0; |
|
} |
|
.van-leave-to-class { |
|
transform: translateX(-1000rpx); |
|
opacity: 0; |
|
} |
|
.swiper { |
|
height: 1400rpx; |
|
} |
|
.container { |
|
padding: 64rpx 48rpx; |
|
margin: 21rpx 40rpx 0; |
|
width: calc(100% - 172rpx); |
|
background-color: #fff; |
|
border: 1px solid #dfe2e7; |
|
border-radius: 24rpx; |
|
box-shadow: 0rpx 4rpx 32rpx 10rpx #f2dee3; |
|
.c-icon { |
|
display: block; |
|
margin: 0 auto; |
|
width: 144rpx; |
|
height: 144rpx; |
|
} |
|
.title { |
|
margin-top: 44rpx; |
|
font-size: 48rpx; |
|
color: #333333; |
|
font-weight: bold; |
|
text-align: center; |
|
} |
|
.en-title { |
|
margin-top: 10rpx; |
|
font-size: 24rpx; |
|
color: #cccccc; |
|
text-align: center; |
|
} |
|
.question { |
|
margin-top: 76rpx; |
|
.question-item { |
|
margin-bottom: 40rpx; |
|
padding: 24rpx 32rpx; |
|
display: flex; |
|
align-items: center; |
|
border-radius: 24rpx; |
|
background-color: #f2f2f2; |
|
.label { |
|
flex-shrink: 0; |
|
margin-right: 24rpx; |
|
width: 40rpx; |
|
height: 40rpx; |
|
border-radius: 50%; |
|
background: rgba(77, 77, 77, 0.07); |
|
.icon { |
|
margin: 11rpx 0 0 7rpx; |
|
display: none; |
|
width: 26rpx; |
|
height: 21rpx; |
|
} |
|
} |
|
.content { |
|
font-size: 32rpx; |
|
color: #666666; |
|
font-weight: bold; |
|
line-height: 48rpx; |
|
} |
|
&.active { |
|
background-color: #cf5375; |
|
.label { |
|
background-color: #ffffff; |
|
.icon { |
|
display: block; |
|
} |
|
} |
|
.content { |
|
color: #fefefe; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
.intense-dose { |
|
padding: 64rpx 48rpx; |
|
margin: 21rpx 40rpx 0; |
|
width: calc(100% - 172rpx); |
|
background-color: #fff; |
|
border: 1px solid #dfe2e7; |
|
border-radius: 24rpx; |
|
box-shadow: 0rpx 4rpx 32rpx 10rpx #f2dee3; |
|
.c-icon { |
|
display: block; |
|
margin: 0 auto; |
|
width: 144rpx; |
|
height: 144rpx; |
|
} |
|
.title { |
|
margin-top: 44rpx; |
|
font-size: 48rpx; |
|
color: #333333; |
|
font-weight: bold; |
|
text-align: center; |
|
} |
|
.en-title { |
|
margin-top: 10rpx; |
|
font-size: 24rpx; |
|
color: #cccccc; |
|
text-align: center; |
|
} |
|
.tip { |
|
margin: 28rpx auto 0; |
|
font-size: 28rpx; |
|
color: #333333; |
|
width: 502rpx; |
|
height: 74rpx; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
background: #f2f2f2; |
|
border-radius: 38rpx; |
|
} |
|
.wrap { |
|
margin-top: 40rpx; |
|
.w-title { |
|
font-size: 32rpx; |
|
color: #333333; |
|
font-weight: bold; |
|
text-align: center; |
|
} |
|
.w-num { |
|
margin-top: 20rpx; |
|
text-align: center; |
|
font-size: 72rpx; |
|
color: #333333; |
|
font-weight: bold; |
|
.sub { |
|
font-size: 36rpx; |
|
} |
|
} |
|
} |
|
.select { |
|
margin-top: 30rpx; |
|
display: flex; |
|
gap: 14rpx; |
|
.item { |
|
position: relative; |
|
flex-shrink: 0; |
|
padding: 20rpx 10rpx 8rpx; |
|
width: 64rpx; |
|
text-align: center; |
|
background: #f2f2f2; |
|
border-radius: 16rpx; |
|
display: flex; |
|
flex-direction: column; |
|
justify-content: space-between; |
|
align-items: center; |
|
.i-icon { |
|
width: 48rpx; |
|
height: 48rpx; |
|
} |
|
.input { |
|
font-size: 16rpx; |
|
line-height: 24rpx; |
|
height: 48rpx; |
|
overflow: hidden; |
|
color: #cccccc; |
|
} |
|
.name { |
|
font-size: 28rpx; |
|
color: #666666; |
|
} |
|
.i-active { |
|
position: absolute; |
|
right: -14rpx; |
|
top: -14rpx; |
|
width: 28rpx; |
|
height: 28rpx; |
|
background-color: #e04775; |
|
border-radius: 50%; |
|
color: #fff; |
|
font-size: 20rpx; |
|
} |
|
} |
|
} |
|
.s-tip { |
|
margin-top: 30rpx; |
|
font-size: 22rpx; |
|
color: #cccccc; |
|
} |
|
} |
|
.footer { |
|
position: fixed; |
|
bottom: 0; |
|
left: 0; |
|
width: 100%; |
|
padding: 20rpx 40rpx calc(env(safe-area-inset-bottom) + 20rpx); |
|
box-sizing: border-box; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
background-color: #fff; |
|
box-shadow: 0 -10rpx 10rpx #faf1f3; |
|
.prev { |
|
margin: 0 45rpx; |
|
display: flex; |
|
align-content: inherit; |
|
justify-content: center; |
|
.icon { |
|
margin-right: 20rpx; |
|
width: 56rpx; |
|
height: 56rpx; |
|
vertical-align: middle; |
|
} |
|
.name { |
|
font-size: 30rpx; |
|
line-height: 50rpx; |
|
color: #cf5375; |
|
font-weight: bold; |
|
} |
|
} |
|
.submit { |
|
flex: 1; |
|
height: 80rpx; |
|
background: #cf5375; |
|
border-radius: 24rpx 24rpx 24rpx 24rpx; |
|
text-align: center; |
|
line-height: 80rpx; |
|
font-size: 34rpx; |
|
color: #ffffff; |
|
font-weight: bold; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.popup { |
|
padding: 44rpx 40rpx; |
|
.p-title { |
|
font-size: 32rpx; |
|
color: #333333; |
|
font-weight: bold; |
|
} |
|
.input-wrap { |
|
margin-top: 28rpx; |
|
padding: 0 20rpx; |
|
display: flex; |
|
align-items: center; |
|
border-radius: 24rpx; |
|
border: 1rpx solid #d7d7d7; |
|
.input { |
|
flex: 1; |
|
height: 84rpx; |
|
font-size: 28rpx; |
|
} |
|
.sub { |
|
flex-shrink: 0; |
|
font-size: 28rpx; |
|
color: #cccccc; |
|
} |
|
} |
|
.p-footer { |
|
margin-top: 38rpx; |
|
padding: 0 24rpx; |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
.cancel { |
|
width: 294rpx; |
|
height: 80rpx; |
|
font-size: 34rpx; |
|
color: #cf5375; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
font-weight: bold; |
|
border-radius: 24rpx; |
|
border: 2rpx solid #cf5375; |
|
} |
|
.sure { |
|
width: 294rpx; |
|
height: 80rpx; |
|
font-size: 34rpx; |
|
color: #fff; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
font-weight: bold; |
|
border-radius: 24rpx; |
|
border: 2rpx solid #CF5375; |
|
background-color: #CF5375; |
|
} |
|
} |
|
}
|
|
|