581 lines
10 KiB
Plaintext
581 lines
10 KiB
Plaintext
.backfill-page {
|
|
padding-top: 24rpx;
|
|
padding-bottom: 220rpx;
|
|
background: #f3f7f4;
|
|
color: #17211f;
|
|
}
|
|
|
|
.backfill-hero {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 18rpx;
|
|
margin: 0 0 30rpx;
|
|
}
|
|
|
|
.backfill-hero-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.backfill-eyebrow {
|
|
color: #247b63;
|
|
font-size: 22rpx;
|
|
font-weight: 800;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.backfill-title {
|
|
margin-top: 6rpx;
|
|
color: #17211f;
|
|
font-size: 52rpx;
|
|
font-weight: 900;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.backfill-date-pill {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
min-height: 58rpx;
|
|
padding: 0 16rpx;
|
|
border: 2rpx solid #e7ece9;
|
|
border-radius: 26rpx;
|
|
background: #fff;
|
|
color: #52645d;
|
|
font-size: 22rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.date-pill-icon {
|
|
color: #247b63;
|
|
font-size: 25rpx;
|
|
}
|
|
|
|
.backfill-page .backfill-card {
|
|
margin-bottom: 24rpx;
|
|
padding: 28rpx 30rpx 24rpx;
|
|
border: 2rpx solid #e7ece9;
|
|
border-radius: 38rpx;
|
|
background: #fff;
|
|
box-shadow: 0 8rpx 26rpx rgba(41, 73, 62, 0.04);
|
|
}
|
|
|
|
.backfill-page .section-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
margin: 0 0 20rpx;
|
|
}
|
|
|
|
.section-title-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.section-title-main,
|
|
.section-caption {
|
|
display: block;
|
|
}
|
|
|
|
.section-title-main {
|
|
color: #17211f;
|
|
font-size: 30rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.section-caption {
|
|
margin-top: 5rpx;
|
|
color: #71807a;
|
|
font-size: 21rpx;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.required-mark {
|
|
margin-left: 5rpx;
|
|
color: #e98669;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.field-card {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 124rpx;
|
|
align-items: center;
|
|
gap: 22rpx;
|
|
padding: 20rpx 22rpx;
|
|
border: 2rpx dashed #cbdcd5;
|
|
border-radius: 30rpx;
|
|
background: #fbfdfc;
|
|
text-align: left;
|
|
line-height: 1.35;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
button.full{
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin: 0; /* 清除小程序button自带左右margin */
|
|
}
|
|
.backfill-field-card {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 124rpx;
|
|
align-items: center;
|
|
gap: 22rpx;
|
|
margin: 0;
|
|
padding: 20rpx 22rpx;
|
|
border: 2rpx dashed #cbdcd5;
|
|
border-radius: 30rpx;
|
|
background: #fbfdfc;
|
|
text-align: left;
|
|
line-height: 1.35;
|
|
}
|
|
button.full{
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin: 0; /* 清除小程序button自带左右margin */
|
|
}
|
|
.backfill-page .field-icon {
|
|
display: flex;
|
|
width: 76rpx;
|
|
height: 76rpx;
|
|
flex: 0 0 76rpx;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 24rpx;
|
|
background: #e5f4ed;
|
|
color: #247b63;
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.style-entry-image {
|
|
object-fit: cover;
|
|
}
|
|
|
|
.field-text {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.field-label {
|
|
width: auto;
|
|
color: #71807a;
|
|
font-size: 21rpx;
|
|
font-weight: 600;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.field-label.required::after {
|
|
content: " *";
|
|
color: #e98669;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.field-value {
|
|
display: block;
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
margin-top: 5rpx;
|
|
overflow: hidden;
|
|
color: #17211f;
|
|
font-size: 27rpx;
|
|
font-weight: 800;
|
|
line-height: 1.35;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.field-value.placeholder {
|
|
color: #9aa9a3;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.field-meta {
|
|
display: block;
|
|
margin-top: 5rpx;
|
|
color: #71807a;
|
|
font-size: 20rpx;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.chevron {
|
|
flex: 0 0 auto;
|
|
color: #91a29a;
|
|
font-size: 40rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.backfill-amount-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.backfill-amount-field > .field-label {
|
|
color: #52645d;
|
|
font-size: 21rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.number-input-wrap {
|
|
display: flex;
|
|
height: 82rpx;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
padding: 0 18rpx;
|
|
border: 2rpx solid #dce6e1;
|
|
border-radius: 24rpx;
|
|
background: #fbfdfc;
|
|
}
|
|
|
|
.number-input-wrap input {
|
|
min-width: 0;
|
|
height: 78rpx;
|
|
flex: 1;
|
|
color: #17211f;
|
|
font-size: 25rpx;
|
|
font-weight: 700;
|
|
text-align: left;
|
|
}
|
|
|
|
.number-unit {
|
|
color: #71807a;
|
|
font-size: 20rpx;
|
|
}
|
|
|
|
.style-hint {
|
|
display: block;
|
|
padding-top: 18rpx;
|
|
color: #82928a;
|
|
font-size: 20rpx;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.service-info-section .backfill-picker-field {
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
.service-info-section .backfill-picker-field.first {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.service-info-section .service-artist-field {
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
.backfill-remark-field {
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.backfill-remark-field textarea {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-height: 132rpx;
|
|
margin-top: 10rpx;
|
|
padding: 16rpx 20rpx;
|
|
border: 2rpx solid #dce6e1;
|
|
border-radius: 24rpx;
|
|
background: #fbfdfc;
|
|
color: #17211f;
|
|
font-size: 23rpx;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.status-segment {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12rpx;
|
|
padding: 8rpx;
|
|
border-radius: 26rpx;
|
|
background: #f1f5f3;
|
|
}
|
|
|
|
.status-option {
|
|
display: flex;
|
|
min-height: 84rpx;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12rpx;
|
|
border: 2rpx solid transparent;
|
|
border-radius: 20rpx;
|
|
color: #71807a;
|
|
font-size: 25rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status-option.active {
|
|
border-color: #b8daca;
|
|
background: #e5f4ed;
|
|
color: #247b63;
|
|
}
|
|
|
|
.status-indicator {
|
|
width: 14rpx;
|
|
height: 14rpx;
|
|
border-radius: 50%;
|
|
background: #91a29a;
|
|
}
|
|
|
|
.status-option.active .status-indicator.in-service {
|
|
background: #d28b55;
|
|
box-shadow: 0 0 0 6rpx rgba(210, 139, 85, 0.14);
|
|
}
|
|
|
|
.status-option.active .status-indicator.completed {
|
|
background: #247b63;
|
|
box-shadow: 0 0 0 6rpx rgba(36, 123, 99, 0.14);
|
|
}
|
|
|
|
.backfill-page .customer-section {
|
|
padding-bottom: 26rpx;
|
|
}
|
|
|
|
.customer-entry {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 14rpx;
|
|
margin-top: 18rpx;
|
|
}
|
|
|
|
.customer-fields {
|
|
display: grid;
|
|
min-width: 0;
|
|
flex: 1;
|
|
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.customer-entry .customer-name-input,
|
|
.customer-entry .customer-phone-input {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 88rpx;
|
|
margin: 0;
|
|
padding: 0 16rpx;
|
|
border: 2rpx solid #dce6e1;
|
|
border-radius: 24rpx;
|
|
background: #fbfdfc;
|
|
color: #17211f;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.customer-library-btn {
|
|
display: flex;
|
|
width: 88rpx;
|
|
min-width: 88rpx;
|
|
max-width: 88rpx;
|
|
height: 88rpx;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 24rpx;
|
|
background: #e5f4ed;
|
|
color: #247b63;
|
|
}
|
|
|
|
.customer-library-icon {
|
|
font-size: 38rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.customer-selected-tip {
|
|
display: block;
|
|
margin-top: 12rpx;
|
|
color: #247b63;
|
|
font-size: 20rpx;
|
|
}
|
|
|
|
.backfill-bottom {
|
|
padding-top: 20rpx;
|
|
border-top: 2rpx solid #e7ece9;
|
|
background: rgba(255, 255, 255, 0.97);
|
|
box-shadow: 0 -8rpx 22rpx rgba(23, 33, 31, 0.04);
|
|
}
|
|
|
|
.backfill-page .backfill-submit-btn {
|
|
min-height: 88rpx;
|
|
border-radius: 24rpx;
|
|
background: #17211f;
|
|
color: #fff;
|
|
box-shadow: 0 10rpx 22rpx rgba(23, 33, 31, 0.16);
|
|
}
|
|
|
|
.backfill-manual-product-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 140;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
background: rgba(16, 29, 25, 0.44);
|
|
}
|
|
|
|
.backfill-manual-style-sheet {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 70vh;
|
|
max-height: 82vh;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
padding: 28rpx 28rpx calc(24rpx + env(safe-area-inset-bottom));
|
|
border-radius: 34rpx 34rpx 0 0;
|
|
background: #fff;
|
|
box-shadow: 0 -20rpx 48rpx rgba(24, 48, 40, 0.14);
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-title,
|
|
.backfill-manual-style-sheet .modal-subtitle {
|
|
display: block;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-title {
|
|
color: #17211f;
|
|
font-size: 34rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-subtitle {
|
|
margin-top: 8rpx;
|
|
color: #71807a;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-close {
|
|
position: relative;
|
|
display: flex;
|
|
width: 48rpx;
|
|
min-width: 48rpx;
|
|
height: 48rpx;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1rpx solid #e7ece9;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-close::before,
|
|
.backfill-manual-style-sheet .modal-close::after {
|
|
position: absolute;
|
|
width: 22rpx;
|
|
height: 3rpx;
|
|
border-radius: 999rpx;
|
|
background: #247b63;
|
|
content: "";
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-close::before {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.backfill-manual-style-sheet .modal-close::after {
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
.backfill-manual-style-sheet .manual-style-content {
|
|
height: 0;
|
|
min-height: 0;
|
|
flex: 1;
|
|
padding: 8rpx 0 20rpx;
|
|
}
|
|
|
|
.backfill-manual-fields {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.backfill-manual-fields .style-name-input {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: 82rpx;
|
|
padding: 0 18rpx;
|
|
border: 1rpx solid #dce6e1;
|
|
border-radius: 24rpx;
|
|
background: #fbfdfc;
|
|
color: #17211f;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.backfill-manual-fields .backfill-manual-product-name {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.backfill-manual-fields .backfill-manual-product-price {
|
|
min-width: 0;
|
|
flex: 0 0 220rpx;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .manual-style-hint {
|
|
display: block;
|
|
margin-top: 18rpx;
|
|
color: #71807a;
|
|
font-size: 21rpx;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .manual-style-footer {
|
|
flex: 0 0 auto;
|
|
padding-top: 16rpx;
|
|
border-top: 2rpx solid #e7ece9;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .manual-style-confirm {
|
|
width: 100%;
|
|
height: 84rpx;
|
|
margin: 0;
|
|
border-radius: 24rpx;
|
|
background: #17211f;
|
|
color: #fff;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
line-height: 84rpx;
|
|
}
|
|
|
|
.backfill-manual-style-sheet .manual-style-library-link {
|
|
height: 64rpx;
|
|
margin: 10rpx auto 0;
|
|
color: #247b63;
|
|
font-size: 22rpx;
|
|
line-height: 64rpx;
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.backfill-title {
|
|
font-size: 44rpx;
|
|
}
|
|
|
|
.backfill-date-pill {
|
|
gap: 5rpx;
|
|
padding: 0 10rpx;
|
|
font-size: 19rpx;
|
|
}
|
|
|
|
.customer-fields {
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.customer-entry .customer-name-input,
|
|
.customer-entry .customer-phone-input {
|
|
padding: 0 12rpx;
|
|
font-size: 20rpx;
|
|
}
|
|
}
|