v1.0.4修复优化

This commit is contained in:
2026-05-06 17:25:06 +08:00
parent dec5f8c4d4
commit 2edf393b15
9 changed files with 717 additions and 586 deletions

View File

@@ -649,3 +649,125 @@ body {
font-size: 22px;
}
}
/* ========================================
工具类
======================================== */
.hidden { display: none !important; }
.ml-auto { margin-left: auto; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.full-width { width: 100%; }
.text-muted { color: var(--text-secondary); }
.text-xs { font-size: 12px; }
.text-center { text-align: center; }
.col-flex-2 { flex: 2; }
.col-flex-1 { flex: 1; }
/* 内联 SVG 图标对齐 */
.icon-inline {
vertical-align: -2px;
margin-right: 4px;
}
.icon-inline-md {
vertical-align: -4px;
margin-right: 8px;
}
/* ========================================
聊天页工具栏组件
======================================== */
.toolbar-think-label {
font-size: 12px;
color: var(--text-secondary);
}
.upload-btn {
background: none;
border: none;
color: var(--text-secondary);
cursor: pointer;
padding: 4px;
}
.settings-link {
margin-left: auto;
}
/* ========================================
配置页组件
======================================== */
.config-add-btn {
margin-top: 12px;
}
.config-section h3 {
margin-top: 20px;
margin-bottom: 16px;
font-size: 15px;
font-weight: 600;
}
.config-empty {
color: var(--text-secondary);
}
.config-provider-card {
background: var(--bg-secondary);
padding: 16px;
border-radius: var(--radius);
margin-bottom: 12px;
}
.config-provider-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.config-provider-header strong {
font-size: 15px;
}
.config-provider-header .toggle-switch {
margin-right: 8px;
}
.personality-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
background: var(--bg-secondary);
border-radius: var(--radius);
margin-bottom: 8px;
}
.personality-icon {
margin-right: 4px;
}
.personality-badge {
font-size: 12px;
margin-left: 8px;
}
.personality-badge.preset {
color: var(--warning);
}
.personality-badge.custom {
color: var(--success);
}
/* 固定定位消息提示(配置页用) */
.toast-message {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
min-width: 200px;
}