优化微信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
|
//android打开微信,ios打开微信扫一扫,0:android,1: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 />
|
||||||
|
|
Loading…
Reference in New Issue