微信支付改为支付宝支付

This commit is contained in:
yezian 2024-02-24 15:54:21 +08:00
parent e5b3aceb45
commit cd4500fcea
2 changed files with 12 additions and 14 deletions

View File

@ -266,9 +266,9 @@ 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="w-full px-2">
<button <button
onClick={alipayBlock} onClick={() => createOrder("alipay_h5")}
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"
> >
<svg viewBox="0 0 1024 1024" width="18" height="18"> <svg viewBox="0 0 1024 1024" width="18" height="18">
@ -277,12 +277,10 @@ export default function Pay() {
fill="#FFFFFF" fill="#FFFFFF"
></path> ></path>
</svg> </svg>
<p className="text-white text-base ml-1"> <p className="text-white text-base ml-1">支付宝</p>
支付宝<span className="text-xs">维护中</span>
</p>
</button> </button>
</div> */} </div>
<div className="w-full px-2"> {/* <div className="basis-1/2 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"
@ -295,7 +293,7 @@ export default function Pay() {
</svg> </svg>
<p className="text-white text-base ml-1">微信支付</p> <p className="text-white text-base ml-1">微信支付</p>
</button> </button>
</div> </div> */}
</div> </div>
</div> </div>
</section> </section>

View File

@ -234,18 +234,18 @@ 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="w-full px-2">
<div <div
onClick={alipayBlock} onClick={() => createOrder("alipay_h5")}
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"
> >
<Image src={alipay} width={22} alt="" /> <Image src={alipay} width={22} alt="" />
<p className="text-white text-base font-medium whitespace-nowrap"> <p className="text-white text-base font-medium whitespace-nowrap">
支付宝<span className="text-xs">维护中</span> 支付宝支付
</p> </p>
</div> </div>
</div> */} </div>
<div className="w-full px-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-primary rounded-full" className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
@ -260,7 +260,7 @@ export default function Vip() {
微信支付 微信支付
</p> </p>
</div> </div>
</div> </div> */}
</div> </div>
<p className="text-secondary text-xs font-medium mt-4 text-center mb-1"> <p className="text-secondary text-xs font-medium mt-4 text-center mb-1">
确认购买即视为同意 确认购买即视为同意