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

238 lines
3.5 KiB
Plaintext

.cover-card {
position: relative;
height: 300rpx;
margin-bottom: 24rpx;
overflow: hidden;
border-radius: 22rpx;
background: linear-gradient(135deg, #7b9987, #c4996e);
box-shadow: 0 18rpx 36rpx rgba(83, 64, 44, 0.14);
}
.cover-preview,
.cover-preview image {
width: 100%;
height: 100%;
}
.cover-empty {
display: flex;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.82);
font-size: 34rpx;
font-weight: 900;
}
.cover-shade {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 20rpx;
padding: 28rpx;
background: linear-gradient(180deg, rgba(30, 24, 19, 0.08), rgba(30, 24, 19, 0.48));
}
.cover-copy {
min-width: 0;
color: #fffdf8;
}
.cover-title,
.cover-desc {
display: block;
}
.cover-title {
overflow: hidden;
font-size: 34rpx;
font-weight: 900;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.cover-desc {
margin-top: 8rpx;
font-size: 23rpx;
opacity: 0.9;
}
.cover-actions {
display: flex;
flex: 0 0 auto;
flex-direction: column;
gap: 10rpx;
}
.cover-btn,
.cover-remove {
display: flex;
align-items: center;
justify-content: center;
min-width: 154rpx;
min-height: 58rpx;
padding: 0 20rpx;
border-radius: 16rpx;
font-size: 24rpx;
font-weight: 900;
}
.cover-btn {
background: #fffdf8;
color: #72553b;
}
.cover-remove {
background: rgba(255, 253, 248, 0.18);
color: #fffdf8;
}
.form-card,
.rule-card {
padding: 10rpx 0;
overflow: hidden;
}
.field {
min-height: 108rpx;
padding: 12rpx 24rpx;
}
.field-label,
.label-with-help {
width: 180rpx;
min-width: 180rpx;
}
.field input,
.field-value {
min-height: 70rpx;
padding: 0 22rpx;
border: 1rpx solid #eadfd2;
border-radius: 18rpx;
background: #fffaf4;
line-height: 70rpx;
}
.label-with-help {
display: flex;
align-items: center;
}
.label-with-help .field-label {
min-width: 0;
}
.help-badge {
display: flex;
align-items: center;
justify-content: center;
width: 28rpx;
height: 28rpx;
margin-left: 8rpx;
border-radius: 50%;
background: #e5eee9;
color: #4e7165;
font-size: 20rpx;
font-weight: 800;
line-height: 28rpx;
}
.loading-state {
padding: 48rpx 24rpx;
color: #7b7167;
text-align: center;
}
.section {
margin-top: 24rpx;
}
.section-title {
margin: 0 0 16rpx;
color: #3f382f;
font-size: 30rpx;
font-weight: 800;
}
.rule-card {
display: flex;
flex-direction: column;
gap: 18rpx;
}
.preset-grid,
.weekday-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16rpx;
}
.weekday-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.preset-chip,
.weekday-chip {
min-height: 72rpx;
display: flex;
align-items: center;
justify-content: center;
border: 2rpx solid #e3ddd2;
border-radius: 12rpx;
background: #fffaf2;
color: #5f564c;
font-size: 24rpx;
font-weight: 700;
}
.preset-chip.active,
.weekday-chip.active {
border-color: #75a78e;
background: #e5f2eb;
color: #2f6b55;
}
.field-block {
display: flex;
flex-direction: column;
gap: 12rpx;
}
.field-title {
color: #6f665c;
font-size: 24rpx;
font-weight: 800;
}
.exception-btn {
width: 100%;
margin-top: 8rpx;
}
.exception-list {
display: flex;
flex-direction: column;
gap: 16rpx;
margin-top: 16rpx;
}
.exception-card {
display: flex;
flex-direction: column;
gap: 8rpx;
color: #3f382f;
font-size: 26rpx;
}
.exception-remark {
color: #7b7167;
font-size: 24rpx;
}