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 }) { 微信支付

-
+
*/}

确认购买即视为同意