From bb4f519845a6dcb3b40fd951bc03e5800b311a0b Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 13 Feb 2024 00:03:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=94=AF=E4=BB=98=E5=AE=9D?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pay/page.jsx | 13 ++----------- app/vip/page.jsx | 25 +++++++++---------------- 2 files changed, 11 insertions(+), 27 deletions(-) diff --git a/app/pay/page.jsx b/app/pay/page.jsx index 609d372..be2a05b 100644 --- a/app/pay/page.jsx +++ b/app/pay/page.jsx @@ -9,12 +9,6 @@ import webviewBaseRequest from "@/utils/webviewBaseRequest"; export default function Pay() { const router = useRouter(); - const alipayBlock = () => { - Toast.show({ - content: "支付渠道维护升级中,请24小时后再试", - }); - }; - //商品列表 const [productList, setProductList] = useState([]); @@ -281,8 +275,7 @@ export default function Pay() {
diff --git a/app/vip/page.jsx b/app/vip/page.jsx index 3050ae6..fa849d3 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -21,12 +21,6 @@ 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(""); @@ -142,13 +136,13 @@ export default function Vip() { } }; - // if (isFetching) { - // return ( - //
- // - //
- // ); - // } + if (isFetching) { + return ( +
+ +
+ ); + } return (
@@ -249,13 +243,12 @@ export default function Vip() {
createOrder("alipay_h5")} - onClick={alipayBlock} + onClick={() => createOrder("alipay_h5")} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" >

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