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

240 lines
3.7 KiB
Plaintext

.shop-profile-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,
.form-title {
color: #8a796a;
font-size: 23rpx;
line-height: 1.4;
}
.loading-state {
padding: 48rpx 24rpx;
color: #7b7167;
text-align: center;
}
.edit-tip-card {
display: flex;
flex-direction: column;
gap: 8rpx;
margin-bottom: 20rpx;
padding: 22rpx 24rpx;
border-radius: 22rpx;
background: #fff0ed;
}
.edit-tip-title {
color: #3e312d;
font-size: 29rpx;
font-weight: 900;
}
.edit-tip-text {
color: #9f6c64;
font-size: 23rpx;
line-height: 1.55;
}
.cover-card {
position: relative;
height: 340rpx;
overflow: hidden;
border-radius: 28rpx;
background:
linear-gradient(135deg, rgba(73, 101, 85, 0.95), rgba(179, 131, 90, 0.95)),
radial-gradient(circle at 24% 22%, rgba(255, 245, 223, 0.28), transparent 36%);
box-shadow: 0 22rpx 46rpx rgba(83, 64, 44, 0.18);
}
.cover-preview,
.cover-preview image {
width: 100%;
height: 100%;
}
.cover-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10rpx;
color: rgba(255, 255, 255, 0.82);
}
.cover-empty-title {
font-size: 36rpx;
font-weight: 900;
}
.cover-empty-desc {
font-size: 23rpx;
font-weight: 600;
opacity: 0.86;
}
.cover-badge {
position: absolute;
top: 26rpx;
left: 28rpx;
z-index: 2;
padding: 8rpx 20rpx;
border-radius: 999rpx;
background: rgba(255, 244, 222, 0.88);
color: #5b4635;
font-size: 22rpx;
font-weight: 900;
}
.cover-actions {
position: absolute;
right: 28rpx;
bottom: 26rpx;
left: 28rpx;
display: flex;
gap: 12rpx;
}
.cover-btn,
.cover-remove {
display: flex;
align-items: center;
justify-content: center;
min-height: 64rpx;
padding: 0 20rpx;
border-radius: 20rpx;
font-size: 24rpx;
font-weight: 900;
}
.cover-btn {
flex: 1;
background: #fff8ed;
color: #6d4d35;
}
.cover-remove {
min-width: 150rpx;
background: rgba(255, 253, 248, 0.18);
color: #fffdf8;
}
.form-card {
margin-top: 24rpx;
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;
}
.field {
display: flex;
align-items: center;
min-height: 108rpx;
gap: 18rpx;
padding: 12rpx 24rpx;
border-bottom: 1rpx solid #eee8df;
}
.field:last-child {
border-bottom: 0;
}
.field-column {
align-items: stretch;
flex-direction: column;
gap: 12rpx;
min-height: 232rpx;
}
.field-label {
flex: 0 0 160rpx;
color: #625c55;
font-size: 26rpx;
font-weight: 700;
}
.field-column .field-label {
flex: 0 0 auto;
}
.field input,
.intro-editor {
flex: 1;
min-width: 0;
min-height: 70rpx;
padding: 0 22rpx;
border: 1rpx solid #eadfd2;
border-radius: 18rpx;
background: #fff8f2;
color: #3d3128;
font-size: 28rpx;
line-height: 70rpx;
}
.intro-editor {
position: relative;
width: 100%;
min-height: 156rpx;
padding: 18rpx 22rpx 42rpx;
line-height: 1.5;
}
.intro-editor textarea {
width: 100%;
height: 104rpx;
color: #3d3128;
font-size: 26rpx;
line-height: 1.5;
}
.intro-placeholder {
color: #b4a79b;
}
.intro-count {
position: absolute;
right: 22rpx;
bottom: 12rpx;
color: #b2a396;
font-size: 20rpx;
line-height: 1;
}
.fixed-bottom {
display: flex;
gap: 14rpx;
}
.bottom-half-btn {
flex: 1;
}