Merge pull request '为微信native支付页面添加error页面' (#39) from feat-20240118 into main
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/39
This commit is contained in:
commit
6be7f50a0b
|
@ -0,0 +1,15 @@
|
||||||
|
"use client"; // Error components must be Client Components
|
||||||
|
|
||||||
|
export default function Error() {
|
||||||
|
return (
|
||||||
|
<section className="flex flex-1 flex-col container py-4">
|
||||||
|
<div className="mt-24 flex flex-col gap-2">
|
||||||
|
<h1 className="text-white text-2xl font-semibold text-center">
|
||||||
|
请打开微信扫码支付
|
||||||
|
<br />
|
||||||
|
完成支付后关闭此页面即可
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
|
@ -40,7 +40,7 @@ export default function Weixin({ params }) {
|
||||||
window.open("weixin://", "_blank");
|
window.open("weixin://", "_blank");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
window.open("weixin://", "_blank");
|
window.open("weixin://scanqrcode", "_blank");
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
|
Loading…
Reference in New Issue