"use client"; import React, { useEffect, useState } from "react"; import { useRouter } from "next/navigation"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faAngleLeft, } from "@fortawesome/free-solid-svg-icons"; export default function Recharge() { const router = useRouter(); // 获取屏幕高度 // const scrollHeight = 600; useEffect(() => {}, []); return ( <div className=""> <div className="p-4 fixed top-0 z-10 w-full"> <div className="w-9 h-9 flex items-center justify-center bg-[#FFFFFF1A] rounded-full float-left"> <FontAwesomeIcon icon={faAngleLeft} size="xl" onClick={() => { router.push("/my/wallet"); }} /> </div> <p className="text-base text-center leading-9">收支明细</p> </div> {/* 内容 */} <div className="p-4 pt-24"> </div> </div> ); }