移除常驻概览并通过聊天保存订单汇总
This commit is contained in:
@@ -305,82 +305,3 @@ body { padding: 20px; height: 100vh; height: 100dvh; overflow: hidden; }
|
||||
.msg-action-btn { min-height: 40px; }
|
||||
.to-bottom { right: 15px; }
|
||||
}
|
||||
.customer-overview {
|
||||
flex-shrink: 0;
|
||||
max-height: 36%;
|
||||
margin: 12px 32px 0;
|
||||
overflow-y: auto;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
background: var(--surface);
|
||||
}
|
||||
.customer-overview > summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
min-height: 44px;
|
||||
padding: 10px 16px;
|
||||
background: var(--surface);
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
.customer-overview > summary::-webkit-details-marker { display: none; }
|
||||
.customer-overview > summary::after { content: '⌄'; color: var(--muted); }
|
||||
.customer-overview[open] > summary::after { transform: rotate(180deg); }
|
||||
#customer-overview-title { flex-shrink: 0; font-weight: 650; }
|
||||
#customer-overview-summary {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
font-size: 12px;
|
||||
color: var(--secondary);
|
||||
}
|
||||
.customer-overview-body { padding: 0 16px 12px; }
|
||||
.overview-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
||||
.overview-metric {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
padding: 8px;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-soft);
|
||||
color: var(--text);
|
||||
text-align: left;
|
||||
}
|
||||
.overview-metric strong { font-size: 21px; line-height: 1.3; }
|
||||
.overview-metric span { color: var(--secondary); font-size: 12px; }
|
||||
.overview-metric:last-child strong { color: var(--danger); }
|
||||
.overview-stages { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0; color: var(--secondary); font-size: 12px; }
|
||||
.overview-orders { display: grid; gap: 6px; }
|
||||
.overview-order {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 2px 10px;
|
||||
min-width: 0;
|
||||
min-height: 44px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
text-align: left;
|
||||
}
|
||||
.overview-reference { overflow-wrap: anywhere; font-size: 13px; }
|
||||
.overview-stage { max-width: 180px; color: var(--secondary); font-size: 12px; text-align: right; }
|
||||
.overview-reason { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--danger); font-size: 12px; }
|
||||
.overview-order.has-exception { border-left: 3px solid var(--danger); }
|
||||
.overview-refresh { margin-top: 8px; padding: 4px 0; border: 0; background: transparent; color: var(--brand-text); font-size: 12px; }
|
||||
.overview-empty { color: var(--secondary); font-size: 13px; }
|
||||
@media (max-width: 720px) {
|
||||
.customer-overview { max-height: 32%; margin: 8px 12px 0; }
|
||||
.customer-overview > summary { padding: 9px 12px; gap: 8px; }
|
||||
.customer-overview-body { padding: 0 12px 10px; }
|
||||
.overview-stage { max-width: 120px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user