Files
Mycontent/.next/server/chunks/ssr/_9a52d597._.js
2025-12-29 14:01:37 +08:00

3 lines
4.4 KiB
JavaScript

module.exports=[4720,a=>{"use strict";let b=(0,a.i(70106).default)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);a.s(["FileText",()=>b],4720)},11156,a=>{"use strict";let b=(0,a.i(70106).default)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);a.s(["CreditCard",()=>b],11156)},20005,a=>{"use strict";let b=(0,a.i(70106).default)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);a.s(["LogOut",()=>b],20005)},21161,a=>{"use strict";let b=(0,a.i(70106).default)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["Settings",()=>b],21161)},78170,a=>{"use strict";var b=a.i(87924),c=a.i(38246),d=a.i(50944),e=a.i(70106);let f=(0,e.default)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);var g=a.i(4720),h=a.i(60246),i=a.i(11156);let j=(0,e.default)("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);var k=a.i(21161),l=a.i(20005),m=a.i(68515),n=a.i(72131);function o({children:a}){let e=(0,d.usePathname)(),o=(0,d.useRouter)(),{user:p,isLoggedIn:q}=(0,m.useStore)();(0,n.useEffect)(()=>{},[q,o]);let r=[{icon:f,label:"数据概览",href:"/admin"},{icon:g.FileText,label:"内容管理",href:"/admin/content"},{icon:h.Users,label:"用户管理",href:"/admin/users"},{icon:i.CreditCard,label:"支付配置",href:"/admin/payment"},{icon:j,label:"二维码",href:"/admin/qrcodes"},{icon:k.Settings,label:"系统设置",href:"/admin/settings"}];return(0,b.jsxs)("div",{className:"flex min-h-screen bg-[#0f172a]",children:[(0,b.jsxs)("div",{className:"w-64 bg-[#1e293b] text-white flex flex-col border-r border-gray-800",children:[(0,b.jsxs)("div",{className:"p-6 border-b border-gray-800",children:[(0,b.jsx)("h1",{className:"text-xl font-bold text-[#38bdac]",children:"管理后台"}),(0,b.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:"Soul创业实验场"})]}),(0,b.jsx)("nav",{className:"flex-1 p-4 space-y-2",children:r.map(a=>{let d=e===a.href;return(0,b.jsxs)(c.default,{href:a.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${d?"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/20":"text-gray-400 hover:bg-gray-800 hover:text-white"}`,children:[(0,b.jsx)(a.icon,{className:"w-5 h-5"}),(0,b.jsx)("span",{className:"text-sm font-medium",children:a.label})]},a.href)})}),(0,b.jsx)("div",{className:"p-4 border-t border-gray-800",children:(0,b.jsxs)(c.default,{href:"/my",className:"flex items-center gap-3 px-4 py-3 text-gray-400 hover:text-white rounded-lg hover:bg-gray-800 transition-colors",children:[(0,b.jsx)(l.LogOut,{className:"w-5 h-5"}),(0,b.jsx)("span",{className:"text-sm font-medium",children:"返回前台"})]})})]}),(0,b.jsx)("div",{className:"flex-1 overflow-auto bg-[#0f172a]",children:a})]})}a.s(["default",()=>o],78170)}];
//# sourceMappingURL=_9a52d597._.js.map