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 }) {
{data?.name}
-{data?.bio} @@ -170,7 +181,13 @@ export default function GenerateLink({ params }) {
我的微信