Files
JayuCloud/JY-Salon-WeChat/pages/profile-settings/index.wxss
T

251 lines
4.2 KiB
Plaintext
Raw Normal View History

2026-07-22 20:40:13 +08:00
.profile-settings-page {
2026-07-24 17:20:44 +08:00
min-height: 100vh;
padding: 20rpx 24rpx 196rpx;
2026-07-22 20:40:13 +08:00
background:
2026-07-24 17:20:44 +08:00
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));
2026-07-22 20:40:13 +08:00
}
.loading-state {
2026-07-24 17:20:44 +08:00
padding: 56rpx 24rpx;
2026-07-22 20:40:13 +08:00
color: #7b7167;
text-align: center;
}
2026-07-24 17:20:44 +08:00
.profile-hero {
2026-07-22 20:40:13 +08:00
overflow: hidden;
2026-07-24 17:20:44 +08:00
margin-bottom: 28rpx;
border-radius: 8px;
2026-07-22 20:40:13 +08:00
background:
2026-07-24 17:20:44 +08:00
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);
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-main {
2026-07-22 20:40:13 +08:00
display: flex;
align-items: center;
2026-07-24 17:20:44 +08:00
gap: 26rpx;
2026-07-22 20:40:13 +08:00
min-width: 0;
2026-07-24 17:20:44 +08:00
padding: 42rpx 34rpx 30rpx;
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-avatar {
2026-07-22 20:40:13 +08:00
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
2026-07-24 17:20:44 +08:00
width: 138rpx;
height: 138rpx;
2026-07-22 20:40:13 +08:00
overflow: hidden;
2026-07-24 17:20:44 +08:00
border: 4rpx solid rgba(255, 255, 255, 0.86);
2026-07-22 20:40:13 +08:00
border-radius: 50%;
2026-07-24 17:20:44 +08:00
background: #d8e8d9;
color: #5a8d68;
font-size: 26rpx;
2026-07-22 20:40:13 +08:00
font-weight: 900;
2026-07-24 17:20:44 +08:00
box-shadow: 0 12rpx 28rpx rgba(76, 105, 82, 0.14);
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-avatar image {
2026-07-22 20:40:13 +08:00
width: 100%;
height: 100%;
}
2026-07-24 17:20:44 +08:00
.hero-copy {
flex: 1;
2026-07-22 20:40:13 +08:00
min-width: 0;
}
2026-07-24 17:20:44 +08:00
.hero-title-row {
display: flex;
align-items: center;
gap: 14rpx;
min-width: 0;
}
.hero-title,
.hero-shop {
2026-07-22 20:40:13 +08:00
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2026-07-24 17:20:44 +08:00
.hero-title {
color: #25211d;
font-size: 34rpx;
2026-07-22 20:40:13 +08:00
font-weight: 900;
2026-07-24 17:20:44 +08:00
line-height: 1.2;
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.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;
2026-07-22 20:40:13 +08:00
font-weight: 700;
2026-07-24 17:20:44 +08:00
line-height: 1.2;
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.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;
2026-07-22 20:40:13 +08:00
}
.avatar-remove {
display: flex;
align-items: center;
justify-content: center;
2026-07-24 17:20:44 +08:00
width: 100%;
min-height: 74rpx;
border-top: 1rpx solid rgba(103, 131, 105, 0.1);
background: rgba(255, 255, 255, 0.56);
color: #9a6f62;
2026-07-22 20:40:13 +08:00
font-size: 25rpx;
2026-07-24 17:20:44 +08:00
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;
2026-07-22 20:40:13 +08:00
font-weight: 900;
line-height: 1.2;
}
2026-07-24 17:20:44 +08:00
.profile-field,
.info-row {
display: flex;
align-items: center;
min-height: 96rpx;
padding: 0 28rpx;
border-top: 1rpx solid #eee8df;
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.profile-field {
gap: 20rpx;
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.field-label,
.row-label {
flex: 0 0 auto;
width: 178rpx;
color: #443e38;
font-size: 26rpx;
2026-07-22 20:40:13 +08:00
font-weight: 800;
line-height: 1.2;
}
.profile-field input,
2026-07-24 17:20:44 +08:00
.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;
2026-07-22 20:40:13 +08:00
}
.profile-field textarea {
height: 150rpx;
2026-07-24 17:20:44 +08:00
padding: 22rpx 0;
2026-07-22 20:40:13 +08:00
}
.signature-field {
2026-07-24 17:20:44 +08:00
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);
2026-07-22 20:40:13 +08:00
}
@media (max-width: 340px) {
2026-07-24 17:20:44 +08:00
.hero-main {
2026-07-22 20:40:13 +08:00
align-items: flex-start;
2026-07-24 17:20:44 +08:00
gap: 18rpx;
padding: 32rpx 24rpx 26rpx;
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-avatar {
2026-07-22 20:40:13 +08:00
width: 112rpx;
height: 112rpx;
}
2026-07-24 17:20:44 +08:00
.profile-field,
.info-row {
align-items: flex-start;
2026-07-22 20:40:13 +08:00
flex-direction: column;
2026-07-24 17:20:44 +08:00
gap: 12rpx;
padding-top: 20rpx;
padding-bottom: 20rpx;
2026-07-22 20:40:13 +08:00
}
2026-07-24 17:20:44 +08:00
.field-label,
.row-label {
width: auto;
}
.profile-field input,
.profile-field textarea,
.row-value {
2026-07-22 20:40:13 +08:00
width: 100%;
2026-07-24 17:20:44 +08:00
text-align: left;
2026-07-22 20:40:13 +08:00
}
}