import { Pressable, StyleSheet, Text, View } from 'react-native'; import { colors } from '../../../src/theme'; import { useOnboarding } from '../../../src/hooks'; import { ScreenShell } from '../ui/ScreenShell'; import { PrimaryButton } from '../ui/PrimaryButton'; const MIN = ['9K', '10K', '11K']; const MAX = ['11K', '12K', '13K']; export function P7Salary() { const { data, setData, navigate, back, meta } = useOnboarding(); return ( 1K 代表 1000 元 最低 {MIN.map((v) => ( setData({ expectedSalaryMin: v })} > {v} ))} 最高 {MAX.map((v) => ( setData({ expectedSalaryMax: v })} > {v} ))} navigate('P8')} /> ); } const styles = StyleSheet.create({ tip: { fontSize: 13, color: colors.textHint, marginBottom: 20 }, cols: { flexDirection: 'row', gap: 16 }, col: { flex: 1, gap: 12 }, colTitle: { fontSize: 15, fontWeight: '700', color: colors.textPrimary, textAlign: 'center', marginBottom: 4 }, opt: { height: 50, borderRadius: 12, borderWidth: 1, borderColor: colors.border, backgroundColor: colors.white, alignItems: 'center', justifyContent: 'center', }, optActive: { borderColor: colors.primary, backgroundColor: colors.primaryLight }, optText: { fontSize: 16, color: colors.textSecondary }, optTextActive: { color: colors.primaryText, fontWeight: '700' }, footer: { marginTop: 32 }, });