Files
JayuCloud/JC-Salon-WeChat/pages/appointment-form/index.wxss
T
xiaowang 261723bc6e
发布 Nacos 配置 / publish (push) Successful in 30s
环境分支晋级检查 / environment-promotion-source (pull_request_target) Successful in 1s
功能:优化Salon作品选择与历史补单
2026-10-14 00:47:10 +08:00

420 lines
6.5 KiB
Plaintext

.unit {
color: #9a9288;
font-size: 24rpx;
}
.customer-field {
align-items: stretch;
padding: 18rpx 0;
}
.customer-field > .field-label {
display: flex;
align-items: center;
}
.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);
}
.manual-customer-sheet {
display: flex;
width: 100%;
height: 88vh;
max-height: 88vh;
flex-direction: column;
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
border-radius: 34rpx 34rpx 0 0;
background: #fffaf4;
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
}
.manual-customer-form {
flex: 1;
padding-top: 12rpx;
}
.manual-customer-field {
margin-bottom: 20rpx;
padding: 20rpx 22rpx;
border: 1rpx solid #e7e0d7;
border-radius: 20rpx;
background: #fff;
}
.manual-customer-field text {
display: block;
margin-bottom: 10rpx;
color: #625c55;
font-size: 24rpx;
font-weight: 800;
}
.manual-customer-field input {
height: 64rpx;
color: #29241f;
font-size: 28rpx;
}
.manual-customer-submit {
flex: 0 0 auto;
}
.time-modal {
width: 100%;
max-height: 82vh;
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 {
max-height: 620rpx;
padding-right: 2rpx;
}
.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;
}