import { useState } from 'react'; import { StyleSheet, Text, TextInput, View } from 'react-native'; import { colors } from '../../../src/theme'; import { useOnboarding, useRegisterFinish } from '../../../src/hooks'; import { ScreenShell } from '../ui/ScreenShell'; import { Illustration } from '../ui/Illustration'; import { PrimaryButton } from '../ui/PrimaryButton'; export function B3Recruiter() { const { data, setData, back, meta } = useOnboarding(); const finish = useRegisterFinish(); const [submitted, setSubmitted] = useState(false); const canSubmit = data.recruiterCompany.trim().length > 0; return ( 请完成企业认证,开启招聘之旅(与求职者主线分开演示) 公司名称 setData({ recruiterCompany: t })} placeholder="请输入公司全称" placeholderTextColor={colors.textHint} /> 营业执照 点击上传营业执照 联系人 setData({ school: t })} placeholder="请输入联系人姓名" placeholderTextColor={colors.textHint} /> { setSubmitted(true); finish('enterprise'); }} /> ); } const styles = StyleSheet.create({ tip: { fontSize: 13, color: colors.textHint, marginBottom: 18 }, label: { fontSize: 14, fontWeight: '700', color: colors.textPrimary, marginTop: 16, marginBottom: 8 }, input: { height: 50, borderRadius: 12, borderWidth: 1, borderColor: colors.border, backgroundColor: colors.white, paddingHorizontal: 14, fontSize: 15, color: colors.textPrimary, }, upload: { alignItems: 'center', justifyContent: 'center', gap: 8, paddingVertical: 18, borderRadius: 12, borderWidth: 1, borderStyle: 'dashed', borderColor: colors.borderStrong, backgroundColor: colors.white, }, uploadText: { fontSize: 13, color: colors.textHint }, footer: { marginTop: 28 }, });