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',