import { useState } from 'react'; import { AlertCircle, Building2, Check, ChevronRight, CreditCard, Landmark, ShieldCheck, Upload, UserCheck, } from 'lucide-react'; import { Button, Input, Select, Textarea } from '@/components/ui'; type AuthStep = 'overview' | 'profile' | 'method' | 'recharge' | 'face' | 'faceScan' | 'success' | 'failed'; type AuthMethod = 'face' | 'recharge'; const companyInfo = { name: '上海闪联九玖信息通信技术有限公司', code: 'XXXXXXXXXX', legalPerson: '张三', certifiedAt: '2022年07月09日 13:12:01', address: '上海XXX区XX路XX号', }; function UploadPanel() { return (
点击上传
); } function EnterpriseStepper({ current }: { current: number }) { const steps = ['填写资料', '选择认证方式', '校验认证信息', '认证完成']; return (
{steps.map((label, index) => { const step = index + 1; const complete = step < current; const active = step === current; return (
{complete ? : step} {label} {index < steps.length - 1 ? : null}
); })}
); } function AuthHeader({ onCertified }: { onCertified: () => void }) { return (

企业认证

); } export function ClientEnterpriseAuthPage() { const [step, setStep] = useState('overview'); const [method, setMethod] = useState('face'); const currentStep = step === 'profile' ? 1 : step === 'method' ? 2 : step === 'recharge' || step === 'face' || step === 'faceScan' ? 3 : step === 'success' || step === 'failed' ? 4 : 1; if (step === 'overview') { return (
setStep('success')} />
您还未进行企业认证
企业名称:
未知
认证时间:
未知
统一社会信用代码:
未知
通讯地址:
未知
法定代表人:
未知
); } return (

企业认证

{step === 'profile' ? (

请上传电子版营业执照,JPG或PNG格式,大小不超过5M

* 通讯地址