From efb1c866ddb5c91dda1665030e63c6131830de0a Mon Sep 17 00:00:00 2001 From: yezian Date: Fri, 26 Apr 2024 16:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E9=97=B4=E6=94=AF=E4=BB=98=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E6=94=AF=E4=BB=98=E5=AE=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pay/[zid]/[product_id]/[moment_id]/page.jsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx index 30e8339..1150c36 100644 --- a/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx +++ b/app/zone/pay/[zid]/[product_id]/[moment_id]/page.jsx @@ -7,6 +7,8 @@ import { Toast, Switch } from "antd-mobile"; import { generateSignature } from "@/utils/crypto"; import webviewBaseRequest from "@/utils/webviewBaseRequest"; import { useRouter } from "next/navigation"; +import alipay from "@/public/images/alipay.png"; +import Image from "next/image"; export default function Pay({ params }) { const router = useRouter(); @@ -126,7 +128,6 @@ export default function Pay({ params }) { } ); const data = await response.json(); - console.log(data); if (data.ret === -1) { Toast.show({ content: data.msg, @@ -305,6 +306,17 @@ export default function Pay({ params }) {
+
createOrder("alipay_h5")} + className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" + > + +

+ 支付宝支付 +

+
+
+ {/*
createOrder("wxpay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" @@ -319,7 +331,7 @@ export default function Pay({ params }) { 微信支付

-
+
*/}

确认购买即视为同意