Merge pull request '隐藏支付宝支付' (#63) from feat-20240218 into main
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/63
This commit is contained in:
commit
1e34c0842b
|
@ -266,7 +266,7 @@ export default function Pay() {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="flex mt-auto mb-12">
|
<div className="flex mt-auto mb-12">
|
||||||
<div className="basis-1/2 px-2">
|
{/* <div className="basis-1/2 px-2">
|
||||||
<button
|
<button
|
||||||
onClick={alipayBlock}
|
onClick={alipayBlock}
|
||||||
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
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>
|
支付宝<span className="text-xs">(维护中)</span>
|
||||||
</p>
|
</p>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div> */}
|
||||||
<div className="basis-1/2 px-2">
|
<div className="w-full px-2">
|
||||||
<button
|
<button
|
||||||
onClick={() => createOrder("wxpay_jsapi")}
|
onClick={() => createOrder("wxpay_jsapi")}
|
||||||
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
||||||
|
|
|
@ -129,13 +129,13 @@ export default function Vip() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isFetching) {
|
// if (isFetching) {
|
||||||
return (
|
// return (
|
||||||
<section className="flex flex-1 justify-center container">
|
// <section className="flex flex-1 justify-center container">
|
||||||
<span className="absolute top-1/2 loading loading-spinner loading-lg"></span>
|
// <span className="absolute top-1/2 loading loading-spinner loading-lg"></span>
|
||||||
</section>
|
// </section>
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="flex flex-1 justify-center container">
|
<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="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-col pt-3 pb-11 px-4 bg-[#07050AE5]">
|
||||||
<div className="flex flex-row justify-between">
|
<div className="flex flex-row justify-between">
|
||||||
<div className="basis-1/2 pr-2">
|
{/* <div className="basis-1/2 pr-2">
|
||||||
<div
|
<div
|
||||||
onClick={alipayBlock}
|
onClick={alipayBlock}
|
||||||
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
|
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>
|
支付宝<span className="text-xs">(维护中)</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> */}
|
||||||
<div className="basis-1/2 pl-2">
|
<div className="w-full px-2">
|
||||||
<div
|
<div
|
||||||
onClick={() => createOrder("wxpay_jsapi")}
|
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">
|
<svg viewBox="0 0 1228 1024" width="18" height="18">
|
||||||
<path
|
<path
|
||||||
|
|
Loading…
Reference in New Issue