796 lines
12 KiB
Plaintext
796 lines
12 KiB
Plaintext
.unit {
|
|
color: #9a9288;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.customer-field {
|
|
display: block;
|
|
align-items: stretch;
|
|
padding: 18rpx 0;
|
|
}
|
|
|
|
.customer-field > .field-label {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.customer-entry {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14rpx;
|
|
width: 100%;
|
|
}
|
|
|
|
.customer-name-input {
|
|
min-width: 0;
|
|
flex: 1;
|
|
height: 78rpx;
|
|
padding: 0 18rpx;
|
|
border: 1rpx solid #e7e0d7;
|
|
border-radius: 18rpx;
|
|
background: #f8f4ee;
|
|
color: #29241f;
|
|
font-size: 27rpx;
|
|
}
|
|
|
|
.customer-select-btn {
|
|
flex: 0 0 auto;
|
|
min-width: 176rpx;
|
|
height: 78rpx;
|
|
margin: 0;
|
|
padding: 0 18rpx;
|
|
border: 1rpx solid #d7b38e;
|
|
border-radius: 18rpx;
|
|
background: #fff7ed;
|
|
color: #9f5f2d;
|
|
font-size: 23rpx;
|
|
line-height: 78rpx;
|
|
}
|
|
|
|
.customer-phone-input {
|
|
width: 100%;
|
|
height: 66rpx;
|
|
margin-top: 14rpx;
|
|
padding: 0 18rpx;
|
|
border: 1rpx solid #e7e0d7;
|
|
border-radius: 16rpx;
|
|
background: #fff;
|
|
color: #29241f;
|
|
font-size: 25rpx;
|
|
}
|
|
|
|
.customer-selected-tip {
|
|
display: block;
|
|
margin-top: 10rpx;
|
|
color: #55786d;
|
|
font-size: 21rpx;
|
|
}
|
|
|
|
.reference-card,
|
|
.reference-value {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.reference-card {
|
|
min-height: 78rpx;
|
|
padding: 13rpx 16rpx;
|
|
border: 1rpx solid #e7e0d7;
|
|
border-radius: 18rpx;
|
|
background: #f8f4ee;
|
|
}
|
|
|
|
.reference-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.reference-title,
|
|
.reference-subtitle {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.reference-title {
|
|
color: #817a72;
|
|
font-size: 27rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.reference-card.filled .reference-title { color: #29241f; }
|
|
|
|
.reference-subtitle {
|
|
margin-top: 6rpx;
|
|
color: #9a9289;
|
|
font-size: 21rpx;
|
|
}
|
|
|
|
.reference-badge {
|
|
flex: 0 0 auto;
|
|
padding: 5rpx 11rpx;
|
|
border-radius: 999rpx;
|
|
background: #e7f0ec;
|
|
color: #55786d;
|
|
font-size: 19rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.reference-value {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.reference-arrow {
|
|
flex: 0 0 auto;
|
|
color: #a99f95;
|
|
font-size: 38rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.product-value {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.product-selected-price { display:block; margin-top:6rpx; color:#b7683d; font-size:23rpx; font-weight:800; }
|
|
|
|
.time-value {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.time-value > view {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
}
|
|
|
|
.time-value.placeholder {
|
|
color: #aaa096;
|
|
}
|
|
|
|
.time-range {
|
|
overflow: hidden;
|
|
color: #9a9288;
|
|
font-size: 22rpx;
|
|
line-height: 1.35;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.time-arrow {
|
|
flex: 0 0 auto;
|
|
color: #b78b63;
|
|
font-size: 38rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.manual-badge {
|
|
flex: 0 0 auto;
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 999rpx;
|
|
background: #fff2df;
|
|
color: #a26428;
|
|
font-size: 22rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.textarea-field {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.capacity-tip {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8rpx;
|
|
margin-top: 20rpx;
|
|
padding: 22rpx;
|
|
}
|
|
|
|
.tip-title {
|
|
color: #4e4942;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.tip-text {
|
|
color: #90877e;
|
|
font-size: 24rpx;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.availability-tip {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8rpx;
|
|
margin-top: 16rpx;
|
|
padding: 22rpx;
|
|
}
|
|
|
|
.availability-tip.free {
|
|
background: #f3faf5;
|
|
}
|
|
|
|
.availability-tip.warn {
|
|
background: #fff8e8;
|
|
}
|
|
|
|
.availability-tip.danger {
|
|
background: #fff2f2;
|
|
}
|
|
|
|
.availability-tip.free .tip-title {
|
|
color: #4f7d62;
|
|
}
|
|
|
|
.availability-tip.warn .tip-title {
|
|
color: #a2763d;
|
|
}
|
|
|
|
.availability-tip.danger .tip-title {
|
|
color: #c36a6a;
|
|
}
|
|
|
|
.draft-tip {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
margin-top: 16rpx;
|
|
padding: 18rpx 22rpx;
|
|
color: #6f655b;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.draft-clear {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.modal-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
background: rgba(18, 15, 12, 0.48);
|
|
}
|
|
|
|
.time-modal {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 76vh;
|
|
max-height: 82vh;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
|
|
border-radius: 28rpx 28rpx 0 0;
|
|
background: #fffaf4;
|
|
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
|
|
}
|
|
|
|
.modal-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.modal-title {
|
|
display: block;
|
|
}
|
|
|
|
.modal-title {
|
|
color: #27211d;
|
|
font-size: 34rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.modal-subtitle {
|
|
display: block;
|
|
margin-top: 8rpx;
|
|
color: #8d8278;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.modal-close {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48rpx;
|
|
min-width: 48rpx;
|
|
height: 48rpx;
|
|
border-radius: 50%;
|
|
border: 1rpx solid #e4d8ca;
|
|
background: #fffaf4;
|
|
color: transparent;
|
|
font-size: 0;
|
|
line-height: 0;
|
|
}
|
|
|
|
.modal-close::before,
|
|
.modal-close::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 22rpx;
|
|
height: 3rpx;
|
|
border-radius: 999rpx;
|
|
background: #61554c;
|
|
}
|
|
|
|
.modal-close::before {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.modal-close::after {
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
.time-list {
|
|
height: 0;
|
|
min-height: 0;
|
|
flex: 1;
|
|
padding-right: 2rpx;
|
|
}
|
|
|
|
.time-wheel {
|
|
min-height: 260rpx;
|
|
flex: 1;
|
|
}
|
|
|
|
.time-group {
|
|
margin-bottom: 28rpx;
|
|
}
|
|
|
|
.time-group:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.time-group-title {
|
|
display: block;
|
|
margin-bottom: 14rpx;
|
|
color: #4d453e;
|
|
font-size: 26rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.time-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.time-chip {
|
|
display: flex;
|
|
min-height: 88rpx;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4rpx;
|
|
border: 2rpx solid #eadfd2;
|
|
border-radius: 18rpx;
|
|
background: #fff;
|
|
color: #302923;
|
|
box-shadow: 0 8rpx 18rpx rgba(92, 66, 43, 0.06);
|
|
transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
|
|
}
|
|
|
|
.time-chip:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.time-chip.active {
|
|
border-color: #c9874d;
|
|
background: #fff2df;
|
|
color: #9f5f2d;
|
|
}
|
|
|
|
.time-chip text:first-child {
|
|
font-size: 28rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.time-chip text:last-child {
|
|
color: #8c8177;
|
|
font-size: 20rpx;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.time-chip.active text:last-child {
|
|
color: #a26428;
|
|
}
|
|
|
|
.time-empty {
|
|
min-height: 220rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40rpx 20rpx;
|
|
border-radius: 18rpx;
|
|
background: #f7efe7;
|
|
color: #8c8177;
|
|
font-size: 26rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.action-row {
|
|
display: flex;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.draft-btn,
|
|
.submit-btn {
|
|
min-width: 0;
|
|
max-width: none;
|
|
}
|
|
|
|
.appointment-page .form-card {
|
|
margin-bottom: 18rpx;
|
|
padding: 20rpx 24rpx 10rpx;
|
|
}
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
margin: 0 0 18rpx;
|
|
}
|
|
|
|
.section-title-main,
|
|
.section-caption {
|
|
display: block;
|
|
}
|
|
|
|
.section-title-main {
|
|
color: #302a24;
|
|
font-size: 30rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.section-caption {
|
|
margin-top: 5rpx;
|
|
color: #9a9288;
|
|
font-size: 21rpx;
|
|
}
|
|
|
|
.link-action {
|
|
flex: 0 0 auto;
|
|
height: 60rpx;
|
|
padding: 0 17rpx;
|
|
border: 1rpx solid #d7b38e;
|
|
border-radius: 14rpx;
|
|
background: #fff7ed;
|
|
color: #9f5f2d;
|
|
font-size: 22rpx;
|
|
line-height: 60rpx;
|
|
}
|
|
|
|
.style-name-row,
|
|
.style-image-preview-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.style-name-input {
|
|
min-width: 0;
|
|
height: 78rpx;
|
|
flex: 1;
|
|
padding: 0 18rpx;
|
|
border: 1rpx solid #e7e0d7;
|
|
border-radius: 15rpx;
|
|
background: #fff;
|
|
color: #29241f;
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.image-action,
|
|
.remove-image-action {
|
|
flex: 0 0 auto;
|
|
height: 72rpx;
|
|
padding: 0 18rpx;
|
|
border-radius: 14rpx;
|
|
background: #edf4f1;
|
|
color: #2f6f62;
|
|
font-size: 23rpx;
|
|
line-height: 72rpx;
|
|
}
|
|
|
|
.style-image-preview-row {
|
|
justify-content: flex-start;
|
|
margin-top: 14rpx;
|
|
}
|
|
|
|
.style-image-preview {
|
|
width: 112rpx;
|
|
height: 112rpx;
|
|
border-radius: 14rpx;
|
|
background: #eee9e2;
|
|
}
|
|
|
|
.remove-image-action {
|
|
height: 58rpx;
|
|
background: #f5f0e9;
|
|
color: #756e66;
|
|
font-size: 21rpx;
|
|
line-height: 58rpx;
|
|
}
|
|
|
|
.selected-style-note {
|
|
margin-top: 12rpx;
|
|
color: #4f766d;
|
|
font-size: 23rpx;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.style-number-row {
|
|
display: flex;
|
|
gap: 18rpx;
|
|
margin-top: 18rpx;
|
|
}
|
|
|
|
.number-field {
|
|
display: flex;
|
|
min-width: 0;
|
|
height: 88rpx;
|
|
flex: 1;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.number-field .field-label {
|
|
width: auto;
|
|
flex: 0 0 auto;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.number-field input {
|
|
min-width: 0;
|
|
flex: 1;
|
|
color: #302923;
|
|
font-size: 27rpx;
|
|
text-align: right;
|
|
}
|
|
|
|
.number-unit {
|
|
flex: 0 0 auto;
|
|
color: #9a9288;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.style-remark-field {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 14rpx;
|
|
padding: 18rpx 0 8rpx;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.style-remark-field .field-label {
|
|
width: 124rpx;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.style-remark-field textarea {
|
|
min-height: 86rpx;
|
|
flex: 1;
|
|
padding: 0;
|
|
color: #302923;
|
|
font-size: 25rpx;
|
|
}
|
|
|
|
.style-hint {
|
|
display: block;
|
|
padding: 12rpx 0 16rpx;
|
|
color: #a1978c;
|
|
font-size: 20rpx;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.appointment-info-section .section-heading,
|
|
.customer-section .section-heading {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.appointment-info-section .field:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.customer-section {
|
|
padding-bottom: 22rpx !important;
|
|
}
|
|
|
|
.customer-section .customer-entry {
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
.customer-entry .customer-name-input {
|
|
height: 76rpx;
|
|
}
|
|
|
|
.customer-entry .customer-select-btn {
|
|
min-width: 170rpx;
|
|
height: 76rpx;
|
|
line-height: 76rpx;
|
|
}
|
|
|
|
.customer-phone-input {
|
|
height: 70rpx;
|
|
}
|
|
|
|
.customer-suggestion-list {
|
|
margin-top: 10rpx;
|
|
overflow: hidden;
|
|
border: 1rpx solid #e8e0d7;
|
|
border-radius: 14rpx;
|
|
background: #fff;
|
|
}
|
|
|
|
.customer-suggestion {
|
|
display: flex;
|
|
min-height: 68rpx;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18rpx;
|
|
padding: 0 16rpx;
|
|
border-bottom: 1rpx solid #f0ebe4;
|
|
color: #39332d;
|
|
font-size: 23rpx;
|
|
}
|
|
|
|
.customer-suggestion:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.customer-suggestion text:last-child {
|
|
color: #82796f;
|
|
font-size: 21rpx;
|
|
}
|
|
|
|
.time-mode-switch {
|
|
display: flex;
|
|
gap: 8rpx;
|
|
margin-bottom: 18rpx;
|
|
padding: 6rpx;
|
|
border-radius: 15rpx;
|
|
background: #f2eee8;
|
|
}
|
|
|
|
.time-mode-switch button {
|
|
height: 58rpx;
|
|
flex: 1;
|
|
border-radius: 11rpx;
|
|
color: #81786e;
|
|
font-size: 23rpx;
|
|
line-height: 58rpx;
|
|
}
|
|
|
|
.time-mode-switch button.active {
|
|
background: #fffdf8;
|
|
color: #4f766d;
|
|
font-weight: 800;
|
|
box-shadow: 0 3rpx 8rpx rgba(58, 48, 34, 0.08);
|
|
}
|
|
|
|
.time-wheel {
|
|
width: 100%;
|
|
height: 320rpx;
|
|
border-top: 1rpx solid #eee7de;
|
|
border-bottom: 1rpx solid #eee7de;
|
|
}
|
|
|
|
.wheel-item {
|
|
height: 76rpx;
|
|
color: #302923;
|
|
font-size: 34rpx;
|
|
line-height: 76rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.wheel-item.disabled {
|
|
color: #c8c1b8;
|
|
}
|
|
|
|
.time-wheel-caption {
|
|
padding: 18rpx 0 8rpx;
|
|
color: #736a60;
|
|
font-size: 23rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.time-confirm-btn {
|
|
width: 100%;
|
|
height: 76rpx;
|
|
margin-top: 12rpx;
|
|
border-radius: 16rpx;
|
|
background: #4f766d;
|
|
color: #fff;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
line-height: 76rpx;
|
|
}
|
|
|
|
.time-chip.disabled {
|
|
border-color: #e8e4df;
|
|
background: #f3f1ee;
|
|
color: #bcb5ad;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.time-chip.disabled text:last-child {
|
|
color: #c1bab2;
|
|
}
|
|
|
|
.selected-style-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14rpx;
|
|
min-height: 104rpx;
|
|
padding: 12rpx;
|
|
border: 1rpx solid #d9e5df;
|
|
border-radius: 15rpx;
|
|
background: #f4f8f5;
|
|
}
|
|
|
|
.selected-style-image {
|
|
width: 82rpx;
|
|
height: 82rpx;
|
|
flex: 0 0 auto;
|
|
border-radius: 12rpx;
|
|
background: #e9e5df;
|
|
}
|
|
|
|
.selected-style-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
}
|
|
|
|
.selected-style-title,
|
|
.selected-style-meta {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.selected-style-title {
|
|
color: #302923;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.selected-style-meta {
|
|
color: #81796f;
|
|
font-size: 21rpx;
|
|
}
|
|
|
|
.switch-manual-action {
|
|
height: 58rpx;
|
|
flex: 0 0 auto;
|
|
padding: 0 14rpx;
|
|
border-radius: 12rpx;
|
|
background: #e7f0ec;
|
|
color: #4f766d;
|
|
font-size: 21rpx;
|
|
line-height: 58rpx;
|
|
}
|