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

277 lines
4.1 KiB
Plaintext

.unit {
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: flex-start;
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 {
width: 58rpx;
height: 58rpx;
margin: 0;
padding: 0;
border-radius: 50%;
background: #f2e7da;
color: #61554c;
font-size: 40rpx;
line-height: 58rpx;
}
.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;
}