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

3 lines
5.1 KiB
JavaScript

module.exports=[5522,a=>{"use strict";var b=a.i(87924),c=a.i(97895);function d({className:a,type:d,...e}){return(0,b.jsx)("input",{type:d,"data-slot":"input",className:(0,c.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",a),...e})}a.s(["Input",()=>d])},3130,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(97895);let e=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("rounded-xl border bg-card text-card-foreground shadow",a),...c}));e.displayName="Card";let f=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("flex flex-col space-y-1.5 p-6",a),...c}));f.displayName="CardHeader";let g=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("h3",{ref:e,className:(0,d.cn)("font-semibold leading-none tracking-tight",a),...c}));g.displayName="CardTitle";let h=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("p",{ref:e,className:(0,d.cn)("text-sm text-muted-foreground",a),...c}));h.displayName="CardDescription";let i=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("p-6 pt-0",a),...c}));i.displayName="CardContent",c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("flex items-center p-6 pt-0",a),...c})).displayName="CardFooter",a.s(["Card",()=>e,"CardContent",()=>i,"CardDescription",()=>h,"CardHeader",()=>f,"CardTitle",()=>g])},17171,30553,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(35112),e=a.i(11011),f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((a,d)=>{let f=c.forwardRef((a,c)=>{let{asChild:f,...g}=a,h=f?e.Slot:d;return(0,b.jsx)(h,{...g,ref:c})});return f.displayName=`Primitive.${d}`,{...a,[d]:f}},{});function g(a,b){a&&d.flushSync(()=>a.dispatchEvent(b))}a.s(["Primitive",()=>f,"dispatchDiscreteCustomEvent",()=>g],30553);var h=c.forwardRef((a,c)=>(0,b.jsx)(f.label,{...a,ref:c,onMouseDown:b=>{b.target.closest("button, input, select, textarea")||(a.onMouseDown?.(b),!b.defaultPrevented&&b.detail>1&&b.preventDefault())}}));h.displayName="Label";var i=a.i(97895);let j=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(h,{ref:d,className:(0,i.cn)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",a),...c}));j.displayName=h.displayName,a.s(["Label",()=>j],17171)},21892,a=>{"use strict";var b=a.i(87924),c=a.i(3130),d=a.i(17171),e=a.i(5522),f=a.i(40695);function g(){return(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-3xl font-bold tracking-tight",children:"二维码管理"}),(0,b.jsx)("p",{className:"text-muted-foreground",children:"管理用于引流和支付的二维码图片。"})]}),(0,b.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,b.jsxs)(c.Card,{children:[(0,b.jsxs)(c.CardHeader,{children:[(0,b.jsx)(c.CardTitle,{children:"私域引流码"}),(0,b.jsx)(c.CardDescription,{children:"用于文章底部、个人中心等位置的加群/加好友二维码。"})]}),(0,b.jsxs)(c.CardContent,{className:"space-y-4",children:[(0,b.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,b.jsx)("span",{className:"text-muted-foreground",children:"预览区域"})}),(0,b.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-1.5",children:[(0,b.jsx)(d.Label,{htmlFor:"traffic-qr",children:"上传新图片"}),(0,b.jsx)(e.Input,{id:"traffic-qr",type:"file"})]}),(0,b.jsx)(f.Button,{className:"w-full",children:"更新引流码"})]})]}),(0,b.jsxs)(c.Card,{children:[(0,b.jsxs)(c.CardHeader,{children:[(0,b.jsx)(c.CardTitle,{children:"群活码"}),(0,b.jsx)(c.CardDescription,{children:"用于派对活动引流的动态群活码。"})]}),(0,b.jsxs)(c.CardContent,{className:"space-y-4",children:[(0,b.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,b.jsx)("span",{className:"text-muted-foreground",children:"预览区域"})}),(0,b.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-1.5",children:[(0,b.jsx)(d.Label,{htmlFor:"group-qr",children:"上传新图片"}),(0,b.jsx)(e.Input,{id:"group-qr",type:"file"})]}),(0,b.jsxs)("div",{className:"grid w-full max-w-sm items-center gap-1.5",children:[(0,b.jsx)(d.Label,{htmlFor:"group-url",children:"活码链接 (可选)"}),(0,b.jsx)(e.Input,{id:"group-url",placeholder:"https://...",defaultValue:"https://soul.cn/party"})]}),(0,b.jsx)(f.Button,{className:"w-full",children:"更新群活码"})]})]})]})]})}a.s(["default",()=>g])}];
//# sourceMappingURL=_87a81d5b._.js.map