Merge pull request '增加微信支付' (#78) from wechatpay into test

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/78
This commit is contained in:
yezian 2024-05-07 19:38:32 +08:00
commit 775fc4920d
3 changed files with 9 additions and 9 deletions

View File

@ -273,7 +273,7 @@ export default function Pay() {
</div>
)}
<div className="flex mt-auto mb-12">
<div className="w-full px-2">
<div className="basis-1/2 px-2">
<button
onClick={() => createOrder("alipay_h5")}
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
@ -287,7 +287,7 @@ export default function Pay() {
<p className="text-white text-base ml-1">支付宝</p>
</button>
</div>
{/* <div className="w-full px-2">
<div className="basis-1/2 px-2">
<button
onClick={() => createOrder("wxpay_h5")}
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
@ -300,7 +300,7 @@ export default function Pay() {
</svg>
<p className="text-white text-base ml-1">微信支付</p>
</button>
</div> */}
</div>
</div>
</div>
</section>

View File

@ -246,7 +246,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="w-full px-2">
<div className="basis-1/2 px-2">
<div
onClick={() => createOrder("alipay_h5")}
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
@ -257,7 +257,7 @@ export default function Vip() {
</p>
</div>
</div>
{/* <div className="w-full px-2">
<div className="basis-1/2 px-2">
<div
onClick={() => createOrder("wxpay_h5")}
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
@ -272,7 +272,7 @@ export default function Vip() {
微信支付
</p>
</div>
</div> */}
</div>
</div>
<p className="text-secondary text-xs font-medium mt-4 text-center mb-1">
确认购买即视为同意

View File

@ -305,7 +305,7 @@ export default function Pay({ params }) {
<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="w-full px-2">
<div className="basis-1/2 px-2">
<div
onClick={() => createOrder("alipay_h5")}
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
@ -316,7 +316,7 @@ export default function Pay({ params }) {
</p>
</div>
</div>
{/* <div className="w-full px-2">
<div className="basis-1/2 px-2">
<div
onClick={() => createOrder("wxpay_h5")}
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
@ -331,7 +331,7 @@ export default function Pay({ params }) {
微信支付
</p>
</div>
</div> */}
</div>
</div>
<p className="text-secondary text-xs font-medium mt-4 text-center mb-1">
确认购买即视为同意