v1.3.0: 舆情驱动自动化(定期扫新闻→重要度评分→邮件通知) + 系统设置区(邮件SMTP/大模型接口/监控参数可配, 含测试邮件/测试LLM/立即扫描/通知日志)

This commit is contained in:
2026-08-19 21:29:42 +08:00
parent c05b1d54b3
commit e4f316efe7
10 changed files with 726 additions and 8 deletions
+14
View File
@@ -202,6 +202,20 @@ tr:hover td { background: rgba(59,130,246,.05); }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
/* ===== 设置页 ===== */
.settings-form .sf-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.settings-form .sf-row label { width: 110px; color: var(--text2); font-size: 13px; flex-shrink: 0; }
.settings-form .input { flex: 1; }
.chk-group { display: flex; gap: 14px; flex-wrap: wrap; padding: 6px 0; }
.chk-group label { display: flex; align-items: center; gap: 5px; color: var(--text); font-size: 13px; cursor: pointer; }
.chk-group input { accent-color: var(--accent); }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #262d3a; border-radius: 24px; transition: .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(20px); }
/* ===== 评分条 ===== */
.score-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.score-bar .sb-label { width: 36px; color: var(--text2); }