中控增加条件单委托

This commit is contained in:
dekun
2026-05-24 08:09:08 +08:00
parent 4b5fae2946
commit 3b97a59562
9 changed files with 731 additions and 14 deletions
+124
View File
@@ -594,6 +594,130 @@ button:disabled {
padding: 6px 4px 8px;
}
.td-actions-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
justify-content: flex-end;
}
.orders-collapse {
margin-bottom: 8px;
}
.orders-collapse-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
cursor: pointer;
list-style: none;
padding: 4px 0;
user-select: none;
}
.orders-collapse-summary::-webkit-details-marker {
display: none;
}
.orders-collapse-summary::before {
content: "▸";
color: var(--muted);
margin-right: 6px;
font-size: 10px;
transition: transform 0.15s ease;
}
.orders-collapse[open] > .orders-collapse-summary::before {
transform: rotate(90deg);
}
.orders-collapse-body {
margin-top: 6px;
}
.modal {
position: fixed;
inset: 0;
z-index: 200;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
.modal.hidden {
display: none;
}
.modal-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.65);
}
.modal-panel {
position: relative;
z-index: 1;
width: 100%;
max-width: 380px;
padding: 20px 22px;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
.modal-panel h3 {
margin: 0 0 8px;
font-family: var(--display);
font-size: 14px;
letter-spacing: 0.06em;
}
.modal-meta {
margin: 0 0 14px;
font-size: 12px;
color: var(--muted);
}
.modal-field {
margin-bottom: 12px;
}
.modal-field label {
display: block;
font-size: 10px;
color: var(--muted);
margin-bottom: 4px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.modal-field input {
width: 100%;
padding: 8px 10px;
background: rgba(0, 0, 0, 0.35);
border: 1px solid var(--border-soft);
border-radius: 6px;
color: var(--text);
font-family: var(--font);
font-size: 13px;
}
.modal-hint {
font-size: 11px;
color: var(--muted);
margin: 0 0 14px;
line-height: 1.5;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.data-table {
width: 100%;
border-collapse: collapse;