|
|
@ -16,7 +16,7 @@ export default function QRCodeDialog({
|
|
|
|
}: {
|
|
|
|
}: {
|
|
|
|
header: string;
|
|
|
|
header: string;
|
|
|
|
url: string;
|
|
|
|
url: string;
|
|
|
|
img: string;
|
|
|
|
img?: string;
|
|
|
|
children: React.ReactNode;
|
|
|
|
children: React.ReactNode;
|
|
|
|
subHeader?: string;
|
|
|
|
subHeader?: string;
|
|
|
|
buttonText?: string;
|
|
|
|
buttonText?: string;
|
|
|
@ -37,7 +37,7 @@ export default function QRCodeDialog({
|
|
|
|
|
|
|
|
|
|
|
|
{/* 二维码 */}
|
|
|
|
{/* 二维码 */}
|
|
|
|
<div className="w-[200px] h-[200px] mt-[24px] bg-[#fff] rounded-[6px] overflow-hidden">
|
|
|
|
<div className="w-[200px] h-[200px] mt-[24px] bg-[#fff] rounded-[6px] overflow-hidden">
|
|
|
|
{!!img && <Image width={200} height={200} src={img} alt="" />}
|
|
|
|
{!!(img || url) && <Image width={200} height={200} src={img || url} alt="" />}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{/* 按钮 */}
|
|
|
|
{/* 按钮 */}
|
|
|
|