refactor(ui): [UI8] 彻底移除遗留Card并补充下拉框中文化

这个提交包含在:
2026-03-06 10:09:18 +08:00
父节点 5a6a6f67c9
当前提交 3883f14a48
共修改 25 个文件,包含 87 行新增和 95 行删除
+4 -5
查看文件
@@ -7,7 +7,6 @@ import { isApiError } from "../api/types";
import { PageHeader } from "../components/common/PageHeader";
import { Button } from "../components/ui/button";
import { Spinner } from "../components/ui/spinner";
import { Card } from "../components/ui/card";
import {
enqueueInvoiceUpload,
listQueuedInvoiceUploads,
@@ -140,7 +139,7 @@ export function MobileCapturePage() {
<p className="rounded-lg border border-emerald-200 bg-emerald-50 px-3 py-2 text-sm text-emerald-700">{message}</p>
) : null}
<Card className="space-y-3 p-4">
<div className="card-std space-y-3 p-4">
<div className="flex items-center justify-between">
<h3 className="text-base font-semibold text-zinc-900">拍照/选择文件</h3>
<span className={isOnline ? "text-emerald-600" : "text-orange-600"}>
@@ -212,9 +211,9 @@ export function MobileCapturePage() {
{syncMutation.isPending ? "同步中..." : "同步队列"}
</Button>
</div>
</Card>
</div>
<Card className="space-y-3 p-4" data-testid="mobile-capture-queue">
<div className="card-std space-y-3 p-4" data-testid="mobile-capture-queue">
<div className="flex items-center justify-between">
<h3 className="text-base font-semibold text-zinc-900">离线上传队列</h3>
<span className="text-sm text-zinc-500">{queuedCountLabel}</span>
@@ -246,7 +245,7 @@ export function MobileCapturePage() {
</div>
</div>
))}
</Card>
</div>
</div>
);
}