From ed86d4b3673de3fee94d1389da8318f6bff42585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B2=E8=BE=B0=E7=94=9F=E4=BA=A7?= Date: Sat, 11 Apr 2026 23:37:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E6=93=8D=E4=BD=9C=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E4=B8=BA4=E4=B8=AA=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Home.jsx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/frontend/src/pages/Home.jsx b/frontend/src/pages/Home.jsx index 659dcdc..4031d7c 100644 --- a/frontend/src/pages/Home.jsx +++ b/frontend/src/pages/Home.jsx @@ -210,6 +210,34 @@ export default function Home() {
快捷操作
+
window.location.hash = '#/add?mode=ocr'} style={{ + background: 'linear-gradient(135deg, #22c55e 0%, #16a34a 100%)', + borderRadius: '12px', + padding: '16px', + cursor: 'pointer', + display: 'flex', + alignItems: 'center', + gap: '12px' + }}> +
+
AI识别
+
拍照识别藏品
+
+
+
window.location.hash = '#/add?mode=manual'} style={{ + background: 'linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)', + borderRadius: '12px', + padding: '16px', + cursor: 'pointer', + display: 'flex', + alignItems: 'center', + gap: '12px' + }}> +
+
手动录入
+
添加新藏品
+
+
window.location.hash = '#/news?type=seek'} style={{ background: 'linear-gradient(135deg, #f59e0b 0%, #d97706 100%)', borderRadius: '12px',