Revert "添加日志窗口,辅助测试。"

This reverts commit d1a56f5b23.
This commit is contained in:
2026-08-06 16:21:41 +08:00
parent d1a56f5b23
commit 23a03d0ed3
6 changed files with 54 additions and 842 deletions

View File

@@ -1849,149 +1849,6 @@ to { opacity: 1; transform: translateY(0);
white-space: pre-wrap;
word-break: break-all;
}
/* ===== 调试按钮顶部Header ===== */
.debug-top-btn[data-v-fdf84df1] {
flex-shrink: 0;
background: rgba(108, 99, 255, 0.15);
}
.debug-top-btn[data-v-fdf84df1]:active {
background: rgba(108, 99, 255, 0.3);
}
.debug-top-text[data-v-fdf84df1] {
font-size: 0.5625rem;
font-weight: 700;
color: #6c63ff;
}
/* ===== 调试面板(居中弹窗) ===== */
.debug-overlay[data-v-fdf84df1] {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 1.25rem;
box-sizing: border-box;
}
.debug-panel[data-v-fdf84df1] {
width: 100%;
max-height: 80vh;
background: #1e1e2e;
border-radius: 0.75rem;
display: flex;
flex-direction: column;
overflow: hidden;
}
.debug-header[data-v-fdf84df1] {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.875rem 1rem 0.625rem;
border-bottom: 0.03125rem solid rgba(255, 255, 255, 0.08);
}
.debug-title[data-v-fdf84df1] {
font-size: 0.9375rem;
font-weight: 600;
color: #cdd6f4;
}
.debug-actions[data-v-fdf84df1] {
display: flex;
align-items: center;
gap: 0.875rem;
}
.debug-clear-btn[data-v-fdf84df1] {
font-size: 0.75rem;
color: #f38ba8;
padding: 0.1875rem 0.5rem;
border-radius: 0.375rem;
background: rgba(243, 139, 168, 0.12);
}
.debug-close-btn[data-v-fdf84df1] {
font-size: 1rem;
color: #a6adc8;
font-weight: 700;
}
.debug-section[data-v-fdf84df1] {
padding: 0.625rem 0.75rem;
border-bottom: 0.03125rem solid rgba(255, 255, 255, 0.05);
}
.debug-label[data-v-fdf84df1] {
font-size: 0.75rem;
color: #89b4fa;
font-weight: 600;
margin-bottom: 0.375rem;
}
/* 状态网格 */
.debug-state-grid[data-v-fdf84df1] {
display: flex;
flex-wrap: wrap;
gap: 0.375rem 0.875rem;
}
.debug-state-item[data-v-fdf84df1] {
font-size: 0.75rem;
color: #cdd6f4;
}
.state-key[data-v-fdf84df1] {
color: #a6adc8;
}
.state-val[data-v-fdf84df1] {
color: #cdd6f4;
}
.state-val-ok[data-v-fdf84df1] {
color: #a6e3a1;
}
.state-val-err[data-v-fdf84df1] {
color: #f38ba8;
}
.state-val-warn[data-v-fdf84df1] {
color: #f9e2af;
}
/* 原始消息展示 */
.debug-raw-box[data-v-fdf84df1] {
max-height: 12.5rem;
background: rgba(0, 0, 0, 0.25);
border-radius: 0.375rem;
padding: 0.5rem;
overflow-y: auto;
}
.debug-json[data-v-fdf84df1] {
font-size: 0.625rem;
color: #bac2de;
font-family: 'Courier New', monospace;
white-space: pre-wrap;
word-break: break-all;
line-height: 1.5;
}
.debug-empty[data-v-fdf84df1] {
font-size: 0.6875rem;
color: #585b70;
font-style: italic;
padding: 0.375rem 0;
}
/* 本轮消息列表项 */
.debug-round-item[data-v-fdf84df1] {
padding: 0.375rem 0;
border-bottom: 0.03125rem solid rgba(255, 255, 255, 0.04);
}
.debug-round-item[data-v-fdf84df1]:last-child {
border-bottom: none;
}
.debug-round-index[data-v-fdf84df1] {
font-size: 0.6875rem;
color: #f5c2e7;
font-weight: 600;
margin-bottom: 0.1875rem;
}
.debug-round-time[data-v-fdf84df1] {
font-size: 0.625rem;
color: #585b70;
font-weight: 400;
margin-left: 0.375rem;
}
/**
* 这里是uni-app内置的常用样式变量
*