Files
JayuCloud/FM-Wechat-Fronted/pages/appointment-form/index.wxss
T

370 lines
5.6 KiB
Plaintext

.unit {
color: #9a9288;
font-size: 24rpx;
}
.customer-select {
position: relative;
}
.customer-dropdown {
position: absolute;
top: 214rpx;
right: 0;
left: 180rpx;
z-index: 30;
max-height: 360rpx;
overflow-y: auto;
border: 1rpx solid #e5ded4;
border-radius: 18rpx;
background: #fffdf8;
box-shadow: 0 18rpx 40rpx rgba(58, 48, 34, 0.14);
}
.customer-option {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16rpx;
min-height: 76rpx;
padding: 0 20rpx;
border-bottom: 1rpx solid #f0e9df;
}
.customer-option:last-child {
border-bottom: 0;
}
.customer-copy {
display: flex;
min-width: 0;
flex: 1;
flex-direction: column;
gap: 6rpx;
}
.customer-name {
min-width: 0;
overflow: hidden;
color: #2a2521;
font-size: 26rpx;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.customer-phone {
color: #8c8177;
font-size: 24rpx;
}
.customer-select-tag {
flex: 0 0 auto;
padding: 4rpx 12rpx;
border-radius: 999rpx;
background: #e5eee9;
color: #55786d;
font-size: 22rpx;
font-weight: 800;
}
.muted-option {
justify-content: center;
color: #9a9288;
font-size: 24rpx;
}
.product-value {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12rpx;
}
.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;
}
.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);
}
.product-modal {
width: 100%;
max-height: 88vh;
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-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);
}
.product-search {
height: 74rpx;
padding: 0 24rpx;
border-radius: 18rpx;
background: #f5eee6;
color: #2a2521;
font-size: 26rpx;
}
.product-list {
max-height: 560rpx;
margin-top: 20rpx;
}
.product-option {
display: flex;
align-items: stretch;
gap: 18rpx;
min-height: 156rpx;
margin-bottom: 16rpx;
padding: 14rpx;
border: 2rpx solid transparent;
border-radius: 18rpx;
background: #fff;
box-shadow: 0 10rpx 24rpx rgba(92, 66, 43, 0.08);
}
.product-option.active {
border-color: #c9874d;
background: #fff8ef;
}
.product-cover {
flex: 0 0 auto;
width: 132rpx;
height: 132rpx;
border-radius: 14rpx;
background: #efe5da;
}
.product-cover.placeholder {
display: flex;
align-items: center;
justify-content: center;
color: #b79b82;
font-size: 28rpx;
font-weight: 900;
}
.product-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
gap: 10rpx;
}
.product-title-row {
display: flex;
align-items: center;
gap: 16rpx;
}
.product-title {
flex: 1;
min-width: 0;
overflow: hidden;
color: #2a2521;
font-size: 28rpx;
font-weight: 900;
text-overflow: ellipsis;
white-space: nowrap;
}
.product-price {
flex: 0 0 auto;
color: #c56f36;
font-size: 28rpx;
font-weight: 900;
}
.product-meta {
overflow: hidden;
color: #8c8177;
font-size: 24rpx;
text-overflow: ellipsis;
white-space: nowrap;
}
.tag-row {
display: flex;
flex-wrap: wrap;
gap: 8rpx;
min-height: 34rpx;
}
.tag-pill {
max-width: 160rpx;
padding: 4rpx 12rpx;
overflow: hidden;
border-radius: 999rpx;
background: #f3e9df;
color: #826c5b;
font-size: 22rpx;
text-overflow: ellipsis;
white-space: nowrap;
}
.product-empty {
padding: 44rpx 0;
color: #9a9288;
font-size: 26rpx;
text-align: center;
}
.manual-panel {
margin-top: 12rpx;
padding: 20rpx;
border-radius: 18rpx;
background: #f7efe7;
}
.manual-title {
display: block;
margin-bottom: 14rpx;
color: #4e4740;
font-size: 26rpx;
font-weight: 900;
}
.manual-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 180rpx;
gap: 14rpx;
}
.manual-grid input {
height: 70rpx;
padding: 0 18rpx;
border-radius: 14rpx;
background: #fffaf4;
color: #302923;
font-size: 26rpx;
}
.manual-btn {
margin-top: 16rpx;
}