"use client"; import { useState, useEffect } from "react"; import styles from "../vip.module.css"; import { LoginForm } from "./LoginForm"; type LoginBlockProps = { onVerify: (userId: string) => Promise; onSuccess: () => void; }; export function LoginBlock({ onVerify, onSuccess }: LoginBlockProps) { const [hash, setHash] = useState(""); useEffect(() => { setHash(typeof window !== "undefined" ? window.location.hash : ""); }, []); return (

已有账号登录

请输入您的会员账号(支付时使用的 user_id)以恢复权益

); }