feat(ui): 安全软件风格主题 + 三阶段进度/日志 + XLSX 支持

- 主面板:阶段1扫描全盘 → 阶段2抽样 → 阶段3抽检,每阶段独立进度条/已用时/分类型 chips

- 日志:按类型着色(命中红/未命中绿/警告黄/阶段青)

- 主题:暗绿底 + 鲜绿/青色强调,圆角胶囊按钮(material::security_dark)

- 抽检:SampleMode 枚举支持按份数/百分比/全部;设置页 C 组动态切换

- 抽检:XLSX 检查器(zip + quick-xml 解析 sharedStrings 与 sheet)

- 扫描:walker 进度回调(已访问、命中候选、当前目录)

- 兼容:quick-xml 0.36 使用 reader.config_mut().trim_text()

- 仓库:新增 .gitignore 忽略 venv/pyc/target/构建产物
This commit is contained in:
2026-06-10 12:20:25 +08:00
parent 31161d9a5f
commit 7e256c426f
43 changed files with 8529 additions and 59 deletions

40
.gitignore vendored Normal file
View File

@@ -0,0 +1,40 @@
# Rust 构建产物
/target/
**/*.rs.bk
Cargo.lock.bak
# 虚拟环境uv / venv / conda / python venv 等)
.venv/
venv/
env/
.python-version
__pypackages__/
# 编译/缓存目录
.cargo/
.maturin/
.pytest_cache/
.mypy_cache/
.ruff_cache/
# Python 字节码与缓存pyc / __pycache__
__pycache__/
**/__pycache__/
*.py[cod]
*$py.class
*.pyo
*.pyd
*.so
# 运行时产物
build.log
secret-file-selfcheck.exe
reports/
# IDE / 编辑器
.idea/
.vscode/
*.swp
*.swo
.DS_Store
Thumbs.db