feat(platform): add delivery time presets

This commit is contained in:
lingniu
2026-07-05 22:02:29 +08:00
parent 7580fce07e
commit eccede509f
3 changed files with 116 additions and 0 deletions

View File

@@ -1425,6 +1425,59 @@ body {
word-break: break-word;
}
.vp-customer-time-presets {
display: grid;
gap: 8px;
}
.vp-customer-time-presets > span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-customer-time-presets > div {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.vp-customer-time-presets button {
min-width: 0;
padding: 9px 10px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #ffffff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
gap: 3px;
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.vp-customer-time-presets button:hover,
.vp-customer-time-presets button:focus-visible {
border-color: rgba(22, 100, 255, 0.42);
background: #f7fbff;
box-shadow: 0 0 0 3px rgba(22, 100, 255, 0.08);
outline: none;
}
.vp-customer-time-presets strong {
color: var(--vp-text);
font-size: 13px;
line-height: 18px;
}
.vp-customer-time-presets small {
color: var(--vp-text-muted);
font-size: 11px;
line-height: 16px;
word-break: break-word;
}
.vp-customer-delivery-workbench-grid {
min-width: 0;
display: grid;