From daa8ec1c64d0f89e17409b17369d691ed085ddc6 Mon Sep 17 00:00:00 2001 From: yezian Date: Sun, 18 Feb 2024 13:02:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=AE=9D=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=BB=B4=E6=8A=A4=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pay/page.jsx | 12 ++++++++++-- app/vip/page.jsx | 10 ++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/app/pay/page.jsx b/app/pay/page.jsx index be2a05b..5fe1eaa 100644 --- a/app/pay/page.jsx +++ b/app/pay/page.jsx @@ -9,6 +9,12 @@ import webviewBaseRequest from "@/utils/webviewBaseRequest"; export default function Pay() { const router = useRouter(); + const alipayBlock = () => { + Toast.show({ + content: "支付渠道维护升级中,请24小时后再试", + }); + }; + //商品列表 const [productList, setProductList] = useState([]); @@ -275,7 +281,7 @@ export default function Pay() {
diff --git a/app/vip/page.jsx b/app/vip/page.jsx index fa849d3..374bff5 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -21,6 +21,12 @@ import { useRouter } from "next/navigation"; export default function Vip() { const router = useRouter(); + const alipayBlock = () => { + Toast.show({ + content: "支付渠道维护升级中,请24小时后再试", + }); + }; + //检查用户是否是vip const [isVip, setIsVip] = useState(false); const [name, setName] = useState(""); @@ -243,12 +249,12 @@ export default function Vip() {
createOrder("alipay_h5")} + onClick={alipayBlock} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" >

- 支付宝支付 + 支付宝(维护中)