.page { min-height: 100vh; position: relative; box-sizing: border-box; background-color: #fff; .bg { width: 100%; } .page-container { padding-bottom: 180rpx; position: absolute; width: 100%; top: 0; left: 0; display: flex; flex-direction: column; .navbar { flex-shrink: 0; } .title { margin-top: 86rpx; font-size: 56rpx; color: #333333; font-weight: bold; text-align: center; } .content { margin: 86rpx auto 0; padding: 40rpx 64rpx 0; width: 654rpx; box-sizing: border-box; background: #ffffff; box-shadow: 0rpx 4rpx 24rpx 0rpx rgba(0, 0, 0, 0.09); border: 2rpx solid rgba(224, 71, 117, 0.25); border-radius: 24rpx; .switch { margin-bottom: 40rpx; display: flex; gap: 22rpx; justify-content: space-between; .item { padding: 19rpx 19rpx 16rpx; flex: 1; background: #f2f2f2; border-radius: 24rpx 24rpx 24rpx 24rpx; border: 1px solid #d2d2d2; text-align: center; .icon { width: 152rpx; height: 90rpx; } .name { margin-top: 12rpx; font-size: 28rpx; color: #999999; line-height: 32rpx; } &.active { background-color: #ffffff; border-color: #cf5375; .name { color: #cf5375; } } } } .divider { font-size: 24rpx; color: #aaaaaa; } .row { margin-bottom: 40rpx; display: flex; flex-wrap: wrap; justify-content: space-between; &.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: #f2f2f2; border: 2rpx solid #cccccc; border-radius: 24rpx; } .item { padding: 12rpx 24rpx; opacity: 1; border: 2rpx solid #cccccc; font-size: 28rpx; color: #999999; display: flex; align-items: center; justify-content: center; border-radius: 12rpx; background: linear-gradient(90deg, #fff 0%, #f9f9f9 100%); .icon { width: 64rpx; height: 64rpx; } &.active { color: #e04775; background: linear-gradient(90deg, #fff 0%, #f9f9f9 100%); border-color: #e04775; } } .input-required { display: flex; justify-content: space-between; align-items: center; &::after { margin-right: 60rpx; content: ''; width: 12rpx; height: 12rpx; border-radius: 50%; background: #e04775; } } .age-item { margin-bottom: 24rpx; width: 160rpx; height: 88rpx; white-space: nowrap; font-size: 28rpx; color: #999999; display: flex; align-items: center; justify-content: center; border-radius: 12rpx; box-sizing: border-box; border: 2rpx solid #d2d2d2; &.active { color: #e04775; border-color: #e04775; } } } .tip { margin-top: -26rpx; font-size: 24rpx; line-height: 40rpx; color: #cf5375; } } } .footer { position: fixed; left: 0; bottom: 40rpx; width: calc(100% - 96rpx); flex-shrink: 0; margin: 0 48rpx; box-sizing: border-box; display: flex; > view:not(:last-of-type), > image { margin-right: 30rpx; } .next { flex: 1; text-align: center; height: 88rpx; line-height: 88rpx; text-align: center; border: 2rpx solid #e04775; border-radius: 24rpx; font-size: 34rpx; font-weight: bold; background-color: #e04775; color: #fff; } } } .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; } } }