Update soul-content project
This commit is contained in:
1
.next/static/chunks/0807431966d358fd.js
Normal file
1
.next/static/chunks/0807431966d358fd.js
Normal file
File diff suppressed because one or more lines are too long
7
.next/static/chunks/0eabfd70bd1a5254.js
Normal file
7
.next/static/chunks/0eabfd70bd1a5254.js
Normal file
File diff suppressed because one or more lines are too long
4
.next/static/chunks/112f346e31f991df.js
Normal file
4
.next/static/chunks/112f346e31f991df.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/247eb132b7f7b574.js
Normal file
1
.next/static/chunks/247eb132b7f7b574.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/304a702456ee24f9.js
Normal file
1
.next/static/chunks/304a702456ee24f9.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/35c10f3af004eee0.js
Normal file
1
.next/static/chunks/35c10f3af004eee0.js
Normal file
@@ -0,0 +1 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78583,e=>{"use strict";let t=(0,e.i(75254).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"}]]);e.s(["FileText",()=>t],78583)},61659,e=>{"use strict";let t=(0,e.i(75254).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"}]]);e.s(["CreditCard",()=>t],61659)},92270,e=>{"use strict";let t=(0,e.i(75254).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"}]]);e.s(["LogOut",()=>t],92270)},39616,e=>{"use strict";let t=(0,e.i(75254).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"}]]);e.s(["Settings",()=>t],39616)},8374,e=>{"use strict";var t=e.i(43476),a=e.i(22016),r=e.i(18566),l=e.i(75254);let i=(0,l.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 s=e.i(78583),h=e.i(61911),d=e.i(61659);let c=(0,l.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 n=e.i(39616),x=e.i(92270),y=e.i(4421),o=e.i(71645);function u({children:e}){let l=(0,r.usePathname)(),u=(0,r.useRouter)(),{user:f,isLoggedIn:m}=(0,y.useStore)();(0,o.useEffect)(()=>{},[m,u]);let g=[{icon:i,label:"数据概览",href:"/admin"},{icon:s.FileText,label:"内容管理",href:"/admin/content"},{icon:h.Users,label:"用户管理",href:"/admin/users"},{icon:d.CreditCard,label:"支付配置",href:"/admin/payment"},{icon:c,label:"二维码",href:"/admin/qrcodes"},{icon:n.Settings,label:"系统设置",href:"/admin/settings"}];return(0,t.jsxs)("div",{className:"flex min-h-screen bg-[#0f172a]",children:[(0,t.jsxs)("div",{className:"w-64 bg-[#1e293b] text-white flex flex-col border-r border-gray-800",children:[(0,t.jsxs)("div",{className:"p-6 border-b border-gray-800",children:[(0,t.jsx)("h1",{className:"text-xl font-bold text-[#38bdac]",children:"管理后台"}),(0,t.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:"Soul创业实验场"})]}),(0,t.jsx)("nav",{className:"flex-1 p-4 space-y-2",children:g.map(e=>{let r=l===e.href;return(0,t.jsxs)(a.default,{href:e.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${r?"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/20":"text-gray-400 hover:bg-gray-800 hover:text-white"}`,children:[(0,t.jsx)(e.icon,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:e.label})]},e.href)})}),(0,t.jsx)("div",{className:"p-4 border-t border-gray-800",children:(0,t.jsxs)(a.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,t.jsx)(x.LogOut,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"返回前台"})]})})]}),(0,t.jsx)("div",{className:"flex-1 overflow-auto bg-[#0f172a]",children:e})]})}e.s(["default",()=>u],8374)}]);
|
||||
1
.next/static/chunks/47dd925a689e8974.js
Normal file
1
.next/static/chunks/47dd925a689e8974.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/50498fd4f637beba.js
Normal file
1
.next/static/chunks/50498fd4f637beba.js
Normal file
@@ -0,0 +1 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10980,e=>{"use strict";let s=(0,e.i(75254).default)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",()=>s],10980)},69638,e=>{"use strict";let s=(0,e.i(75254).default)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",()=>s],69638)},73375,e=>{"use strict";let s=(0,e.i(75254).default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",()=>s],73375)},11724,e=>{"use strict";var s=e.i(43476),t=e.i(22016),a=e.i(73375),l=e.i(10980),r=e.i(69638),c=e.i(4421),i=e.i(98400);function d(){let{user:e,isLoggedIn:d}=(0,c.useStore)();if(!d||!e)return(0,s.jsx)("div",{className:"min-h-screen bg-[#0a1628] text-white flex items-center justify-center",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("p",{className:"text-gray-400 mb-4",children:"请先登录"}),(0,s.jsx)(t.default,{href:"/",className:"text-[#38bdac] hover:underline",children:"返回首页"})]})});let n=(0,i.getAllSections)(),x=e.hasFullBook?n.length:e.purchasedSections.length;return(0,s.jsxs)("div",{className:"min-h-screen bg-[#0a1628] text-white",children:[(0,s.jsx)("header",{className:"sticky top-0 z-50 bg-[#0a1628]/90 backdrop-blur-md border-b border-gray-800",children:(0,s.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-4 flex items-center",children:[(0,s.jsxs)(t.default,{href:"/",className:"flex items-center gap-2 text-gray-400 hover:text-white transition-colors",children:[(0,s.jsx)(a.ChevronLeft,{className:"w-5 h-5"}),(0,s.jsx)("span",{children:"返回"})]}),(0,s.jsx)("h1",{className:"flex-1 text-center text-lg font-semibold",children:"我的购买"}),(0,s.jsx)("div",{className:"w-16"})]})}),(0,s.jsxs)("main",{className:"max-w-4xl mx-auto px-4 py-8",children:[(0,s.jsx)("div",{className:"bg-[#0f2137]/60 backdrop-blur-md rounded-xl p-6 border border-gray-700/50 mb-8",children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("p",{className:"text-3xl font-bold text-white",children:x}),(0,s.jsx)("p",{className:"text-gray-400 text-sm",children:"已购买章节"})]}),(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("p",{className:"text-3xl font-bold text-[#38bdac]",children:e.hasFullBook?"全书":`${x}/${n.length}`}),(0,s.jsx)("p",{className:"text-gray-400 text-sm",children:e.hasFullBook?"已解锁":"进度"})]})]})}),e.hasFullBook?(0,s.jsxs)("div",{className:"bg-gradient-to-r from-[#38bdac]/20 to-[#0f2137] rounded-xl p-6 border border-[#38bdac]/30 text-center mb-8",children:[(0,s.jsx)(r.CheckCircle,{className:"w-12 h-12 text-[#38bdac] mx-auto mb-3"}),(0,s.jsx)("h3",{className:"text-xl font-semibold text-white mb-2",children:"您已购买整本书"}),(0,s.jsx)("p",{className:"text-gray-400",children:"全部55节内容已解锁,可随时阅读"})]}):0===e.purchasedSections.length?(0,s.jsxs)("div",{className:"text-center py-12",children:[(0,s.jsx)(l.BookOpen,{className:"w-16 h-16 text-gray-600 mx-auto mb-4"}),(0,s.jsx)("p",{className:"text-gray-400 mb-4",children:"您还没有购买任何章节"}),(0,s.jsx)(t.default,{href:"/chapters",className:"text-[#38bdac] hover:underline",children:"去浏览章节"})]}):(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h2",{className:"text-gray-400 text-sm mb-4",children:"已购买的章节"}),i.bookData.map(a=>{let l=a.chapters.flatMap(s=>s.sections.filter(s=>e.purchasedSections.includes(s.id)));return 0===l.length?null:(0,s.jsxs)("div",{className:"bg-[#0f2137]/40 rounded-xl border border-gray-800/50 overflow-hidden",children:[(0,s.jsx)("div",{className:"px-4 py-3 bg-[#0a1628]/50",children:(0,s.jsx)("p",{className:"text-gray-400 text-sm",children:a.title})}),(0,s.jsx)("div",{className:"divide-y divide-gray-800/30",children:l.map(e=>(0,s.jsxs)(t.default,{href:`/read/${e.id}`,className:"flex items-center gap-3 px-4 py-3 hover:bg-[#0f2137]/40 transition-colors",children:[(0,s.jsx)(r.CheckCircle,{className:"w-4 h-4 text-[#38bdac]"}),(0,s.jsx)("span",{className:"text-gray-400 font-mono text-sm",children:e.id}),(0,s.jsx)("span",{className:"text-gray-300",children:e.title})]},e.id))})]},a.id)})]})]})]})}e.s(["default",()=>d])}]);
|
||||
1
.next/static/chunks/52248436ebfd1ac6.js
Normal file
1
.next/static/chunks/52248436ebfd1ac6.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/601ee5ed4029ddd8.js
Normal file
1
.next/static/chunks/601ee5ed4029ddd8.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/61bc785dc6bd3109.js
Normal file
1
.next/static/chunks/61bc785dc6bd3109.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/623fec791c2076a3.js
Normal file
1
.next/static/chunks/623fec791c2076a3.js
Normal file
File diff suppressed because one or more lines are too long
2
.next/static/chunks/6740f161f60c6ab5.js
Normal file
2
.next/static/chunks/6740f161f60c6ab5.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/6dc746580cb0077f.js
Normal file
1
.next/static/chunks/6dc746580cb0077f.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/839312591da18c46.js
Normal file
1
.next/static/chunks/839312591da18c46.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/8485782743e33674.js
Normal file
1
.next/static/chunks/8485782743e33674.js
Normal file
File diff suppressed because one or more lines are too long
4
.next/static/chunks/8750dbd4a0424454.js
Normal file
4
.next/static/chunks/8750dbd4a0424454.js
Normal file
@@ -0,0 +1,4 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62031,e=>{"use strict";let s=(0,e.i(75254).default)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["Share2",()=>s],62031)},71689,e=>{"use strict";let s=(0,e.i(75254).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>s],71689)},78583,e=>{"use strict";let s=(0,e.i(75254).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"}]]);e.s(["FileText",()=>s],78583)},61659,e=>{"use strict";let s=(0,e.i(75254).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"}]]);e.s(["CreditCard",()=>s],61659)},14287,e=>{"use strict";var s=e.i(43476),a=e.i(22016),l=e.i(71689),c=e.i(61659),t=e.i(62031),d=e.i(78583);let i=(0,e.i(75254).default)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);function x(){return(0,s.jsxs)("main",{className:"min-h-screen bg-[#0a1628] text-white pb-20",children:[(0,s.jsx)("div",{className:"sticky top-0 z-10 bg-[#0a1628]/95 backdrop-blur-md border-b border-gray-700/50",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto flex items-center gap-4 p-4",children:[(0,s.jsx)(a.default,{href:"/",className:"p-2 -ml-2",children:(0,s.jsx)(l.ArrowLeft,{className:"w-5 h-5"})}),(0,s.jsx)("h1",{className:"text-lg font-semibold",children:"开发者文档"})]})}),(0,s.jsx)("div",{className:"p-4",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto space-y-6",children:[(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(c.CreditCard,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"支付配置"})]}),(0,s.jsxs)("div",{className:"space-y-4 text-gray-300 text-sm",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-white font-medium mb-2",children:"微信支付配置"}),(0,s.jsx)("p",{className:"mb-2",children:"1. 登录微信开放平台获取网站AppID和AppSecret"}),(0,s.jsx)("p",{className:"mb-2",children:"2. 登录微信公众平台获取服务号AppID和AppSecret"}),(0,s.jsx)("p",{className:"mb-2",children:"3. 登录微信商户平台获取商户号和API密钥"}),(0,s.jsx)("div",{className:"bg-[#0a1628] rounded-lg p-3 mt-2",children:(0,s.jsx)("code",{className:"text-xs text-gray-400",children:`网站AppID: wx432c93e275548671
|
||||
服务号AppID: wx7c0dbf34ddba300d
|
||||
商户号: 1318592501`})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-white font-medium mb-2",children:"支付宝配置"}),(0,s.jsx)("p",{className:"mb-2",children:"1. 登录支付宝开放平台获取合作者身份PID"}),(0,s.jsx)("p",{className:"mb-2",children:"2. 获取安全校验码Key"}),(0,s.jsx)("p",{className:"mb-2",children:"3. 开通手机网站支付功能"}),(0,s.jsx)("div",{className:"bg-[#0a1628] rounded-lg p-3 mt-2",children:(0,s.jsx)("code",{className:"text-xs text-gray-400",children:`合作者身份(PID): 2088511801157159
|
||||
安全校验码(Key): lz6ey1h3kl9...`})})]})]})]}),(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(t.Share2,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"分销机制"})]}),(0,s.jsxs)("div",{className:"space-y-4 text-gray-300 text-sm",children:[(0,s.jsx)("p",{children:"分销比例可在后台自由设置(0-100%)"}),(0,s.jsxs)("div",{className:"bg-[#0a1628] rounded-lg p-4",children:[(0,s.jsx)("p",{className:"text-white mb-2",children:"收益计算公式:"}),(0,s.jsx)("code",{className:"text-[#38bdac]",children:"分销收益 = 订单金额 × 分销比例%"})]}),(0,s.jsx)("p",{children:"例: 用户A通过B的邀请码购买¥9.9整本书,分销比例90%"}),(0,s.jsx)("p",{children:"则B获得 9.9 × 90% = ¥8.91 收益"})]})]}),(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(d.FileText,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"提现说明"})]}),(0,s.jsxs)("div",{className:"space-y-3 text-gray-300 text-sm",children:[(0,s.jsx)("p",{children:"1. 最低提现金额: ¥10"}),(0,s.jsx)("p",{children:"2. 提现周期: T+1到账"}),(0,s.jsx)("p",{children:"3. 支持提现方式: 微信、支付宝、银行卡"}),(0,s.jsx)("p",{children:"4. 提现手续费: 0%"})]})]}),(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(i,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"API接口"})]}),(0,s.jsxs)("div",{className:"space-y-4 text-gray-300 text-sm",children:[(0,s.jsxs)("div",{className:"bg-[#0a1628] rounded-lg p-4",children:[(0,s.jsx)("p",{className:"text-gray-400 mb-2",children:"获取章节内容"}),(0,s.jsx)("code",{className:"text-[#38bdac]",children:"GET /api/content?id=1.1"})]}),(0,s.jsxs)("div",{className:"bg-[#0a1628] rounded-lg p-4",children:[(0,s.jsx)("p",{className:"text-gray-400 mb-2",children:"飞书文档同步"}),(0,s.jsx)("code",{className:"text-[#38bdac]",children:"POST /api/feishu/sync"})]})]})]})]})})]})}e.s(["default",()=>x],14287)}]);
|
||||
1
.next/static/chunks/a0ad5d1c9ae595c9.js
Normal file
1
.next/static/chunks/a0ad5d1c9ae595c9.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/a6dad97d9634a72d.js
Normal file
1
.next/static/chunks/a6dad97d9634a72d.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/a75ec127b50a39e0.js
Normal file
1
.next/static/chunks/a75ec127b50a39e0.js
Normal file
File diff suppressed because one or more lines are too long
3
.next/static/chunks/afe8faf364b399b5.js
Normal file
3
.next/static/chunks/afe8faf364b399b5.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/c462f7822a1dbf4e.js
Normal file
1
.next/static/chunks/c462f7822a1dbf4e.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/c645af7d6b65f73e.js
Normal file
1
.next/static/chunks/c645af7d6b65f73e.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/c7dc4be22eec1a00.js
Normal file
1
.next/static/chunks/c7dc4be22eec1a00.js
Normal file
@@ -0,0 +1 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,43432,e=>{"use strict";let s=(0,e.i(75254).default)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);e.s(["Phone",()=>s],43432)},71689,e=>{"use strict";let s=(0,e.i(75254).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>s],71689)},34538,e=>{"use strict";var s=e.i(43476),a=e.i(71645),t=e.i(22016),l=e.i(71689),r=e.i(43432),d=e.i(75254);let c=(0,d.default)("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]),i=(0,d.default)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]),n=(0,d.default)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var x=e.i(4421);function h(){let{user:e,updateUser:d}=(0,x.useStore)(),[h,m]=(0,a.useState)(e?.nickname||""),[o,u]=(0,a.useState)(!1);return(0,s.jsxs)("main",{className:"min-h-screen bg-[#0a1628] text-white pb-20",children:[(0,s.jsx)("div",{className:"sticky top-0 z-10 bg-[#0a1628]/95 backdrop-blur-md border-b border-gray-700/50",children:(0,s.jsxs)("div",{className:"max-w-md mx-auto flex items-center gap-4 p-4",children:[(0,s.jsx)(t.default,{href:"/my",className:"p-2 -ml-2",children:(0,s.jsx)(l.ArrowLeft,{className:"w-5 h-5"})}),(0,s.jsx)("h1",{className:"text-lg font-semibold",children:"账户设置"})]})}),(0,s.jsx)("div",{className:"p-4",children:(0,s.jsxs)("div",{className:"max-w-md mx-auto space-y-4",children:[(0,s.jsxs)("div",{className:"bg-[#0f2137]/60 rounded-xl p-4",children:[(0,s.jsx)("h3",{className:"text-gray-400 text-sm mb-4",children:"个人信息"}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-gray-400 text-xs",children:"昵称"}),(0,s.jsx)("input",{type:"text",value:h,onChange:e=>m(e.target.value),className:"w-full bg-[#0a1628] border border-gray-700 rounded-lg px-4 py-3 text-white mt-1"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-gray-400 text-xs",children:"手机号"}),(0,s.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,s.jsx)(r.Phone,{className:"w-4 h-4 text-gray-500"}),(0,s.jsx)("span",{className:"text-gray-400",children:e?.phone})]})]})]}),(0,s.jsx)("button",{onClick:()=>{e&&(d(e.id,{nickname:h}),u(!0),setTimeout(()=>u(!1),2e3))},className:"w-full mt-4 bg-[#38bdac] hover:bg-[#2da396] text-white py-3 rounded-lg font-medium",children:o?"已保存":"保存修改"})]}),(0,s.jsxs)("div",{className:"bg-[#0f2137]/60 rounded-xl overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-gray-700/30",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(c,{className:"w-5 h-5 text-gray-400"}),(0,s.jsx)("span",{children:"消息通知"})]}),(0,s.jsx)("div",{className:"w-10 h-5 bg-[#38bdac] rounded-full relative",children:(0,s.jsx)("div",{className:"w-4 h-4 bg-white rounded-full absolute right-0.5 top-0.5"})})]}),(0,s.jsx)("div",{className:"flex items-center justify-between p-4 border-b border-gray-700/30",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(i,{className:"w-5 h-5 text-gray-400"}),(0,s.jsx)("span",{children:"隐私设置"})]})}),(0,s.jsx)(t.default,{href:"/docs",className:"flex items-center justify-between p-4",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(n,{className:"w-5 h-5 text-gray-400"}),(0,s.jsx)("span",{children:"帮助文档"})]})})]})]})})]})}e.s(["default",()=>h],34538)}]);
|
||||
1
.next/static/chunks/cc5ddd6137d15fc4.js
Normal file
1
.next/static/chunks/cc5ddd6137d15fc4.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/ccd44a2583bb8cb2.js
Normal file
1
.next/static/chunks/ccd44a2583bb8cb2.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/d45102bc42ee8979.js
Normal file
1
.next/static/chunks/d45102bc42ee8979.js
Normal file
@@ -0,0 +1 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23750,e=>{"use strict";var t=e.i(43476),s=e.i(47163);function a({className:e,type:a,...r}){return(0,t.jsx)("input",{type:a,"data-slot":"input",className:(0,s.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}e.s(["Input",()=>a])},70756,e=>{"use strict";let t=(0,e.i(75254).default)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",()=>t],70756)},7156,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(18566),r=e.i(70756),i=e.i(84614),l=e.i(67881),n=e.i(23750),d=e.i(4421);function c(){let e=(0,a.useRouter)(),{adminLogin:c}=(0,d.useStore)(),[o,x]=(0,s.useState)(""),[u,m]=(0,s.useState)(""),[h,b]=(0,s.useState)(""),p=()=>{b(""),c(o,u)?e.push("/admin"):b("用户名或密码错误")};return(0,t.jsx)("div",{className:"min-h-screen bg-[#0a1628] text-white flex items-center justify-center p-4",children:(0,t.jsxs)("div",{className:"w-full max-w-md",children:[(0,t.jsxs)("div",{className:"text-center mb-8",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold text-white mb-2",children:"管理后台"}),(0,t.jsx)("p",{className:"text-gray-500",children:"一场SOUL的创业实验场"})]}),(0,t.jsxs)("div",{className:"bg-[#0f2137] rounded-2xl p-8 border border-gray-700/50",children:[(0,t.jsx)("h2",{className:"text-xl font-semibold text-white mb-6 text-center",children:"管理员登录"}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-gray-400 text-sm mb-2",children:"用户名"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(i.User,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),(0,t.jsx)(n.Input,{type:"text",value:o,onChange:e=>x(e.target.value),placeholder:"请输入用户名",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-gray-400 text-sm mb-2",children:"密码"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(r.Lock,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),(0,t.jsx)(n.Input,{type:"password",value:u,onChange:e=>m(e.target.value),placeholder:"请输入密码",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",onKeyDown:e=>"Enter"===e.key&&p()})]})]}),h&&(0,t.jsx)("p",{className:"text-red-400 text-sm",children:h}),(0,t.jsx)(l.Button,{onClick:p,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white py-5",children:"登录"})]}),(0,t.jsx)("p",{className:"text-gray-500 text-xs text-center mt-6",children:"默认账号: admin / key123456"})]})]})})}e.s(["default",()=>c])}]);
|
||||
1
.next/static/chunks/d4d197e7bc986f3d.js
Normal file
1
.next/static/chunks/d4d197e7bc986f3d.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/dc8def457c0ae311.js
Normal file
1
.next/static/chunks/dc8def457c0ae311.js
Normal file
File diff suppressed because one or more lines are too long
3
.next/static/chunks/e161cf6bbf64fde4.css
Normal file
3
.next/static/chunks/e161cf6bbf64fde4.css
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/e71c3990ed4243cb.js
Normal file
1
.next/static/chunks/e71c3990ed4243cb.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/ed21a33e2047f441.js
Normal file
1
.next/static/chunks/ed21a33e2047f441.js
Normal file
@@ -0,0 +1 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18574,e=>{"use strict";var t=e.i(43476),s=e.i(71645),r=e.i(18566);function a(){let e=(0,r.useSearchParams)().get("path")||"/",[a,i]=(0,s.useState)(!1),[l,o]=(0,s.useState)(!1),[d,n]=(0,s.useState)(null),c=(0,s.useMemo)(()=>e.startsWith("/")?e:`/${e}`,[e]);return(0,s.useEffect)(()=>{i(!1),o(!1),n(null);let e=window.setTimeout(()=>{a||o(!0)},6e4);return()=>window.clearTimeout(e)},[c,a]),(0,t.jsxs)("main",{className:"min-h-screen bg-white flex items-center justify-center",children:[(0,t.jsxs)("div",{className:"w-[430px] h-[932px] border border-gray-200 bg-white relative overflow-hidden",children:[(0,t.jsx)("iframe",{"data-doc-iframe":"true","data-loaded":a?"true":"false",src:c,className:"w-full h-full border-0",onLoad:()=>{i(!0),o(!1)},onError:()=>{n("页面加载失败")},title:`Capture: ${e}`,sandbox:"allow-scripts allow-same-origin allow-forms allow-popups"}),!a&&!l&&!d&&(0,t.jsx)("div",{className:"absolute inset-0 bg-white flex items-center justify-center",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-8 h-8 border-2 border-gray-300 border-t-gray-600 rounded-full animate-spin mx-auto mb-2"}),(0,t.jsx)("p",{className:"text-sm text-gray-500",children:"加载中..."})]})})]}),(l||d)&&(0,t.jsx)("div",{className:"fixed left-0 top-0 right-0 bg-red-600 text-white text-sm px-3 py-2 text-center",children:d||"页面加载超时"}),a&&(0,t.jsxs)("div",{className:"fixed left-0 bottom-0 right-0 bg-green-600 text-white text-xs px-3 py-1 text-center",children:["页面已加载: ",e]})]})}e.s(["default",()=>a])}]);
|
||||
1
.next/static/chunks/ff1a16fafef87110.js
Normal file
1
.next/static/chunks/ff1a16fafef87110.js
Normal file
@@ -0,0 +1 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}}]);
|
||||
3
.next/static/chunks/turbopack-a6ab5bfb92b7af5e.js
Normal file
3
.next/static/chunks/turbopack-a6ab5bfb92b7af5e.js
Normal file
File diff suppressed because one or more lines are too long
BIN
.next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2
Normal file
BIN
.next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2
Normal file
Binary file not shown.
BIN
.next/static/media/7178b3e590c64307-s.b97b3418.woff2
Normal file
BIN
.next/static/media/7178b3e590c64307-s.b97b3418.woff2
Normal file
Binary file not shown.
BIN
.next/static/media/797e433ab948586e-s.p.dbea232f.woff2
Normal file
BIN
.next/static/media/797e433ab948586e-s.p.dbea232f.woff2
Normal file
Binary file not shown.
BIN
.next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2
Normal file
BIN
.next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2
Normal file
Binary file not shown.
BIN
.next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2
Normal file
BIN
.next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2
Normal file
Binary file not shown.
BIN
.next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2
Normal file
BIN
.next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user