import { Ionicons } from '@expo/vector-icons'; import { StyleSheet, Text, View } from 'react-native'; import { colors } from '../../../src/theme'; import { useOnboarding } from '../../../src/hooks'; import { JOB_STATUS_OPTIONS } from '../../../src/constants'; import { ScreenShell } from '../ui/ScreenShell'; import { RadioRow } from '../ui/RadioRow'; import { AgreementCheckbox } from '../ui/AgreementCheckbox'; import { PrimaryButton } from '../ui/PrimaryButton'; // 选项放常量:简历「求职意向」的积极/不积极判定读的是同一份,不能各写一份 const OPTIONS = JOB_STATUS_OPTIONS; export function P9JobStatus() { const { data, setData, navigate, back } = useOnboarding(); return ( {OPTIONS.map((o) => ( setData({ jobStatus: o })} /> ))} 求职状态会影响到被推荐的频率及 Boss 的决策 setData({ disabledJobseeker: !data.disabledJobseeker })} text={残障人士求职(享受专项推荐与保护)} /> navigate('P10')} /> ); } const styles = StyleSheet.create({ iconWrap: { width: 64, height: 64, borderRadius: 18, backgroundColor: colors.primaryLight, alignItems: 'center', justifyContent: 'center', alignSelf: 'center', marginBottom: 18, }, list: { gap: 8 }, note: { fontSize: 12, color: colors.textHint, marginTop: 14, textAlign: 'center' }, agree: { marginTop: 18 }, agreeText: { fontSize: 13, color: colors.textSecondary }, footer: { marginTop: 28 }, });