添加个人中心的专属客服经理二维码

This commit is contained in:
Eamon-meng
2025-12-20 15:13:26 +08:00
parent 5b1207783b
commit ea3469eb1c

View File

@@ -14,6 +14,7 @@ import z from 'zod'
import * as qrcode from 'qrcode'
import {Card, CardHeader, CardTitle, CardContent} from '@/components/ui/card'
import {QrCodeIcon} from 'lucide-react'
import Image from 'next/image'
export function Aftersale(props: {
profile: User
@@ -59,7 +60,7 @@ export function Aftersale(props: {
<div className="flex flex-col gap-4 items-center">
<p></p>
<div>
<canvas ref={canvasRef} width="180" height="180" className="mx-auto bg-muted"/>
<Image src="/img/qrcode.jpg" alt="logo" width={80} height={80} unoptimized className="flex-none size-20 sm:size-44 bg-gray-100"/>
</div>
<p className="text-xs text-weak">