金币充值页面添加《用户充值协议》
This commit is contained in:
parent
cb5f3b3393
commit
54ce272b2b
|
@ -5,6 +5,7 @@ import { useRouter } from "next/navigation";
|
|||
import { Toast } from "antd-mobile";
|
||||
import { generateSignature } from "@/utils/crypto";
|
||||
import webviewBaseRequest from "@/utils/webviewBaseRequest";
|
||||
import Link from "next/link";
|
||||
|
||||
export default function Pay() {
|
||||
const router = useRouter();
|
||||
|
@ -279,25 +280,29 @@ export default function Pay() {
|
|||
</p>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex mt-auto mb-12">
|
||||
<div className="flex flex-col w-full fixed left-0 bottom-0 z-20">
|
||||
<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 px-2">
|
||||
<button
|
||||
<div
|
||||
onClick={() => createOrder("yeepay_alipay_h5")}
|
||||
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
||||
className="flex flex-row cursor-pointer gap-1.5 h-11 items-center justify-center bg-primary rounded-full"
|
||||
>
|
||||
<svg viewBox="0 0 1024 1024" width="18" height="18">
|
||||
<path
|
||||
d="M1024.0512 701.0304V196.864A196.9664 196.9664 0 0 0 827.136 0H196.864A196.9664 196.9664 0 0 0 0 196.864v630.272A196.9152 196.9152 0 0 0 196.864 1024h630.272a197.12 197.12 0 0 0 193.8432-162.0992c-52.224-22.6304-278.528-120.32-396.4416-176.64-89.7024 108.6976-183.7056 173.9264-325.3248 173.9264s-236.1856-87.2448-224.8192-194.048c7.4752-70.0416 55.552-184.576 264.2944-164.9664 110.08 10.3424 160.4096 30.8736 250.1632 60.5184 23.1936-42.5984 42.496-89.4464 57.1392-139.264H248.064v-39.424h196.9152V311.1424H204.8V267.776h240.128V165.632s2.1504-15.9744 19.8144-15.9744h98.4576V267.776h256v43.4176h-256V381.952h208.8448a805.9904 805.9904 0 0 1-84.8384 212.6848c60.672 22.016 336.7936 106.3936 336.7936 106.3936zM283.5456 791.6032c-149.6576 0-173.312-94.464-165.376-133.9392 7.8336-39.3216 51.2-90.624 134.4-90.624 95.5904 0 181.248 24.4736 284.0576 74.5472-72.192 94.0032-160.9216 150.016-253.0816 150.016z"
|
||||
fill="#FFFFFF"
|
||||
></path>
|
||||
</svg>
|
||||
<p className="text-white text-base ml-1">支付宝</p>
|
||||
</button>
|
||||
<img
|
||||
className="w-[22px]"
|
||||
src="/cdn/images/alipay.png"
|
||||
alt=""
|
||||
/>
|
||||
<p className="text-white text-base font-medium whitespace-nowrap">
|
||||
支付宝支付
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="basis-1/2 px-2">
|
||||
<button
|
||||
<div
|
||||
onClick={() => createOrder("yeepay_wxpay_h5")}
|
||||
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
||||
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
|
||||
|
@ -305,8 +310,21 @@ export default function Pay() {
|
|||
fill="#FFFFFF"
|
||||
></path>
|
||||
</svg>
|
||||
<p className="text-white text-base ml-1">微信支付</p>
|
||||
</button>
|
||||
<p className="text-white text-base font-medium whitespace-nowrap">
|
||||
微信支付
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-secondary text-xs font-medium mt-4 text-center mb-1">
|
||||
确认购买即视为同意
|
||||
<Link
|
||||
className="link text-[#309EDC]"
|
||||
href="/doc/rechargeagreement"
|
||||
>
|
||||
《用户充值协议》
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue