优化微信native支付页面

This commit is contained in:
yezian 2024-02-06 00:03:38 +08:00
parent 5032d290a7
commit c5ab785f2b
1 changed files with 3 additions and 3 deletions

View File

@ -37,10 +37,10 @@ export default function Weixin({ params }) {
//androidios0:android1:ios //androidios0:android1:ios
const openWechat = () => { const openWechat = () => {
if (device === 0) { if (device === 0) {
router.push("weixin://"); window.open("weixin://", "_ blank");
return; return;
} }
router.push("weixin://scanqrcode"); window.open("weixin://scanqrcode", "_ blank");
}; };
if (isLoading) { if (isLoading) {
@ -53,7 +53,7 @@ export default function Weixin({ params }) {
return ( return (
<section className="flex flex-1 flex-col container py-4"> <section className="flex flex-1 flex-col container py-4">
<div className="flex flex-col gap-2"> <div className="mt-24 flex flex-col gap-2">
<h1 className="text-white text-2xl font-semibold text-center"> <h1 className="text-white text-2xl font-semibold text-center">
请保存二维码到相册后 请保存二维码到相册后
<br /> <br />