隐藏支付宝支付

This commit is contained in:
yezian 2024-02-21 13:00:26 +08:00
parent 1aede66519
commit e5b3aceb45
2 changed files with 14 additions and 14 deletions

View File

@ -266,7 +266,7 @@ export default function Pay() {
</div>
)}
<div className="flex mt-auto mb-12">
<div className="basis-1/2 px-2">
{/* <div className="basis-1/2 px-2">
<button
onClick={alipayBlock}
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
@ -281,8 +281,8 @@ export default function Pay() {
支付宝<span className="text-xs">维护中</span>
</p>
</button>
</div>
<div className="basis-1/2 px-2">
</div> */}
<div className="w-full px-2">
<button
onClick={() => createOrder("wxpay_jsapi")}
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"

View File

@ -129,13 +129,13 @@ export default function Vip() {
}
};
if (isFetching) {
return (
<section className="flex flex-1 justify-center container">
<span className="absolute top-1/2 loading loading-spinner loading-lg"></span>
</section>
);
}
// if (isFetching) {
// return (
// <section className="flex flex-1 justify-center container">
// <span className="absolute top-1/2 loading loading-spinner loading-lg"></span>
// </section>
// );
// }
return (
<section className="flex flex-1 justify-center container">
@ -234,7 +234,7 @@ export default function Vip() {
<div className="h-12 bg-gradient-to-t from-[#07050AE5] to-[#07050A00]"></div>
<div className="flex flex-col pt-3 pb-11 px-4 bg-[#07050AE5]">
<div className="flex flex-row justify-between">
<div className="basis-1/2 pr-2">
{/* <div className="basis-1/2 pr-2">
<div
onClick={alipayBlock}
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
@ -244,11 +244,11 @@ export default function Vip() {
支付宝<span className="text-xs">维护中</span>
</p>
</div>
</div>
<div className="basis-1/2 pl-2">
</div> */}
<div className="w-full px-2">
<div
onClick={() => createOrder("wxpay_jsapi")}
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-[#2E2E2E] rounded-full"
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
>
<svg viewBox="0 0 1228 1024" width="18" height="18">
<path