166 lines
2.4 KiB
Plaintext
166 lines
2.4 KiB
Plaintext
page {
|
|
background-color: #FAF6F1;
|
|
}
|
|
|
|
.container {
|
|
min-height: 100vh;
|
|
padding: 24rpx 24rpx 200rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.form-card {
|
|
background: #FFFFFF;
|
|
border-radius: 20rpx;
|
|
padding: 8rpx 28rpx;
|
|
margin-bottom: 24rpx;
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.form-item {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 108rpx;
|
|
border-bottom: 1rpx solid #F3F4F6;
|
|
}
|
|
|
|
.form-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.form-item-remark {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
padding: 28rpx 0;
|
|
}
|
|
|
|
.form-label {
|
|
width: 160rpx;
|
|
flex-shrink: 0;
|
|
font-size: 28rpx;
|
|
color: #374151;
|
|
}
|
|
|
|
.required {
|
|
color: #EF4444;
|
|
margin-left: 4rpx;
|
|
}
|
|
|
|
.form-input {
|
|
flex: 1;
|
|
font-size: 28rpx;
|
|
color: #1F2937;
|
|
text-align: right;
|
|
}
|
|
|
|
.input-placeholder {
|
|
color: #C4C9D2;
|
|
}
|
|
|
|
.picker-value {
|
|
flex: 1;
|
|
font-size: 28rpx;
|
|
color: #1F2937;
|
|
text-align: right;
|
|
}
|
|
|
|
.picker-placeholder {
|
|
color: #C4C9D2;
|
|
}
|
|
|
|
/* 性别选择 */
|
|
.sex-wrap {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.sex-tag {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 120rpx;
|
|
height: 64rpx;
|
|
border-radius: 32rpx;
|
|
background: #F3F4F6;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.sex-tag-active {
|
|
background: #FDF8EE;
|
|
border: 2rpx solid #D4A853;
|
|
}
|
|
|
|
.sex-text {
|
|
font-size: 28rpx;
|
|
color: #6B7280;
|
|
}
|
|
|
|
.sex-tag-active .sex-text {
|
|
color: #D4A853;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 健康备注 */
|
|
.form-textarea {
|
|
width: 100%;
|
|
height: 160rpx;
|
|
margin-top: 16rpx;
|
|
font-size: 28rpx;
|
|
color: #1F2937;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.remark-count {
|
|
align-self: flex-end;
|
|
font-size: 22rpx;
|
|
color: #C4C9D2;
|
|
}
|
|
|
|
/* 隐私提示 */
|
|
.tips {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 12rpx;
|
|
}
|
|
|
|
.tips-text {
|
|
margin-left: 10rpx;
|
|
font-size: 24rpx;
|
|
color: #B0B7C3;
|
|
}
|
|
|
|
/* 底部固定保存按钮 */
|
|
.footer-bar {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 20rpx 24rpx calc(20rpx + env(safe-area-inset-bottom));
|
|
background: rgba(255, 255, 255, 0.96);
|
|
box-shadow: 0 -2rpx 16rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.submit-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 88rpx;
|
|
border-radius: 44rpx;
|
|
background: #D4A853;
|
|
}
|
|
|
|
.submit-btn:active {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.submit-btn-disabled {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.submit-btn-text {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #FFFFFF;
|
|
}
|