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.
176 lines
2.7 KiB
176 lines
2.7 KiB
/* pages/admin-user-edit/admin-user-edit.wxss */
|
|
.page-container {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.scroll-container {
|
|
flex: 1;
|
|
}
|
|
|
|
.form-container {
|
|
padding: 30rpx;
|
|
padding-bottom: 100rpx;
|
|
}
|
|
|
|
.form-section {
|
|
background: white;
|
|
border-radius: 20rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
display: block;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
display: block;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
/* 头像部分 */
|
|
.avatar-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.avatar {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 50%;
|
|
margin-bottom: 30rpx;
|
|
border: 4rpx solid #f0f0f0;
|
|
}
|
|
|
|
.avatar-upload {
|
|
padding: 15rpx 40rpx;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border-radius: 50rpx;
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
/* 表单组 */
|
|
.form-group {
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.form-group:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.label {
|
|
display: block;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
margin-bottom: 15rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.input {
|
|
width: 100%;
|
|
height: 88rpx;
|
|
background: #f5f5f5;
|
|
border-radius: 15rpx;
|
|
padding: 0 25rpx;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input[disabled] {
|
|
background: #e0e0e0;
|
|
color: #999;
|
|
}
|
|
|
|
/* 选择器 */
|
|
.picker-input {
|
|
width: 100%;
|
|
height: 88rpx;
|
|
background: #f5f5f5;
|
|
border-radius: 15rpx;
|
|
padding: 0 25rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.picker-input .placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
.picker-arrow {
|
|
font-size: 32rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 提交按钮 */
|
|
.submit-section {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: white;
|
|
padding: 20rpx 30rpx;
|
|
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
|
border-top: 1rpx solid #e0e0e0;
|
|
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
height: 88rpx;
|
|
background: #ccc;
|
|
color: white;
|
|
border-radius: 50rpx;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
border: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.submit-btn.active {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
}
|
|
|
|
.submit-btn[disabled] {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* 加载状态 */
|
|
.loading-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.loading-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.loading-text {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
}
|
|
|