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

296 lines
4.8 KiB
Plaintext

.profile-settings-page {
background:
linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(247, 240, 232, 0.96)),
linear-gradient(135deg, rgba(89, 121, 102, 0.14), rgba(181, 134, 86, 0.12));
}
.page-heading {
display: flex;
flex-direction: column;
gap: 8rpx;
margin: 4rpx 0 22rpx;
}
.page-title {
color: #2f2a25;
font-size: 36rpx;
font-weight: 900;
line-height: 1.25;
}
.page-subtitle {
color: #8a796a;
font-size: 23rpx;
line-height: 1.4;
}
.loading-state {
padding: 48rpx 24rpx;
color: #7b7167;
text-align: center;
}
.portrait-card {
position: relative;
display: flex;
flex-direction: column;
gap: 28rpx;
min-width: 0;
margin-bottom: 26rpx;
padding: 30rpx;
overflow: hidden;
border-radius: 28rpx;
background:
linear-gradient(135deg, rgba(55, 79, 66, 0.96), rgba(175, 126, 83, 0.94)),
radial-gradient(circle at 18% 18%, rgba(255, 246, 224, 0.3), transparent 38%);
box-shadow: 0 22rpx 46rpx rgba(83, 64, 44, 0.18);
}
.portrait-glow {
position: absolute;
top: -82rpx;
right: -72rpx;
width: 220rpx;
height: 220rpx;
border: 1rpx solid rgba(255, 251, 238, 0.28);
border-radius: 50%;
}
.portrait-main {
position: relative;
z-index: 1;
display: flex;
align-items: center;
min-width: 0;
gap: 22rpx;
}
.portrait-avatar {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 132rpx;
height: 132rpx;
overflow: hidden;
border: 4rpx solid rgba(255, 253, 248, 0.78);
border-radius: 50%;
background: rgba(255, 253, 248, 0.18);
color: #fffdf8;
font-size: 28rpx;
font-weight: 900;
box-shadow: 0 16rpx 34rpx rgba(32, 25, 18, 0.18);
}
.portrait-avatar image {
width: 100%;
height: 100%;
}
.portrait-empty {
background: rgba(255, 253, 248, 0.2);
}
.portrait-copy {
min-width: 0;
color: #fffdf8;
}
.portrait-name,
.portrait-desc {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.portrait-name {
font-size: 38rpx;
font-weight: 900;
line-height: 1.25;
}
.portrait-desc {
margin-top: 10rpx;
font-size: 24rpx;
font-weight: 700;
line-height: 1.4;
opacity: 0.84;
}
.portrait-actions {
position: relative;
z-index: 1;
display: flex;
flex-wrap: wrap;
gap: 14rpx;
width: 100%;
min-width: 0;
}
.avatar-btn,
.avatar-remove {
display: flex;
align-items: center;
justify-content: center;
flex: 1 1 220rpx;
width: auto;
max-width: 100%;
min-height: 68rpx;
padding: 0 24rpx;
border-radius: 20rpx;
font-size: 25rpx;
font-weight: 900;
line-height: 1.2;
}
.avatar-btn {
background: #fff8ed;
color: #6d4d35;
}
.avatar-remove {
flex-grow: 0;
min-width: 150rpx;
background: rgba(255, 253, 248, 0.18);
color: #fffdf8;
}
.info-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16rpx;
margin-bottom: 24rpx;
}
.info-tile {
min-width: 0;
padding: 18rpx;
border: 1rpx solid rgba(50, 43, 34, 0.06);
border-radius: 20rpx;
background: #fffdf8;
box-shadow: 0 10rpx 28rpx rgba(58, 48, 34, 0.05);
}
.info-tile text,
.info-tile view {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.info-tile text {
color: #8a7f75;
font-size: 22rpx;
font-weight: 800;
line-height: 1.2;
}
.info-tile view {
margin-top: 10rpx;
color: #2c2722;
font-size: 25rpx;
font-weight: 900;
line-height: 1.2;
}
.form-card {
padding: 12rpx 0;
overflow: hidden;
}
.form-header {
display: flex;
flex-direction: column;
gap: 6rpx;
padding: 26rpx 26rpx 8rpx;
}
.form-kicker {
color: #92734f;
font-size: 22rpx;
font-weight: 900;
line-height: 1.2;
}
.form-title {
color: #8d8175;
font-size: 23rpx;
line-height: 1.35;
}
.profile-field {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 12rpx;
min-height: 130rpx;
padding: 20rpx 24rpx;
border-bottom: 1rpx solid #eee8df;
}
.profile-field:last-child {
border-bottom: 0;
}
.profile-field .field-label {
width: auto;
color: #62574d;
font-size: 25rpx;
font-weight: 900;
line-height: 1.2;
}
.profile-field input,
.profile-field textarea {
width: 100%;
min-height: 76rpx;
padding: 0 22rpx;
border: 1rpx solid #eadfd2;
border-radius: 18rpx;
background: #fff8f2;
color: #2d2722;
font-size: 28rpx;
line-height: 76rpx;
}
.profile-field textarea {
height: 150rpx;
padding-top: 18rpx;
padding-bottom: 18rpx;
line-height: 1.5;
}
.signature-field {
min-height: 218rpx;
}
@media (max-width: 340px) {
.portrait-main {
align-items: flex-start;
}
.portrait-avatar {
width: 112rpx;
height: 112rpx;
}
.portrait-actions {
flex-direction: column;
}
.avatar-btn,
.avatar-remove {
flex: 0 0 auto;
width: 100%;
min-width: 0;
}
.info-grid {
grid-template-columns: 1fr;
}
}