251 lines
4.2 KiB
Plaintext
251 lines
4.2 KiB
Plaintext
.profile-settings-page {
|
|
min-height: 100vh;
|
|
padding: 20rpx 24rpx 196rpx;
|
|
background:
|
|
linear-gradient(180deg, rgba(253, 249, 242, 0.98), rgba(248, 244, 237, 0.98)),
|
|
linear-gradient(135deg, rgba(116, 148, 130, 0.12), rgba(230, 205, 160, 0.1));
|
|
}
|
|
|
|
.loading-state {
|
|
padding: 56rpx 24rpx;
|
|
color: #7b7167;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-hero {
|
|
overflow: hidden;
|
|
margin-bottom: 28rpx;
|
|
border-radius: 8px;
|
|
background:
|
|
radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.72), transparent 32%),
|
|
linear-gradient(135deg, #eef8eb, #fffaf2);
|
|
box-shadow: 0 16rpx 40rpx rgba(77, 91, 72, 0.1);
|
|
}
|
|
|
|
.hero-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 26rpx;
|
|
min-width: 0;
|
|
padding: 42rpx 34rpx 30rpx;
|
|
}
|
|
|
|
.hero-avatar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 138rpx;
|
|
height: 138rpx;
|
|
overflow: hidden;
|
|
border: 4rpx solid rgba(255, 255, 255, 0.86);
|
|
border-radius: 50%;
|
|
background: #d8e8d9;
|
|
color: #5a8d68;
|
|
font-size: 26rpx;
|
|
font-weight: 900;
|
|
box-shadow: 0 12rpx 28rpx rgba(76, 105, 82, 0.14);
|
|
}
|
|
|
|
.hero-avatar image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.hero-copy {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14rpx;
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-title,
|
|
.hero-shop {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hero-title {
|
|
color: #25211d;
|
|
font-size: 34rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.role-badge {
|
|
flex: 0 0 auto;
|
|
padding: 6rpx 16rpx;
|
|
border-radius: 999rpx;
|
|
background: #dcefe0;
|
|
color: #4e8a61;
|
|
font-size: 21rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.hero-shop {
|
|
margin-top: 12rpx;
|
|
color: #67615a;
|
|
font-size: 26rpx;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.avatar-change-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: auto;
|
|
min-width: 150rpx;
|
|
min-height: 46rpx;
|
|
margin-top: 18rpx;
|
|
padding: 0 18rpx;
|
|
border-radius: 999rpx;
|
|
background: #dcefe0;
|
|
color: #4e8a61;
|
|
font-size: 22rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.avatar-remove {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: 74rpx;
|
|
border-top: 1rpx solid rgba(103, 131, 105, 0.1);
|
|
background: rgba(255, 255, 255, 0.56);
|
|
color: #9a6f62;
|
|
font-size: 25rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.info-card {
|
|
overflow: hidden;
|
|
margin-bottom: 28rpx;
|
|
padding-top: 20rpx;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
box-shadow: 0 12rpx 30rpx rgba(65, 54, 42, 0.06);
|
|
}
|
|
|
|
.card-title {
|
|
display: block;
|
|
padding: 0 28rpx 14rpx;
|
|
color: #302b26;
|
|
font-size: 28rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.profile-field,
|
|
.info-row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 96rpx;
|
|
padding: 0 28rpx;
|
|
border-top: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.profile-field {
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.field-label,
|
|
.row-label {
|
|
flex: 0 0 auto;
|
|
width: 178rpx;
|
|
color: #443e38;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.profile-field input,
|
|
.profile-field textarea,
|
|
.row-value {
|
|
flex: 1;
|
|
min-width: 0;
|
|
color: #302b26;
|
|
font-size: 27rpx;
|
|
line-height: 1.35;
|
|
text-align: right;
|
|
}
|
|
|
|
.profile-field input {
|
|
min-height: 80rpx;
|
|
}
|
|
|
|
.profile-field textarea {
|
|
height: 150rpx;
|
|
padding: 22rpx 0;
|
|
}
|
|
|
|
.signature-field {
|
|
align-items: flex-start;
|
|
min-height: 164rpx;
|
|
padding-top: 12rpx;
|
|
padding-bottom: 12rpx;
|
|
}
|
|
|
|
.row-value {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: #827a72;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fixed-bottom {
|
|
padding: 18rpx 34rpx calc(18rpx + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.primary-btn {
|
|
min-height: 82rpx;
|
|
border-radius: 8px;
|
|
background: #4f8b63;
|
|
box-shadow: 0 14rpx 28rpx rgba(79, 139, 99, 0.26);
|
|
}
|
|
|
|
@media (max-width: 340px) {
|
|
.hero-main {
|
|
align-items: flex-start;
|
|
gap: 18rpx;
|
|
padding: 32rpx 24rpx 26rpx;
|
|
}
|
|
|
|
.hero-avatar {
|
|
width: 112rpx;
|
|
height: 112rpx;
|
|
}
|
|
|
|
.profile-field,
|
|
.info-row {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 12rpx;
|
|
padding-top: 20rpx;
|
|
padding-bottom: 20rpx;
|
|
}
|
|
|
|
.field-label,
|
|
.row-label {
|
|
width: auto;
|
|
}
|
|
|
|
.profile-field input,
|
|
.profile-field textarea,
|
|
.row-value {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
}
|