feat: 采集插件样式修改

This commit is contained in:
R524809
2026-08-26 17:38:18 +08:00
parent 0199c7b12f
commit 0e8fc4ebe0
3 changed files with 44 additions and 9 deletions
+3 -5
View File
@@ -11,7 +11,7 @@
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { createRoot } from 'react-dom/client';
import { App as AntApp, ConfigProvider, Popover, Progress, Select } from 'antd';
import { SettingOutlined, DownloadOutlined, ThunderboltOutlined, UploadOutlined, CloseOutlined } from '@ant-design/icons';
import { SettingOutlined, DownloadOutlined, ThunderboltOutlined, UploadOutlined } from '@ant-design/icons';
import type { ScanResult, ImageMaterial } from '../../src/collector/scan';
import { cleanFilename } from '../../src/collector/url';
import {
@@ -671,11 +671,9 @@ const App: React.FC = () => {
return (
<div className="page">
{/* ── 顶栏 ── */}
{/* ── 顶栏 ──(页内模式的收起 ✕ 按钮在宿主层渲染:要骑在面板边缘、一半在面板外,
iframe 会裁剪内容,按钮必须在 iframe 外;Esc 关闭仍走 closePanel */}
<div className="topbar">
{IN_PAGE && (
<button className="icon-btn" title="收起面板(Esc" onClick={closePanel}><CloseOutlined /></button>
)}
<div className="logo"></div>
<div>
<h1></h1>