优化店务小程序预约作品价格交互

This commit is contained in:
2026-07-21 13:49:25 +08:00
parent 7f9f9e74a6
commit c64755e255
7 changed files with 170 additions and 44 deletions
@@ -135,22 +135,60 @@
}
.appointment-flags {
display: flex;
flex-direction: column;
gap: 14rpx;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12rpx;
margin-top: 4rpx;
}
.toggle-field {
.flag-card {
display: flex;
align-items: center;
justify-content: center;
gap: 10rpx;
min-width: 0;
min-height: 68rpx;
padding: 0 12rpx;
border: 2rpx solid #eadfd2;
border-radius: 16rpx;
background: #fffdf8;
color: #6d6258;
font-size: 24rpx;
font-weight: 800;
}
.toggle-copy {
display: flex;
.flag-card.active {
border-color: #c9874d;
background: #fff2df;
color: #9f5f2d;
}
.flag-card text {
min-width: 0;
flex: 1;
flex-direction: column;
gap: 4rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.flag-check {
min-width: 0;
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 28rpx;
height: 28rpx;
border: 2rpx solid #d9cabb;
border-radius: 8rpx;
color: #fff;
font-size: 20rpx;
font-weight: 900;
line-height: 1;
}
.flag-card.active .flag-check {
border-color: #c9874d;
background: #c9874d;
}
.capacity-tip {