优化微信native支付页面
This commit is contained in:
parent
5032d290a7
commit
c5ab785f2b
|
@ -37,10 +37,10 @@ export default function Weixin({ params }) {
|
|||
//android打开微信,ios打开微信扫一扫,0:android,1:ios
|
||||
const openWechat = () => {
|
||||
if (device === 0) {
|
||||
router.push("weixin://");
|
||||
window.open("weixin://", "_ blank");
|
||||
return;
|
||||
}
|
||||
router.push("weixin://scanqrcode");
|
||||
window.open("weixin://scanqrcode", "_ blank");
|
||||
};
|
||||
|
||||
if (isLoading) {
|
||||
|
@ -53,7 +53,7 @@ export default function Weixin({ params }) {
|
|||
|
||||
return (
|
||||
<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">
|
||||
请保存二维码到相册后
|
||||
<br />
|
||||
|
|
Loading…
Reference in New Issue