diff --git a/app/generatelink/[user_id]/page.jsx b/app/generatelink/[user_id]/page.jsx index cd6d01c..d727295 100644 --- a/app/generatelink/[user_id]/page.jsx +++ b/app/generatelink/[user_id]/page.jsx @@ -5,8 +5,6 @@ import baseRequest from "@/utils/baseRequest"; import { Toast } from "antd-mobile"; import { generateSignature } from "@/utils/crypto"; import Image from "next/image"; -import verification from "@/public/icon/verification.png"; -import platform_wechat from "@/public/images/platform_wechat.png"; import html2canvas from "html2canvas"; export default function GenerateLink({ params }) { @@ -79,6 +77,7 @@ export default function GenerateLink({ params }) { useCORS: true, }); const data = canvas.toDataURL("image/jpg"); + window.ReactNativeWebView.postMessage( JSON.stringify({ type: "SAVE_IMAGE", @@ -137,23 +136,33 @@ export default function GenerateLink({ params }) {
-
-
+
+
-
+
@@ -162,7 +171,9 @@ export default function GenerateLink({ params }) {

{data?.name}

- +
+ +

{data?.bio} @@ -170,7 +181,13 @@ export default function GenerateLink({ params }) {

- +
+ +

我的微信

@@ -180,7 +197,12 @@ export default function GenerateLink({ params }) { className="flex flex-row cursor-pointer bg-[#07050A] border-2 border-[#FFFFFF26] rounded-2xl h-12 items-center justify-center mt-4" > @@ -190,7 +212,7 @@ export default function GenerateLink({ params }) {
))}
-
+
{qrcodeUrl && (