添加支付宝支付

This commit is contained in:
yezian 2024-03-13 17:44:47 +08:00
parent 6bf488f662
commit 9d637bbea7
2 changed files with 6 additions and 6 deletions

View File

@ -273,7 +273,7 @@ export default function Pay() {
</div> </div>
)} )}
<div className="flex mt-auto mb-12"> <div className="flex mt-auto mb-12">
{/* <div className="w-full px-2"> <div className="basis-1/2 px-2">
<button <button
onClick={() => createOrder("alipay_h5")} 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"
@ -286,8 +286,8 @@ 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 className="w-full px-2"> <div className="basis-1/2 px-2">
<button <button
onClick={() => createOrder("wxpay_h5")} onClick={() => createOrder("wxpay_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"

View File

@ -241,7 +241,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="w-full px-2"> <div className="basis-1/2 pr-2">
<div <div
onClick={() => createOrder("alipay_h5")} 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"
@ -251,8 +251,8 @@ export default function Vip() {
支付宝支付 支付宝支付
</p> </p>
</div> </div>
</div> */} </div>
<div className="w-full px-2"> <div className="basis-1/2 pl-2">
<div <div
onClick={() => createOrder("wxpay_h5")} onClick={() => createOrder("wxpay_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"