.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 #e7ece9; border-radius: 18rpx; background: #f3f7f4; color: #17211f; 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 #e7ece9; border-radius: 16rpx; background: #fff; color: #17211f; font-size: 25rpx; } .customer-selected-tip { display: block; margin-top: 10rpx; color: #247b63; 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 #e7ece9; border-radius: 18rpx; background: #f3f7f4; } .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: #71807a; font-size: 27rpx; font-weight: 800; } .reference-card.filled .reference-title { color: #17211f; } .reference-subtitle { margin-top: 6rpx; color: #71807a; font-size: 21rpx; } .reference-badge { flex: 0 0 auto; padding: 5rpx 11rpx; border-radius: 999rpx; background: #e5f4ed; color: #247b63; 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:#247b63; 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: #ffffff; 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: #17211f; 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 #e7ece9; background: #ffffff; 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: #247b63; } .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: #17211f; 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; flex-direction: column; align-items: center; justify-content: center; padding: 40rpx 20rpx; border-radius: 18rpx; background: #f3f7f4; color: #8c8177; font-size: 26rpx; text-align: center; } .time-empty-action { flex: 0 0 auto; height: 62rpx; margin: 14rpx 0 0; padding: 0 24rpx; border-radius: 999rpx; background: #247b63; color: #fff; font-size: 22rpx; font-weight: 700; line-height: 62rpx; } .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: #17211f; font-size: 30rpx; font-weight: 900; } .section-caption { margin-top: 5rpx; color: #9a9288; font-size: 21rpx; } .btn-wrap { flex-shrink: 0; /* 不让按钮被压缩 */ } button.link-action { margin:0; width:auto; } .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 #e7ece9; 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: #ffffff; color: #247b63; font-weight: 800; box-shadow: 0 3rpx 8rpx rgba(58, 48, 34, 0.08); } .time-wheel { width: 100%; height: 320rpx; border-top: 1rpx solid #e7ece9; border-bottom: 1rpx solid #e7ece9; } .wheel-item { height: 76rpx; color: #17211f; 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: #247b63; 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: #f3f7f4; } .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: #17211f; 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: #e5f4ed; color: #247b63; font-size: 21rpx; line-height: 58rpx; } .appointment-page { padding-top: 24rpx; background: #f3f7f4; color: #17211f; } .appointment-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 18rpx; margin: 0 0 30rpx; } .appointment-hero-copy { display: flex; min-width: 0; flex-direction: column; } .appointment-eyebrow { color: #247b63; font-size: 22rpx; font-weight: 800; line-height: 1.3; } .appointment-title { margin-top: 6rpx; color: #17211f; font-size: 52rpx; font-weight: 900; line-height: 1.15; } .appointment-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; } .appointment-page .form-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); } .section-heading { align-items: center; margin: 0 0 20rpx; } .section-title-row { display: flex; align-items: baseline; } .section-title-main { color: #17211f; font-size: 28rpx; font-weight: 800; } .section-caption { color: #71807a; font-size: 20rpx; line-height: 1.4; } .required-mark { margin-left: 5rpx; color: #e98669; font-size: 24rpx; font-weight: 800; } .link-action { min-width: 144rpx; max-width: none; height: 58rpx; padding: 0 18rpx; border: 2rpx solid #cbdcd5; border-radius: 22rpx; background: #fbfdfc; color: #247b63; font-size: 21rpx; font-weight: 700; line-height: 54rpx; } .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 */ } .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-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; } .style-entry-card { min-height: 122rpx; } .style-hint { padding: 20rpx 0 0; color: #82928a; font-size: 19rpx; line-height: 1.45; } .appointment-info-section .section-heading { margin-bottom: 20rpx; } .appointment-field-card { margin-top: 16rpx; } .appointment-field-card:first-of-type { margin-top: 0; } .customer-section { padding-bottom: 26rpx !important; } .customer-section .section-heading { margin-bottom: 18rpx; } .customer-entry { gap: 14rpx; align-items: stretch; } .customer-fields { display: grid; min-width: 0; flex: 1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 12rpx; } .customer-entry .customer-name-input, .customer-entry .customer-wechat-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-suggestion-list { border-color: #e7ece9; border-radius: 22rpx; } .customer-suggestion { min-height: 72rpx; border-color: #e7ece9; color: #17211f; font-size: 22rpx; } .customer-suggestion text:last-child { color: #71807a; font-size: 21rpx; } .customer-selected-tip { margin-top: 12rpx; color: #247b63; font-size: 20rpx; } .selected-style-card { min-height: 112rpx; border-color: #cbdcd5; border-radius: 30rpx; background: #fbfdfc; } .selected-style-title { color: #17211f; } .selected-style-meta { color: #71807a; } .switch-manual-action { border-radius: 18rpx; background: #e5f4ed; color: #247b63; } .appointment-page .fixed-bottom { padding-top: 20rpx; border-top: 2rpx solid #e7ece9; background: rgba(255, 255, 255, 0.97); } .appointment-page .primary-btn { background: #17211f; box-shadow: 0 10rpx 22rpx rgba(23, 33, 31, 0.16); } .appointment-page .secondary-btn { border-color: #dce6e1; background: #f3f7f4; color: #52645d; } .appointment-page .modal-mask { z-index: 130; background: rgba(16, 29, 25, 0.44); } .appointment-page .time-modal, .manual-style-sheet { border-radius: 34rpx 34rpx 0 0; background: #fff; box-shadow: 0 -20rpx 48rpx rgba(24, 48, 40, 0.14); } .appointment-page .modal-title { color: #17211f; } .appointment-page .modal-subtitle { color: #71807a; } .appointment-page .time-mode-switch { background: #f1f5f3; } .appointment-page .time-mode-switch button.active { background: #dff1e9; color: #247b63; box-shadow: none; } .appointment-page .time-chip.active { border-color: #9ccdbb; background: #d9f0e6; color: #247b63; } .appointment-page .time-confirm-btn { background: #17211f; } .manual-style-sheet { box-sizing: border-box; display: flex; width: 100%; height: 88vh; max-height: 88vh; flex-direction: column; overflow: hidden; padding: 28rpx 28rpx calc(24rpx + env(safe-area-inset-bottom)); } .manual-style-content { height: 0; min-height: 0; flex: 1; padding: 8rpx 0 20rpx; } .manual-style-name-field { min-width: 0; } .manual-style-field-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10rpx; color: #52645d; font-size: 22rpx; font-weight: 700; } .manual-style-character-count { color: #82928a; font-size: 20rpx; font-weight: 500; font-variant-numeric: tabular-nums; } .manual-style-title-input { box-sizing: border-box; display: block; width: 100%; height: 82rpx; padding: 0 20rpx; overflow: hidden; border: 2rpx solid #dce6e1; border-radius: 22rpx; background: #fbfdfc; color: #17211f; font-size: 24rpx; line-height: 82rpx; white-space: nowrap; } .manual-style-price-duration-row { display: flex; gap: 16rpx; margin-top: 20rpx; } .manual-style-compact-field { min-width: 0; flex: 1; } .manual-style-field-label { display: block; margin-bottom: 10rpx; color: #52645d; font-size: 22rpx; font-weight: 700; } .manual-style-input-wrap { box-sizing: border-box; display: flex; height: 82rpx; align-items: center; gap: 10rpx; padding: 0 18rpx; border: 2rpx solid #dce6e1; border-radius: 22rpx; background: #fbfdfc; } .manual-style-input-wrap input { box-sizing: border-box; width: 0; min-width: 0; height: 78rpx; flex: 1; color: #17211f; font-size: 24rpx; } .manual-style-input-wrap text { flex: 0 0 auto; color: #71807a; font-size: 21rpx; } .manual-style-description-field { margin-top: 20rpx; } .manual-style-description-field textarea { box-sizing: border-box; width: 100%; min-height: 124rpx; padding: 16rpx 18rpx; border: 2rpx solid #dce6e1; border-radius: 22rpx; background: #fbfdfc; color: #17211f; font-size: 22rpx; line-height: 1.5; } .manual-style-images { margin-top: 28rpx; } .manual-style-image-heading { display: flex; align-items: center; justify-content: space-between; color: #52645d; font-size: 23rpx; font-weight: 700; } .manual-style-image-count { color: #247b63; font-size: 21rpx; font-weight: 700; } .manual-style-image-scroll { width: 100%; height: 218rpx; margin-top: 16rpx; white-space: nowrap; } .manual-style-image-grid { display: inline-flex; align-items: flex-start; flex-wrap: nowrap; justify-content: flex-start; gap: 16rpx; min-width: 100%; height: 206rpx; } .manual-style-image-tile, .manual-style-add-image { position: relative; box-sizing: border-box; flex: 0 0 206rpx; width: 206rpx; height: 206rpx; margin: 0; overflow: hidden; border-radius: 20rpx; } .manual-style-image-tile image { display: block; width: 100%; height: 100%; background: #eaf2ee; } .manual-style-image-cover { position: absolute; bottom: 10rpx; left: 10rpx; padding: 5rpx 10rpx; border-radius: 10rpx; background: rgba(23, 33, 31, 0.76); color: #fff; font-size: 19rpx; font-weight: 700; } button.manual-style-image-remove { position: absolute; top: 10rpx; right: 10rpx; z-index: 1; width: 46rpx; height: 46rpx; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(23, 33, 31, 0.68); color: #fff; font-size: 32rpx; line-height: 46rpx; } button.manual-style-image-remove::after, button.manual-style-add-image::after { border: 0; } button.manual-style-add-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5rpx; padding: 0; border: 2rpx dashed #9ccdbb; background: #f2faf6; color: #247b63; font-size: 21rpx; font-weight: 700; } .manual-style-add-icon { font-size: 48rpx; font-weight: 300; line-height: 1; } .manual-style-image-tip { display: block; margin-top: 2rpx; color: #71807a; font-size: 20rpx; line-height: 1.5; } .manual-style-more { margin-top: 28rpx; border-top: 2rpx solid #e7ece9; } .manual-style-more-toggle { display: flex; align-items: center; justify-content: space-between; padding: 24rpx 0 16rpx; color: #247b63; font-size: 22rpx; font-weight: 700; } .manual-style-more-arrow { color: #71807a; font-size: 26rpx; } .manual-style-more-fields { display: flex; flex-direction: column; gap: 12rpx; padding-bottom: 8rpx; } .manual-style-more-fields textarea, .manual-style-more-fields input { box-sizing: border-box; width: 100%; min-height: 78rpx; padding: 16rpx 18rpx; border: 2rpx solid #dce6e1; border-radius: 22rpx; background: #fbfdfc; color: #17211f; font-size: 22rpx; } .manual-style-more-fields textarea { min-height: 130rpx; } .manual-style-hint { display: block; margin-top: 18rpx; color: #71807a; font-size: 21rpx; line-height: 1.5; } .manual-style-footer { display: flex; gap: 14rpx; flex: 0 0 auto; padding-top: 16rpx; border-top: 2rpx solid #e7ece9; } .manual-style-confirm { width: 0; min-width: 0; height: 78rpx; flex: 1; margin: 0; padding: 0 10rpx; border-radius: 22rpx; background: #17211f; color: #fff; font-size: 22rpx; font-weight: 800; line-height: 78rpx; } .manual-style-library-link { width: 0; min-width: 0; height: 78rpx; flex: 1; margin: 0; padding: 0 10rpx; border: 2rpx solid #9ccdbb; border-radius: 22rpx; background: #e5f4ed; color: #247b63; font-size: 21rpx; font-weight: 700; line-height: 74rpx; } @media (max-width: 360px) { .appointment-title { font-size: 44rpx; } .appointment-date-pill { gap: 5rpx; padding: 0 10rpx; font-size: 19rpx; } .customer-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8rpx; } .customer-name-input, .customer-phone-input { padding: 0 12rpx; font-size: 20rpx; } }