diff --git a/app/pay/page.jsx b/app/pay/page.jsx index be2a05b..609d372 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,8 @@ export default function Pay() {
diff --git a/app/vip/page.jsx b/app/vip/page.jsx index 1344c4d..3050ae6 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -20,6 +20,13 @@ 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(""); @@ -135,13 +142,13 @@ export default function Vip() { } }; - if (isFetching) { - return ( -
- -
- ); - } + // if (isFetching) { + // return ( + //
+ // + //
+ // ); + // } return (
@@ -242,12 +249,13 @@ export default function Vip() {
createOrder("alipay_h5")} + // onClick={() => createOrder("alipay_h5")} + onClick={alipayBlock} className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full" >

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