116 lines
1.6 KiB
Plaintext
116 lines
1.6 KiB
Plaintext
/**add-person.wxss**/
|
|
.container {
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
padding-bottom: 120rpx;
|
|
}
|
|
|
|
.form {
|
|
padding: 32rpx;
|
|
}
|
|
|
|
.form-item {
|
|
background-color: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 32rpx;
|
|
margin-bottom: 24rpx;
|
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.label {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
margin-bottom: 24rpx;
|
|
display: block;
|
|
}
|
|
|
|
.label.required::after {
|
|
content: ' *';
|
|
color: #ff5722;
|
|
}
|
|
|
|
/* 头像上传 */
|
|
.avatar-upload {
|
|
text-align: center;
|
|
}
|
|
|
|
.avatar {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 50%;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.avatar-placeholder {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
margin: 0 auto;
|
|
border-radius: 50%;
|
|
background-color: #f5f5f5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px dashed #ddd;
|
|
}
|
|
|
|
.avatar-placeholder .icon {
|
|
font-size: 60rpx;
|
|
display: block;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.avatar-placeholder .text {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.input {
|
|
background-color: #f5f5f5;
|
|
border-radius: 8rpx;
|
|
padding: 24rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.textarea {
|
|
background-color: #f5f5f5;
|
|
border-radius: 8rpx;
|
|
padding: 24rpx;
|
|
font-size: 28rpx;
|
|
min-height: 160rpx;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
gap: 24rpx;
|
|
margin-top: 40rpx;
|
|
}
|
|
|
|
.btn {
|
|
flex: 1;
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
border-radius: 16rpx;
|
|
font-size: 32rpx;
|
|
border: none;
|
|
}
|
|
|
|
.btn-cancel {
|
|
background-color: #f5f5f5;
|
|
color: #666;
|
|
}
|
|
|
|
.btn-submit {
|
|
background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-cancel::after {
|
|
border: none;
|
|
}
|
|
|
|
.btn-submit::after {
|
|
border: none;
|
|
}
|
|
|