店务小程序支持预约标签设置与展示

This commit is contained in:
2026-07-23 19:15:55 +08:00
parent dd516d40d3
commit f7c5b34f8b
10 changed files with 590 additions and 28 deletions
@@ -278,6 +278,94 @@
font-weight: 800;
}
.tag-setting-card {
display: flex;
flex-direction: column;
gap: 18rpx;
padding: 20rpx 24rpx;
}
.tag-form-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 150rpx;
gap: 12rpx;
}
.tag-input {
min-width: 0;
height: 70rpx;
padding: 0 18rpx;
border: 1rpx solid #eadfd2;
border-radius: 14rpx;
background: #fff8f2;
color: #3d3128;
font-size: 26rpx;
}
.tag-save-btn {
width: 100%;
min-width: 0;
}
.tag-edit-tip {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12rpx;
color: #7b7167;
font-size: 22rpx;
}
.tag-clear {
color: #2f6b55;
}
.tag-list {
display: grid;
gap: 12rpx;
}
.tag-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12rpx;
}
.tag-preview {
display: inline-flex;
align-items: center;
min-width: 0;
max-width: 100%;
min-height: 54rpx;
padding: 0 16rpx;
overflow: hidden;
border: 1rpx solid;
border-radius: 999rpx;
font-size: 24rpx;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.tag-actions {
display: flex;
flex: 0 0 auto;
gap: 16rpx;
color: #2f6b55;
font-size: 22rpx;
font-weight: 800;
}
.tag-actions .danger {
color: #c36a6a;
}
.tag-empty {
color: #8c8177;
font-size: 24rpx;
}
.rule-card {
display: flex;
flex-direction: column;