246 lines
16 KiB
HTML
246 lines
16 KiB
HTML
<!doctype html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<style>
|
||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||
:root {
|
||
--primary: #f26a33; --primary-strong: #d94f1f; --primary-soft: #fff0e7; --primary-tint: #fff7f2;
|
||
--primary-rgb: 242,106,51; --ink: #342019; --muted: #7d6256; --muted-soft: #a98f80;
|
||
--line: rgba(89,51,34,.1); --line-strong: rgba(89,51,34,.16);
|
||
--paper: #fbf7f2; --canvas: #f5eee7;
|
||
--green: #19a974; --green-soft: #e5f8f0; --orange: #ee844c; --orange-soft: #fff0e7;
|
||
--red: #e65a62; --red-soft: #ffeaeb; --violet: #7668e8; --violet-soft: #efedff;
|
||
}
|
||
body { width: 1320px; background: var(--canvas); color: var(--ink);
|
||
font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 14px; font-weight: 540;
|
||
padding: 30px 40px 44px; }
|
||
h1 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
|
||
.sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
|
||
h2 { font-size: 15px; font-weight: 700; margin: 30px 0 10px; color: var(--primary-strong); }
|
||
h2 span { color: var(--muted-soft); font-weight: 540; font-size: 12.5px; margin-left: 8px; }
|
||
.app { background: #fffdfb; border: 1px solid var(--line); border-radius: 16px;
|
||
box-shadow: 0 14px 34px rgba(89,51,34,.08); overflow: hidden; padding: 26px 30px 24px; }
|
||
.eyebrow { color: var(--primary-strong); font-size: 12px; font-weight: 650; letter-spacing: .12em; }
|
||
.title { font-size: 22px; font-weight: 720; margin: 6px 0 4px; }
|
||
.desc { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
|
||
.btn { border-radius: 10px; padding: 10px 18px; font-size: 13.5px; font-weight: 620;
|
||
border: 1px solid var(--line); background: #fff; color: var(--ink); }
|
||
.btn.primary { background: linear-gradient(145deg, #ff9664, var(--primary) 55%, var(--primary-strong));
|
||
color: #fff; border: none; box-shadow: 0 6px 14px rgba(var(--primary-rgb),.25); }
|
||
.btn.ghost { border-color: rgba(var(--primary-rgb),.3); color: var(--primary-strong); }
|
||
.btn.sm { padding: 6px 12px; font-size: 12.5px; border-radius: 9px; }
|
||
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 16px 18px; }
|
||
|
||
/* status hero */
|
||
.hero { display: flex; align-items: center; gap: 22px; border-radius: 14px; padding: 18px 22px; }
|
||
.hero.ok { background: linear-gradient(135deg, var(--green-soft), #f2fbf7); border: 1px solid rgba(25,169,116,.35); }
|
||
.hero.warn { background: linear-gradient(135deg, var(--orange-soft), #fff8f2); border: 1px solid rgba(238,132,76,.4); }
|
||
.shield { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center;
|
||
justify-content: center; font-size: 26px; color: #fff; flex: 0 0 auto; }
|
||
.shield.ok { background: linear-gradient(145deg, #35c48d, var(--green)); box-shadow: 0 6px 14px rgba(25,169,116,.3); }
|
||
.shield.warn { background: linear-gradient(145deg, #ffab77, var(--orange)); box-shadow: 0 6px 14px rgba(238,132,76,.3); }
|
||
.hero-main { flex: 1 1 auto; }
|
||
.hero-main b { font-size: 17px; font-weight: 700; display: block; }
|
||
.hero-main .who { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
|
||
.hero-main .who em { font-style: normal; color: var(--primary-strong); font-weight: 640; }
|
||
.chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
|
||
.chip { font-size: 11.5px; border-radius: 999px; padding: 3px 10px; background: #fff;
|
||
border: 1px solid var(--line); color: var(--muted); }
|
||
.chip.ok { color: var(--green); border-color: rgba(25,169,116,.35); background: var(--green-soft); }
|
||
.chip.warn { color: #b06a24; border-color: rgba(238,132,76,.45); background: var(--orange-soft); }
|
||
.hero-acts { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
|
||
|
||
/* scan grid */
|
||
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 14px; }
|
||
.scan-card { display: flex; flex-direction: column; gap: 8px; }
|
||
.scan-card .ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center;
|
||
justify-content: center; font-size: 16px; }
|
||
.scan-card b { font-size: 14.5px; }
|
||
.scan-card small { color: var(--muted); font-size: 12px; line-height: 1.5; flex: 1 1 auto; }
|
||
|
||
/* cleanbar reuse */
|
||
.cleanbar { border: 1px solid rgba(var(--primary-rgb),.4); border-radius: 12px; padding: 12px 16px;
|
||
background: #fff; margin-top: 14px; box-shadow: 0 8px 22px rgba(var(--primary-rgb),.12); }
|
||
.cb-row { display: flex; align-items: center; gap: 12px; }
|
||
.cb-row b { font-size: 14px; font-weight: 650; }
|
||
.cb-cur { font-family: Consolas, monospace; font-size: 11.5px; color: var(--muted-soft); margin-top: 3px; }
|
||
.pct { margin-left: auto; font-family: Consolas, monospace; color: var(--primary-strong); font-weight: 700; }
|
||
.track { height: 10px; border-radius: 999px; background: rgba(89,51,34,.08); margin-top: 10px; overflow: hidden; }
|
||
.fill { height: 100%; width: 44%; border-radius: 999px;
|
||
background: repeating-linear-gradient(115deg, rgba(255,255,255,.28) 0 10px, rgba(255,255,255,0) 10px 24px),
|
||
linear-gradient(90deg, #ff9a68, var(--primary)); }
|
||
|
||
/* threats */
|
||
.threats { margin-top: 14px; border: 1px solid rgba(230,90,98,.35); border-radius: 12px;
|
||
background: var(--red-soft); padding: 12px 16px; }
|
||
.threats h3 { font-size: 13.5px; color: #a33a42; margin-bottom: 8px; }
|
||
.trow { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-top: 1px dashed rgba(230,90,98,.25); font-size: 12.5px; }
|
||
.trow .fam { color: #fff; background: var(--red); border-radius: 6px; padding: 1px 8px; font-family: Consolas, monospace; font-size: 11px; }
|
||
.trow .p { flex: 1 1 auto; font-family: Consolas, monospace; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.trow .eng { font-size: 11px; color: var(--violet); background: var(--violet-soft); border-radius: 999px; padding: 1px 8px; }
|
||
|
||
/* realtime feed */
|
||
.rt { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 16px; }
|
||
.rt h3 { font-size: 13px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
|
||
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(25,169,116,.18); }
|
||
.rt-row { display: flex; gap: 10px; font-family: Consolas, monospace; font-size: 12px; color: var(--muted);
|
||
padding: 5px 0; border-top: 1px dashed var(--line); align-items: center; }
|
||
.rt-row .st { font-size: 11px; border-radius: 999px; padding: 1px 8px; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
|
||
.rt-row .st.clean { color: var(--green); background: var(--green-soft); }
|
||
.rt-row .st.hot { color: #fff; background: var(--red); }
|
||
.rt-row time { color: var(--muted-soft); font-size: 11px; flex: 0 0 52px; }
|
||
.rt-row .f { flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
|
||
/* takeover card */
|
||
.take { margin-top: 14px; border: 1px solid rgba(var(--primary-rgb),.35); border-radius: 14px;
|
||
background: linear-gradient(135deg, var(--primary-tint), #fff); padding: 16px 18px; }
|
||
.take-row { display: flex; align-items: center; gap: 14px; }
|
||
.take b { font-size: 14.5px; }
|
||
.take small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; line-height: 1.55; }
|
||
.switch { margin-left: auto; width: 46px; height: 26px; border-radius: 999px; background: var(--primary);
|
||
position: relative; flex: 0 0 auto; box-shadow: inset 0 1px 3px rgba(0,0,0,.12); }
|
||
.switch::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
|
||
background: #fff; top: 3px; right: 3px; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
|
||
.take-detail { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
|
||
|
||
/* dialog */
|
||
.dlg-back { background: rgba(52,32,25,.4); border-radius: 16px; padding: 34px 60px; }
|
||
.dlg { max-width: 560px; margin: 0 auto; background: #fffdfb; border-radius: 16px;
|
||
box-shadow: 0 24px 60px rgba(52,32,25,.35); padding: 22px 26px; }
|
||
.dlg h3 { font-size: 16px; font-weight: 720; display: flex; align-items: center; gap: 10px; }
|
||
.dlg h3 .warn-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--orange);
|
||
color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
|
||
.dlg ul { margin: 12px 0 4px 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
|
||
.dlg ul li b { color: var(--ink); }
|
||
.dlg .conflict { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--orange-soft);
|
||
border: 1px solid rgba(238,132,76,.4); font-size: 12.5px; color: #8a5a2b; line-height: 1.6; }
|
||
.dlg .acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
|
||
.fine { color: var(--muted-soft); font-size: 11.5px; margin-top: 10px; }
|
||
|
||
.sec-title { font-size: 14px; font-weight: 700; margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; }
|
||
.sec-title small { color: var(--muted-soft); font-weight: 540; }
|
||
.two-col { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<h1>Squid 安全页 · ClamAV 引擎 + WSC 接管 产品方案图</h1>
|
||
<div class="sub">沿用应用主题与 CleanBar 交互语言;实时防护 = Squid 热点目录监控 + clamd 本地毫秒扫描(ClamWin/ClamShield 同架构)。</div>
|
||
|
||
<h2>① 安全页 · 平时状态 <span class="en">接管完成,绿态;顶部分区即"我管理着你"</span></h2>
|
||
<div class="app">
|
||
<div class="eyebrow">SECURITY</div>
|
||
<div class="title">安全查杀</div>
|
||
<div class="desc">Squid 已接管 Windows 安全中心 · 实时防护守护 6 个高危目录 · 双引擎按需查杀</div>
|
||
|
||
<div class="hero ok">
|
||
<div class="shield ok">🛡</div>
|
||
<div class="hero-main">
|
||
<b>设备正在受到保护 · 由 Squid 管理</b>
|
||
<div class="who">Windows 安全中心显示:「病毒和威胁防护由于 <em>Squid</em> 提供,保持最新状态」· Windows Defender 已转为被动模式</div>
|
||
<div class="chips">
|
||
<span class="chip ok">● 实时防护 开(守护 6 目录)</span>
|
||
<span class="chip ok">ClamAV 库 2026-11-25 · 今日已更新</span>
|
||
<span class="chip ok">Defender 库 2026-11-25(被动,可用)</span>
|
||
<span class="chip">上次全盘 今天 09:30 · 未发现威胁</span>
|
||
</div>
|
||
</div>
|
||
<div class="hero-acts">
|
||
<button class="btn primary">快速查杀</button>
|
||
<button class="btn ghost">全盘查杀</button>
|
||
<button class="btn sm">脱机查杀(重启)</button>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sec-title">今日实时防护记录 <small>· 新文件落地即扫,共 1,214 个,1 个被拦截</small></div>
|
||
<div class="rt">
|
||
<h3><span class="live-dot"></span>热点目录实时监控 · 运行中(clamd 常驻 · 内存 320 MB · 空闲 5 分钟自动休眠)</h3>
|
||
<div class="rt-row"><time>17:42</time><span class="f">C:\Users\34798\Downloads\setup-x64(1).exe</span><span class="eng">ClamAV</span><span class="st hot">拦截:疑似打包器 PUA</span></div>
|
||
<div class="rt-row"><time>16:05</time><span class="f">D:\Temp\照片备份.7z → 解压 84 个文件</span><span class="eng">ClamAV</span><span class="st clean">安全 ×84</span></div>
|
||
<div class="rt-row"><time>13:11</time><span class="f">E:\(U盘)\投标书-final.docx</span><span class="eng">ClamAV</span><span class="st clean">安全</span></div>
|
||
</div>
|
||
|
||
<div class="take">
|
||
<div class="take-row">
|
||
<div>
|
||
<b>接管 Windows 安全中心</b>
|
||
<small>Squid 常驻后台,每 12 小时向安全中心报到(心跳);关闭开关将立刻注销,Windows Defender 自动恢复主动模式。</small>
|
||
</div>
|
||
<div class="switch"></div>
|
||
</div>
|
||
<div class="take-detail">
|
||
<span class="chip ok">WSC 登记 已生效</span>
|
||
<span class="chip ok">心跳 上次 17:00 · 正常</span>
|
||
<span class="chip">开机自启 开</span>
|
||
<span class="chip">卸载将自动注销</span>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sec-title">引擎与病毒库</div>
|
||
<div class="grid3">
|
||
<div class="card scan-card">
|
||
<span class="ic" style="background:var(--violet-soft);color:var(--violet)">⚙</span>
|
||
<b>ClamAV 引擎(主)</b>
|
||
<small>程序 22 MB 已就绪 · 病毒库 main+daily 213 MB<br><span style="font-family:Consolas,monospace">TUNA 国内镜像:开</span></small>
|
||
<div><button class="btn sm">更新病毒库</button> <button class="btn sm">管理</button></div>
|
||
</div>
|
||
<div class="card scan-card">
|
||
<span class="ic" style="background:var(--green-soft);color:var(--green)">✓</span>
|
||
<b>Windows Defender(第二意见)</b>
|
||
<small>被动模式随时候命:全盘可交给它跑一遍,与 ClamAV 结果互补;库更新由系统托管。</small>
|
||
<div><button class="btn sm ghost">用 Defender 全盘复查</button></div>
|
||
</div>
|
||
<div class="card scan-card">
|
||
<span class="ic" style="background:var(--primary-soft);color:var(--primary-strong)">⏱</span>
|
||
<b>计划任务</b>
|
||
<small>每天 09:30 快速查杀(启动项/服务/下载/浏览器目录);每周日全盘。错过不补跑,合盖休眠自动顺延。</small>
|
||
<div><button class="btn sm">调整计划</button></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<h2>② 查杀进行中 + 发现威胁 <span class="en">复用 CleanBar;威胁行带引擎来源徽标</span></h2>
|
||
<div class="app">
|
||
<div class="sec-title" style="margin-top:0">全盘查杀 · 引擎 ClamAV(库已加载内存)</div>
|
||
<div class="cleanbar">
|
||
<div class="cb-row">
|
||
<span style="color:var(--primary);font-size:16px">◌</span>
|
||
<div>
|
||
<b>正在扫描 486,213 / 1,102,908 个文件 · 已用 6 分 12 秒</b>
|
||
<div class="cb-cur">当前:C:\Users\34798\Documents\客户资料\合同-2023.zip · 发现威胁 2 · 已跳过压缩包内层 12,401</div>
|
||
</div>
|
||
<span class="pct">44%</span>
|
||
<button class="btn sm" style="margin-left:12px">暂停</button>
|
||
</div>
|
||
<div class="track"><div class="fill"></div></div>
|
||
</div>
|
||
<div class="threats">
|
||
<h3>发现 2 个威胁(处理前不会动它们)</h3>
|
||
<div class="trow"><span class="fam">Eicar-Test-Signature</span><span class="p">C:\Users\34798\Downloads\clamavtest\eicar.txt</span><span class="eng">ClamAV</span><button class="btn sm">定位</button><button class="btn sm ghost">隔离</button></div>
|
||
<div class="trow"><span class="fam">Trojan.GenericKD.46872</span><span class="p">D:\Soft\crack\patcher.exe</span><span class="eng">Defender 复查</span><button class="btn sm">定位</button><button class="btn sm ghost">隔离</button></div>
|
||
</div>
|
||
<p class="fine">隔离 = 移入 Squid 私有隔离区(可一键还原,同「历史」体系);不直接删除,避免误杀炸裂。</p>
|
||
</div>
|
||
|
||
<h2>③ 开启接管时的确认弹窗 <span class="en">诚实告知:Defender 转被动,Squid 顶上</span></h2>
|
||
<div class="app" style="padding:0">
|
||
<div class="dlg-back">
|
||
<div class="dlg">
|
||
<h3><span class="warn-ic">!</span>接管 Windows 安全中心?</h3>
|
||
<ul>
|
||
<li>「Windows 安全中心」将显示 <b>由 Squid 提供保护</b>;</li>
|
||
<li><b>Windows Defender 实时防护转为被动</b>,改由 Squid 热点实时监控 + ClamAV 引擎顶上;</li>
|
||
<li>Defender 引擎仍保留,可作全盘复查的<b>第二意见</b>;</li>
|
||
<li>Squid 需要<b>开机常驻</b>(托盘,内存约 40 MB + clamd 320 MB),关闭开关或卸载即自动还原。</li>
|
||
</ul>
|
||
<div class="conflict">检测到本机当前由「<b>腾讯电脑管家</b>」接管安全中心。开启前请先在管家中关闭「病毒防护」,否则两个产品会互相挤占登记。 <button class="btn sm">打开管家设置</button></div>
|
||
<div class="acts">
|
||
<button class="btn">保持现状</button>
|
||
<button class="btn primary">确认接管</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html>
|