大量修改UI
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user