page { background-color: #f6f8f9; } .page { min-height: 100vh; position: relative; box-sizing: border-box; .bg { width: 100%; height: 512rpx; } .page-container { padding-bottom: 300rpx; position: absolute; width: 100%; top: 0; left: 0; display: flex; flex-direction: column; .container { margin: 0 30rpx; padding: 32rpx 32rpx 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 8.04%, #ffffff 100%); box-shadow: 0rpx 4rpx 24rpx 0rpx rgba(70, 67, 81, 0.04); border-radius: 24rpx 24rpx 24rpx 24rpx; border: 2rpx solid #ffffff; .step { display: flex; align-items: center; gap: 6rpx; .s-item { flex: 1; height: 16rpx; border-radius: 84rpx; background-color: #fff; &.active { background-color: #b982ff; } } } .content { padding: 40rpx 0 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: #f6f8f9; border-radius: 24rpx 24rpx 24rpx 24rpx; border: 1px solid transparent; text-align: center; .icon { display: block; margin-bottom: -2px; width: 186rpx; height: 164rpx; } } .name { margin-top: 24rpx; font-size: 32rpx; color: #211d2e; text-align: center; } &.active { .icon-wrap { border-color: rgba(185, 130, 255, 1); background-color: transparent; } .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; } .rt-content { margin-top: 8rpx; font-size: 28rpx; color: #adacb2; font-weight: normal; line-height: 52rpx; } &.required::before { content: '*'; font-size: 32rpx; color: #ef3939; vertical-align: top; } } .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: 16rpx; } .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: 20rpx; content: ''; width: 12rpx; height: 12rpx; border-radius: 50%; background: rgba(185, 130, 255, 1); } } .item { flex: 1; padding: 10rpx 62rpx; opacity: 1; font-size: 32rpx; color: rgba(173, 172, 178, 1); display: flex; align-items: center; justify-content: center; border-radius: 16rpx; background: rgba(246, 248, 249, 1); .icon { width: 64rpx; height: 64rpx; } &.active { color: rgba(185, 130, 255, 1); background: #faf6ff; } } .age-item { height: 84rpx; white-space: nowrap; font-size: 32rpx; color: #999999; display: flex; align-items: center; justify-content: center; border-radius: 16rpx; box-sizing: border-box; background-color: rgba(246, 248, 249, 1); &.active { color: rgba(185, 130, 255, 1); background-color: #faf6ff; } } } .row-sub { margin-top: 8rpx; font-size: 28rpx; color: #adacb2; } .tip { margin-top: -24rpx; margin-left: 32rpx; 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-upload { padding: 68rpx 36rpx 48rpx; width: 670rpx; box-sizing: border-box; border-radius: 24rpx; background: linear-gradient(180deg, #f1e6ff 0%, #ffffff 29.75%, #ffffff 100%); .title { font-size: 40rpx; color: #211d2e; font-weight: bold; text-align: center; } .content { margin-top: 16rpx; font-size: 32rpx; color: #211d2e; .high { color: #b982ff; } } .upload { width: 606rpx; height: 300rpx; .upload-container { margin-top: 28rpx; position: relative; width: 606rpx; height: 300rpx; border-radius: 16rpx; background: #f6f8f9; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; .upload-img { position: relative; width: 100%; height: 100%; .del { position: absolute; top: 0; right: 0; width: 40rpx; height: 40rpx; border-radius: 0 16rpx 0 16rpx; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; .d-icon { font-size: 28rpx; color: #fff; } } .img { display: block; width: 100%; height: 100%; } } .icon { display: block; width: 112rpx; height: 80rpx; } .tip { margin-top: 10rpx; font-size: 28rpx; color: #adacb2; } .name { margin-top: 28rpx; font-size: 28rpx; color: #adacb2; text-align: center; } } } .btn1 { margin-top: 32rpx; width: 606rpx; height: 88rpx; display: flex; align-items: center; justify-content: center; font-size: 32rpx; color: #ffffff; line-height: 48rpx; background: linear-gradient(344deg, #ffbcf9 0%, #b982ff 100%); border-radius: 100rpx 100rpx 100rpx 100rpx; } .btn2 { padding: 32rpx 0 0; font-size: 32rpx; color: #b982ff; text-align: center; } } .popup-upload-close { margin: 48rpx auto 0; display: block; width: 64rpx; height: 64rpx; }