Files
Mycontent/.next/static/chunks/dc8def457c0ae311.js
2025-12-29 14:01:37 +08:00

1 line
5.2 KiB
JavaScript

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23750,e=>{"use strict";var r=e.i(43476),s=e.i(47163);function a({className:e,type:a,...i}){return(0,r.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),...i})}e.s(["Input",()=>a])},70065,e=>{"use strict";var r=e.i(43476),s=e.i(71645),a=e.i(47163);let i=s.forwardRef(({className:e,...s},i)=>(0,r.jsx)("div",{ref:i,className:(0,a.cn)("rounded-xl border bg-card text-card-foreground shadow",e),...s}));i.displayName="Card";let t=s.forwardRef(({className:e,...s},i)=>(0,r.jsx)("div",{ref:i,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",e),...s}));t.displayName="CardHeader";let d=s.forwardRef(({className:e,...s},i)=>(0,r.jsx)("h3",{ref:i,className:(0,a.cn)("font-semibold leading-none tracking-tight",e),...s}));d.displayName="CardTitle";let l=s.forwardRef(({className:e,...s},i)=>(0,r.jsx)("p",{ref:i,className:(0,a.cn)("text-sm text-muted-foreground",e),...s}));l.displayName="CardDescription";let n=s.forwardRef(({className:e,...s},i)=>(0,r.jsx)("div",{ref:i,className:(0,a.cn)("p-6 pt-0",e),...s}));n.displayName="CardContent",s.forwardRef(({className:e,...s},i)=>(0,r.jsx)("div",{ref:i,className:(0,a.cn)("flex items-center p-6 pt-0",e),...s})).displayName="CardFooter",e.s(["Card",()=>i,"CardContent",()=>n,"CardDescription",()=>l,"CardHeader",()=>t,"CardTitle",()=>d])},10708,48425,e=>{"use strict";var r=e.i(43476),s=e.i(71645),a=e.i(74080),i=e.i(91918),t=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,a)=>{let t=s.forwardRef((e,s)=>{let{asChild:t,...d}=e,l=t?i.Slot:a;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(l,{...d,ref:s})});return t.displayName=`Primitive.${a}`,{...e,[a]:t}},{});function d(e,r){e&&a.flushSync(()=>e.dispatchEvent(r))}e.s(["Primitive",()=>t,"dispatchDiscreteCustomEvent",()=>d],48425);var l=s.forwardRef((e,s)=>(0,r.jsx)(t.label,{...e,ref:s,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));l.displayName="Label";var n=e.i(47163);let o=s.forwardRef(({className:e,...s},a)=>(0,r.jsx)(l,{ref:a,className:(0,n.cn)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...s}));o.displayName=l.displayName,e.s(["Label",()=>o],10708)},5335,e=>{"use strict";var r=e.i(43476),s=e.i(70065),a=e.i(10708),i=e.i(23750),t=e.i(67881);function d(){return(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-3xl font-bold tracking-tight",children:"二维码管理"}),(0,r.jsx)("p",{className:"text-muted-foreground",children:"管理用于引流和支付的二维码图片。"})]}),(0,r.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,r.jsxs)(s.Card,{children:[(0,r.jsxs)(s.CardHeader,{children:[(0,r.jsx)(s.CardTitle,{children:"私域引流码"}),(0,r.jsx)(s.CardDescription,{children:"用于文章底部、个人中心等位置的加群/加好友二维码。"})]}),(0,r.jsxs)(s.CardContent,{className:"space-y-4",children:[(0,r.jsx)("div",{className:"flex flex-col items-center justify-center border-2 border-dashed rounded-lg p-6 h-48 bg-slate-50",children:(0,r.jsx)("span",{className:"text-muted-foreground",children:"预览区域"})}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-1.5",children:[(0,r.jsx)(a.Label,{htmlFor:"traffic-qr",children:"上传新图片"}),(0,r.jsx)(i.Input,{id:"traffic-qr",type:"file"})]}),(0,r.jsx)(t.Button,{className:"w-full",children:"更新引流码"})]})]}),(0,r.jsxs)(s.Card,{children:[(0,r.jsxs)(s.CardHeader,{children:[(0,r.jsx)(s.CardTitle,{children:"群活码"}),(0,r.jsx)(s.CardDescription,{children:"用于派对活动引流的动态群活码。"})]}),(0,r.jsxs)(s.CardContent,{className:"space-y-4",children:[(0,r.jsx)("div",{className:"flex flex-col items-center justify-center border-2 border-dashed rounded-lg p-6 h-48 bg-slate-50",children:(0,r.jsx)("span",{className:"text-muted-foreground",children:"预览区域"})}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-1.5",children:[(0,r.jsx)(a.Label,{htmlFor:"group-qr",children:"上传新图片"}),(0,r.jsx)(i.Input,{id:"group-qr",type:"file"})]}),(0,r.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-1.5",children:[(0,r.jsx)(a.Label,{htmlFor:"group-url",children:"活码链接 (可选)"}),(0,r.jsx)(i.Input,{id:"group-url",placeholder:"https://...",defaultValue:"https://soul.cn/party"})]}),(0,r.jsx)(t.Button,{className:"w-full",children:"更新群活码"})]})]})]})]})}e.s(["default",()=>d])}]);