Update App.jsx via upload script - 2026-10-23 10:54:46

This commit is contained in:
mike 2026-10-23 10:54:53 +08:00
parent 9659a9717f
commit 52e6bc7946
1 changed files with 13 additions and 1 deletions

14
App.jsx
View File

@ -5,8 +5,10 @@ import {
Building2, Globe, Phone, Save, RefreshCw, LayoutDashboard, Users,
Package, Layers, Zap, Tag, Inbox, Paperclip,
Menu, LogOut, GripVertical, BookOpen, FileText, FolderTree, Lock, Sparkles, Printer, Image as ImageIcon,
ShieldCheck, Settings2, Boxes, Download, Wifi, Radio, QrCode, Folder, FolderPlus, Factory
ShieldCheck, Settings2, Boxes, Download, Wifi, Radio, QrCode, Folder, FolderPlus, Factory, UploadCloud
} from 'lucide-react';
import { MicUploadPage } from './mic-upload/MicUploadPage';
import { ImageToolPage } from './mic-upload/ImageToolPage';
import {
storageGet, storageSet, uploadFile, deleteFile,
authCheck, authLogin, authLogout, authChangePassword,
@ -2209,6 +2211,8 @@ const NAV_GROUPS = [
] },
{ id: 'website', label: '网站管理', icon: Globe },
{ id: 'backpanel', label: '后板图模板', icon: Settings2 },
{ id: 'mic-upload', label: 'MIC产品上传', icon: UploadCloud },
{ id: 'image-tool', label: '图像处理', icon: ImageIcon },
] },
];
const STANDALONE_NAV = [
@ -3927,6 +3931,14 @@ function MainApp({ username, onLogout }) {
</div>
)}
{view === 'mic-upload' && (
<MicUploadPage products={products} productCategories={productCategories} />
)}
{view === 'image-tool' && (
<ImageToolPage />
)}
{view === 'packspecs' && (
<PackSpecCenter specs={webPackSpecs} setSpecs={setWebPackSpecs} products={products} setProducts={setProducts} onNotify={notify} />
)}