大量修改UI

This commit is contained in:
Azmat@qq.com
2026-08-19 17:44:56 +08:00
parent 18b3927817
commit a343f47f0c
76 changed files with 11655 additions and 6104 deletions
+6 -6
View File
@@ -313,7 +313,7 @@ export function TrashPage({ onRestore, onPurge, onRestoreProducts, onPurgeProduc
<div>
<h1></h1>
<div className="sub">
<span className="mono">// 已删除内容</span>
<span className="mono"></span>
<span>·</span>
<span>,()</span>
</div>
@@ -329,13 +329,13 @@ export function TrashPage({ onRestore, onPurge, onRestoreProducts, onPurgeProduc
{loading ? (
<SystemLoading title="正在加载数据" description="正在同步最新数据,请稍候。" icon="trash" />
) : isEmpty ? (
<div className="placeholder trash-empty"><span className="ph-frame">// 垃圾桶是空的</span></div>
<div className="placeholder trash-empty"><span className="ph-frame"></span></div>
) : (
<>
{errText && <div className="trash-err mono">// {errText}</div>}
{errText && <div className="trash-err mono">{errText}</div>}
{sections.map((section) => (
<div className="trash-section" key={section.key}>
<div className="trash-section-title mono">// {section.title} · {section.rows.length}</div>
<div className="trash-section-title mono">{section.title} · {section.rows.length}</div>
<div className="trash-list">
{section.rows.map((row) => {
const key = rowKey(row);
@@ -347,7 +347,7 @@ export function TrashPage({ onRestore, onPurge, onRestoreProducts, onPurgeProduc
</div>
<div className="trash-meta">
<div className="trash-name" title={row.title}>{row.title}</div>
<div className="trash-sub mono">// {row.subtitle}</div>
<div className="trash-sub mono">{row.subtitle}</div>
</div>
<div className="trash-actions">
{confirmId === key ? (
@@ -375,7 +375,7 @@ export function TrashPage({ onRestore, onPurge, onRestoreProducts, onPurgeProduc
<ConfirmModal
open={purgeAllOpen}
title="清空垃圾桶"
subtitle="// PURGE ALL"
detail="清空垃圾桶数据无法恢复,是否需要清空?"
confirmText="清空"
onCancel={() => setPurgeAllOpen(false)}