Update App.jsx via upload script - 2026-10-23 10:54:46
This commit is contained in:
parent
9659a9717f
commit
52e6bc7946
14
App.jsx
14
App.jsx
|
|
@ -5,8 +5,10 @@ import {
|
||||||
Building2, Globe, Phone, Save, RefreshCw, LayoutDashboard, Users,
|
Building2, Globe, Phone, Save, RefreshCw, LayoutDashboard, Users,
|
||||||
Package, Layers, Zap, Tag, Inbox, Paperclip,
|
Package, Layers, Zap, Tag, Inbox, Paperclip,
|
||||||
Menu, LogOut, GripVertical, BookOpen, FileText, FolderTree, Lock, Sparkles, Printer, Image as ImageIcon,
|
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';
|
} from 'lucide-react';
|
||||||
|
import { MicUploadPage } from './mic-upload/MicUploadPage';
|
||||||
|
import { ImageToolPage } from './mic-upload/ImageToolPage';
|
||||||
import {
|
import {
|
||||||
storageGet, storageSet, uploadFile, deleteFile,
|
storageGet, storageSet, uploadFile, deleteFile,
|
||||||
authCheck, authLogin, authLogout, authChangePassword,
|
authCheck, authLogin, authLogout, authChangePassword,
|
||||||
|
|
@ -2209,6 +2211,8 @@ const NAV_GROUPS = [
|
||||||
] },
|
] },
|
||||||
{ id: 'website', label: '网站管理', icon: Globe },
|
{ id: 'website', label: '网站管理', icon: Globe },
|
||||||
{ id: 'backpanel', label: '后板图模板', icon: Settings2 },
|
{ id: 'backpanel', label: '后板图模板', icon: Settings2 },
|
||||||
|
{ id: 'mic-upload', label: 'MIC产品上传', icon: UploadCloud },
|
||||||
|
{ id: 'image-tool', label: '图像处理', icon: ImageIcon },
|
||||||
] },
|
] },
|
||||||
];
|
];
|
||||||
const STANDALONE_NAV = [
|
const STANDALONE_NAV = [
|
||||||
|
|
@ -3927,6 +3931,14 @@ function MainApp({ username, onLogout }) {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{view === 'mic-upload' && (
|
||||||
|
<MicUploadPage products={products} productCategories={productCategories} />
|
||||||
|
)}
|
||||||
|
|
||||||
|
{view === 'image-tool' && (
|
||||||
|
<ImageToolPage />
|
||||||
|
)}
|
||||||
|
|
||||||
{view === 'packspecs' && (
|
{view === 'packspecs' && (
|
||||||
<PackSpecCenter specs={webPackSpecs} setSpecs={setWebPackSpecs} products={products} setProducts={setProducts} onNotify={notify} />
|
<PackSpecCenter specs={webPackSpecs} setSpecs={setWebPackSpecs} products={products} setProducts={setProducts} onNotify={notify} />
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue