Complete admin chat records

This commit is contained in:
2026-07-07 12:17:23 +08:00
parent 08dd371480
commit 08c301c136
9 changed files with 608 additions and 61 deletions

View File

@@ -188,3 +188,102 @@ textarea {
.actions {
margin-top: 12px;
}
.record-filter {
display: grid;
grid-template-columns: minmax(260px, 1.4fr) 140px 150px 360px 72px 72px 72px;
gap: 10px;
align-items: center;
margin-bottom: 14px;
}
.chat-summary {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin-bottom: 18px;
}
.chat-summary div {
padding: 12px;
border: 1px solid #dfe8e5;
border-radius: 8px;
background: #f8fbfa;
}
.chat-summary span {
display: block;
color: #6b7d77;
font-size: 12px;
}
.chat-summary strong {
display: block;
margin-top: 6px;
overflow: hidden;
color: #1f2d2a;
text-overflow: ellipsis;
white-space: nowrap;
}
.detail-title {
margin: 18px 0 10px;
font-size: 16px;
}
.conversation-list {
display: grid;
gap: 12px;
}
.conversation-message {
padding: 12px;
border: 1px solid #dfe8e5;
border-radius: 8px;
background: #ffffff;
}
.conversation-message.user {
border-color: #cde7df;
background: #f2faf7;
}
.message-meta,
.message-extra {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
color: #6b7d77;
font-size: 12px;
}
.message-meta strong {
color: #0f735d;
}
.conversation-message pre,
.prompt-preview {
margin: 10px 0;
padding: 10px;
overflow-x: auto;
border-radius: 6px;
background: #f4f7f6;
color: #223631;
white-space: pre-wrap;
word-break: break-word;
font-family: "SFMono-Regular", Consolas, "PingFang SC", monospace;
line-height: 1.65;
}
.ai-log-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px 14px;
color: #40524b;
font-size: 13px;
}
.error-text {
color: #b42318;
}