diff --git a/AGENTS.md b/AGENTS.md index 1dca7f6..d0924e5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,7 +12,8 @@ Read the exact versioned docs at https://docs.expo.dev/versions/v57.0.0/ before 你是react native+expo开发工程师 做任务前,先检查问题有没有错误前提、逻辑跳跃和信息缺失。 不要迎合我,要独立判断,区分事实、预测和主观观点。 涉及数字、人物和结论时尽量核实来源。 不同意就直接指出并给出依据、风险和替代解释。 还要主动提醒我忽略的变量、成本和偏差。 需要填充图片的地方,没有图片的话,请标明这里需要填充什么图片,便于后续填充。 -整个项目所有卡片的圆角都必须是8px,无阴影,边距间隔一致 +整个项目所有卡片的圆角都必须是8px,无阴影,边距间隔一致,为8px。 + 仓库:https://gitea.baskbuddy.com/baskbuddy/mydreamjob 严格要求:请在每周的工作日的9:20的时候拉取一次远端仓库、每天17:50提交一次git仓库并推送到远端,每天一次,其他时间可以改动但不需要提交,说明今天新增与改动的内容,上班时间是9:00-18:00,有页面出口就一定要有入口。 diff --git a/app/(enterprise)/enterprise-chat.tsx b/app/(enterprise)/enterprise-chat.tsx index 6c8bc63..63a09db 100644 --- a/app/(enterprise)/enterprise-chat.tsx +++ b/app/(enterprise)/enterprise-chat.tsx @@ -420,7 +420,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.primary, }, body: { - padding: 16, + padding: 8, paddingBottom: 24, }, center: { @@ -441,8 +441,8 @@ const styles = StyleSheet.create({ pendingCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, }, pendingTitle: { fontSize: 15, @@ -451,14 +451,14 @@ const styles = StyleSheet.create({ marginBottom: 12, }, pendingGrid: { - gap: 12, + gap: 8, }, pendingItem: { flexDirection: 'row', alignItems: 'center', backgroundColor: colors.pageBg, - borderRadius: 10, - padding: 12, + borderRadius: 8, + padding: 8, }, pendingIconWrap: { width: 40, @@ -516,7 +516,7 @@ const styles = StyleSheet.create({ emptyList: { alignItems: 'center', gap: 10, - paddingVertical: 32, + padding: 8, backgroundColor: colors.white, borderRadius: 8, }, @@ -525,7 +525,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.white, borderRadius: 8, overflow: 'hidden', - marginBottom: 12, + marginBottom: 8, }, chatBorder: { borderBottomWidth: 1, @@ -616,7 +616,7 @@ const styles = StyleSheet.create({ flexDirection: 'row', backgroundColor: colors.white, borderRadius: 8, - paddingVertical: 14, + paddingVertical: 8, }, quickAction: { flex: 1, @@ -630,7 +630,7 @@ const styles = StyleSheet.create({ emptyCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 28, + padding: 8, alignItems: 'center', }, emptyIconWrap: { @@ -670,7 +670,7 @@ const styles = StyleSheet.create({ width: '100%', backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 16, + padding: 8, alignItems: 'flex-start', }, dataTitle: { diff --git a/app/(enterprise)/enterprise-overview.tsx b/app/(enterprise)/enterprise-overview.tsx index 6f36095..1a4834b 100644 --- a/app/(enterprise)/enterprise-overview.tsx +++ b/app/(enterprise)/enterprise-overview.tsx @@ -321,9 +321,9 @@ const styles = StyleSheet.create({ color: colors.textInverse, }, companyCard: { - marginHorizontal: 16, + marginHorizontal: 8, marginTop: 8, - padding: 16, + padding: 8, backgroundColor: colors.white, borderRadius: 8, }, @@ -389,14 +389,14 @@ const styles = StyleSheet.create({ flex: 1, }, scrollContent: { - padding: 16, + padding: 8, paddingBottom: 32, }, card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, cardHeader: { flexDirection: 'row', @@ -533,8 +533,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, candidateIconWrap: { width: 44, diff --git a/app/(enterprise)/job-management.tsx b/app/(enterprise)/job-management.tsx index 67c85f0..dbcc41a 100644 --- a/app/(enterprise)/job-management.tsx +++ b/app/(enterprise)/job-management.tsx @@ -654,7 +654,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.primary, }, body: { - padding: 16, + padding: 8, paddingBottom: 24, }, center: { @@ -675,7 +675,7 @@ const styles = StyleSheet.create({ statsGrid: { flexDirection: 'row', flexWrap: 'wrap', - gap: 12, + gap: 8, marginBottom: 12, }, statCard: { @@ -684,7 +684,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 12, + padding: 8, }, statIconWrap: { width: 40, @@ -762,8 +762,8 @@ const styles = StyleSheet.create({ jobCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, }, jobHeader: { flexDirection: 'row', @@ -1057,7 +1057,7 @@ const styles = StyleSheet.create({ emptyCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 28, + padding: 8, alignItems: 'center', }, emptyIconWrap: { @@ -1097,7 +1097,7 @@ const styles = StyleSheet.create({ width: '100%', backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 16, + padding: 8, alignItems: 'flex-start', }, benefitTitle: { diff --git a/app/(enterprise)/talent-recommendation.tsx b/app/(enterprise)/talent-recommendation.tsx index 1373e6b..a8f736e 100644 --- a/app/(enterprise)/talent-recommendation.tsx +++ b/app/(enterprise)/talent-recommendation.tsx @@ -428,7 +428,7 @@ const styles = StyleSheet.create({ emptyList: { alignItems: 'center', gap: 10, - paddingVertical: 32, + padding: 8, backgroundColor: colors.white, borderRadius: 8, }, @@ -479,7 +479,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.primary, }, body: { - padding: 16, + padding: 8, paddingBottom: 24, }, center: { @@ -539,8 +539,8 @@ const styles = StyleSheet.create({ candidateCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, }, candidateHeader: { flexDirection: 'row', @@ -667,8 +667,8 @@ const styles = StyleSheet.create({ poolCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginTop: 4, + padding: 8, + marginTop: 8, }, poolTitle: { fontSize: 15, @@ -713,7 +713,7 @@ const styles = StyleSheet.create({ emptyCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 28, + padding: 8, alignItems: 'center', }, emptyIconWrap: { @@ -753,8 +753,8 @@ const styles = StyleSheet.create({ width: '100%', backgroundColor: colors.actionLight, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, alignItems: 'flex-start', }, actionHeader: { @@ -791,7 +791,7 @@ const styles = StyleSheet.create({ width: '100%', backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 16, + padding: 8, alignItems: 'flex-start', }, dataTitle: { diff --git a/app/(tabs)/chat.tsx b/app/(tabs)/chat.tsx index 2af706e..92b34cb 100644 --- a/app/(tabs)/chat.tsx +++ b/app/(tabs)/chat.tsx @@ -382,7 +382,7 @@ const styles = StyleSheet.create({ matchBanner: { backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, matchBannerTitle: { @@ -401,7 +401,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, avatarWrap: { @@ -471,7 +471,7 @@ const styles = StyleSheet.create({ justifyContent: 'space-between', backgroundColor: colors.actionLight, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, offerTitle: { @@ -489,7 +489,7 @@ const styles = StyleSheet.create({ notiCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, notiTitleRow: { @@ -538,7 +538,7 @@ const styles = StyleSheet.create({ interviewCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, interviewHeader: { diff --git a/app/(tabs)/growth.tsx b/app/(tabs)/growth.tsx index 561995f..884e124 100644 --- a/app/(tabs)/growth.tsx +++ b/app/(tabs)/growth.tsx @@ -369,7 +369,7 @@ const styles = StyleSheet.create({ flexDirection: 'row', marginTop: 8, borderRadius: 8, - padding: 20, + padding: 8, }, heroIcon: { width: 52, @@ -420,8 +420,7 @@ const styles = StyleSheet.create({ emptyBox: { backgroundColor: colors.surface, borderRadius: 8, - paddingVertical: 32, - paddingHorizontal: 16, + padding: 8, alignItems: 'center', gap: 8, }, @@ -446,7 +445,7 @@ const styles = StyleSheet.create({ abilityCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, }, abilityTop: { flexDirection: 'row', @@ -531,12 +530,12 @@ const styles = StyleSheet.create({ /* ---- AI 求职工具 ---- */ toolsRow: { flexDirection: 'row', - gap: 12, + gap: 8, }, toolCard: { flex: 1, borderRadius: 8, - padding: 16, + padding: 8, borderWidth: 1, }, toolTitle: { @@ -560,7 +559,7 @@ const styles = StyleSheet.create({ flexDirection: 'row', backgroundColor: colors.white, borderRadius: 8, - padding: 12, + padding: 8, marginBottom: 8, }, articleThumb: { diff --git a/app/(tabs)/jobs.tsx b/app/(tabs)/jobs.tsx index 551eff1..c1bdde6 100644 --- a/app/(tabs)/jobs.tsx +++ b/app/(tabs)/jobs.tsx @@ -581,7 +581,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, cardPressed: { diff --git a/app/(tabs)/profile.tsx b/app/(tabs)/profile.tsx index 8de224e..560dd59 100644 --- a/app/(tabs)/profile.tsx +++ b/app/(tabs)/profile.tsx @@ -475,8 +475,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 16, - paddingVertical: 16, + paddingHorizontal: 8, + paddingVertical: 8, }, scoreValue: { fontSize: 40, @@ -537,8 +537,8 @@ const styles = StyleSheet.create({ dimCard: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 16, - paddingVertical: 6, + paddingHorizontal: 8, + paddingVertical: 8, }, dimRow: { flexDirection: 'row', @@ -582,8 +582,8 @@ const styles = StyleSheet.create({ prefCard: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 16, - paddingVertical: 6, + paddingHorizontal: 8, + paddingVertical: 8, }, prefRow: { flexDirection: 'row', @@ -634,13 +634,13 @@ const styles = StyleSheet.create({ }, hScrollContent: { paddingHorizontal: 8, - gap: 12, + gap: 8, }, badgeCard: { width: 140, backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, alignItems: 'center', }, badgeIcon: { @@ -698,8 +698,8 @@ const styles = StyleSheet.create({ flexDirection: 'row', backgroundColor: colors.white, borderRadius: 8, - paddingVertical: 16, - marginBottom: 12, + paddingVertical: 8, + marginBottom: 8, }, statItem: { flex: 1, @@ -716,9 +716,9 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 16, - paddingVertical: 16, - marginBottom: 12, + paddingHorizontal: 8, + paddingVertical: 8, + marginBottom: 8, }, enterpriseIconWrap: { width: 44, @@ -736,7 +736,7 @@ const styles = StyleSheet.create({ menuCard: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 16, + paddingHorizontal: 8, }, menuRow: { flexDirection: 'row', diff --git a/app/ability.tsx b/app/ability.tsx index a6dd013..19956c1 100644 --- a/app/ability.tsx +++ b/app/ability.tsx @@ -277,13 +277,13 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - body: { padding: 16, paddingBottom: 32 }, + body: { padding: 8, paddingBottom: 32 }, scoreCard: { flexDirection: 'row', backgroundColor: colors.white, borderRadius: 8, - padding: 18, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -300,8 +300,7 @@ const styles = StyleSheet.create({ emptyBox: { backgroundColor: colors.surface, borderRadius: 8, - paddingVertical: 28, - paddingHorizontal: 16, + padding: 8, alignItems: 'center', gap: 8, }, @@ -310,8 +309,8 @@ const styles = StyleSheet.create({ dimCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -346,8 +345,8 @@ const styles = StyleSheet.create({ chartCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginTop: 16, + padding: 8, + marginTop: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -361,8 +360,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/appeal.tsx b/app/appeal.tsx index 79900b6..f9fcdd9 100644 --- a/app/appeal.tsx +++ b/app/appeal.tsx @@ -461,7 +461,7 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - body: { paddingHorizontal: 16, paddingBottom: 100, paddingTop: 12 }, + body: { paddingHorizontal: 8, paddingBottom: 100, paddingTop: 12 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { @@ -474,8 +474,8 @@ const styles = StyleSheet.create({ noticeCard: { backgroundColor: colors.infoLight, borderRadius: 8, - padding: 14, - marginBottom: 16, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.infoBorder, }, @@ -491,8 +491,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -526,9 +526,9 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', backgroundColor: colors.white, - borderRadius: 10, - paddingVertical: 12, - paddingHorizontal: 14, + borderRadius: 8, + paddingVertical: 8, + paddingHorizontal: 8, marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, @@ -581,7 +581,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 14, + paddingHorizontal: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/article/[id].tsx b/app/article/[id].tsx index d0cfb8c..ad0c378 100644 --- a/app/article/[id].tsx +++ b/app/article/[id].tsx @@ -102,7 +102,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 16, + padding: 8, paddingBottom: 24, }, thumb: { diff --git a/app/assessment.tsx b/app/assessment.tsx index 1ea13da..2235fc3 100644 --- a/app/assessment.tsx +++ b/app/assessment.tsx @@ -166,15 +166,15 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - body: { padding: 16, paddingBottom: 32 }, + body: { padding: 8, paddingBottom: 32 }, abilityCard: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', backgroundColor: colors.white, borderRadius: 8, - padding: 18, - marginBottom: 16, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -186,12 +186,12 @@ const styles = StyleSheet.create({ levelText: { fontSize: 12, fontWeight: '700' }, abilityDesc: { fontSize: 13, color: colors.primary, marginTop: 8 }, sectionTitle: { fontSize: 18, fontWeight: '700', color: colors.textPrimary, marginBottom: 12 }, - entries: { gap: 12 }, + entries: { gap: 8 }, entryCard: { flexDirection: 'row', alignItems: 'center', borderRadius: 8, - padding: 16, + padding: 8, }, entryIcon: { width: 44, diff --git a/app/audit-report.tsx b/app/audit-report.tsx index 1eba15f..188ad31 100644 --- a/app/audit-report.tsx +++ b/app/audit-report.tsx @@ -259,7 +259,7 @@ const styles = StyleSheet.create({ headerBtn: { width: 36, height: 36, alignItems: 'center', justifyContent: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, scroll: { flex: 1 }, - content: { padding: 12 }, + content: { padding: 8 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center' }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { @@ -275,7 +275,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.success, borderRadius: 8, - padding: 20, + padding: 8, }, gradeCircle: { width: 72, @@ -308,8 +308,8 @@ const styles = StyleSheet.create({ width: '48%', backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, }, kpiIconWrap: { width: 36, @@ -327,7 +327,7 @@ const styles = StyleSheet.create({ chartCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, }, chartGap: { height: 12 }, chartHeader: { diff --git a/app/candidate-detail.tsx b/app/candidate-detail.tsx index cddfda9..c8f495f 100644 --- a/app/candidate-detail.tsx +++ b/app/candidate-detail.tsx @@ -385,14 +385,14 @@ const styles = StyleSheet.create({ flex: 1, }, scrollContent: { - padding: 16, + padding: 8, paddingBottom: 100, }, infoCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, infoHeader: { flexDirection: 'row', @@ -430,7 +430,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.successLight, borderRadius: 8, - paddingHorizontal: 12, + paddingHorizontal: 8, paddingVertical: 8, }, matchValue: { @@ -471,8 +471,8 @@ const styles = StyleSheet.create({ scoreCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 20, - marginBottom: 16, + padding: 8, + marginBottom: 8, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', @@ -503,8 +503,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, cardTitle: { fontSize: 16, @@ -612,11 +612,11 @@ const styles = StyleSheet.create({ suggestionRow: { flexDirection: 'row', alignItems: 'center', - padding: 12, - borderRadius: 12, + padding: 8, + borderRadius: 8, borderWidth: 1, borderColor: colors.borderLight, - marginBottom: 10, + marginBottom: 8, }, suggestionDot: { width: 10, @@ -638,8 +638,8 @@ const styles = StyleSheet.create({ color: colors.textSecondary, }, salaryBox: { - marginTop: 12, - padding: 14, + marginTop: 8, + padding: 8, borderRadius: 8, backgroundColor: colors.infoLight, }, diff --git a/app/chat/[id].tsx b/app/chat/[id].tsx index b677740..1f3a399 100644 --- a/app/chat/[id].tsx +++ b/app/chat/[id].tsx @@ -487,7 +487,7 @@ const styles = StyleSheet.create({ alignItems: 'center', marginHorizontal: 8, marginTop: 8, - padding: 10, + padding: 8, borderRadius: 8, backgroundColor: colors.successLight, }, @@ -580,8 +580,8 @@ const styles = StyleSheet.create({ width: 260, backgroundColor: colors.white, borderRadius: 8, - padding: 12, - marginTop: 6, + padding: 8, + marginTop: 8, }, cardHeader: { flexDirection: 'row', @@ -635,8 +635,8 @@ const styles = StyleSheet.create({ width: 260, backgroundColor: colors.actionLight, borderRadius: 8, - padding: 12, - marginTop: 6, + padding: 8, + marginTop: 8, }, cardOfferHeader: { flexDirection: 'row', diff --git a/app/enterprise-certification.tsx b/app/enterprise-certification.tsx index 0819f73..0b45157 100644 --- a/app/enterprise-certification.tsx +++ b/app/enterprise-certification.tsx @@ -267,10 +267,10 @@ const styles = StyleSheet.create({ }, retryText: { fontSize: 13, fontWeight: '600', color: colors.primaryText }, topCard: { - margin: 12, + margin: 8, backgroundColor: colors.primary, borderRadius: 8, - padding: 20, + padding: 8, }, topHeader: { flexDirection: 'row', alignItems: 'center', marginBottom: 16 }, shieldWrap: { @@ -296,10 +296,10 @@ const styles = StyleSheet.create({ }, statusText: { fontSize: 11, fontWeight: '600' }, formCard: { - marginHorizontal: 12, + marginHorizontal: 8, backgroundColor: colors.white, borderRadius: 8, - padding: 20, + padding: 8, }, formTitle: { fontSize: 16, fontWeight: '700', color: colors.textPrimary, marginBottom: 16 }, field: { marginBottom: 16 }, @@ -324,10 +324,10 @@ const styles = StyleSheet.create({ submitBtnDisabled: { opacity: 0.6 }, submitBtnText: { fontSize: 16, fontWeight: '700', color: colors.textInverse }, successCard: { - marginHorizontal: 12, + marginHorizontal: 8, backgroundColor: colors.white, borderRadius: 8, - padding: 32, + padding: 8, alignItems: 'center', }, successTitle: { fontSize: 18, fontWeight: '700', color: colors.textPrimary, marginTop: 16 }, @@ -341,10 +341,10 @@ const styles = StyleSheet.create({ }, successBtnText: { fontSize: 15, fontWeight: '700', color: colors.textInverse }, pendingCard: { - marginHorizontal: 12, + marginHorizontal: 8, backgroundColor: colors.white, borderRadius: 8, - padding: 32, + padding: 8, alignItems: 'center', }, pendingTitle: { fontSize: 18, fontWeight: '700', color: colors.textPrimary, marginTop: 16 }, diff --git a/app/favorites.tsx b/app/favorites.tsx index 429b911..0dcd848 100644 --- a/app/favorites.tsx +++ b/app/favorites.tsx @@ -79,7 +79,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - paddingHorizontal: 12, + paddingHorizontal: 8, paddingTop: 12, paddingBottom: 24, }, diff --git a/app/game.tsx b/app/game.tsx index ce43904..b929e7a 100644 --- a/app/game.tsx +++ b/app/game.tsx @@ -207,7 +207,7 @@ const styles = StyleSheet.create({ progressCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, progressHead: { @@ -242,7 +242,7 @@ const styles = StyleSheet.create({ levelCard: { flexDirection: 'row', alignItems: 'center', - padding: 14, + padding: 8, borderRadius: 8, borderWidth: 1, backgroundColor: colors.white, diff --git a/app/game/level.tsx b/app/game/level.tsx index 42d386e..b338124 100644 --- a/app/game/level.tsx +++ b/app/game/level.tsx @@ -292,13 +292,13 @@ const styles = StyleSheet.create({ color: colors.textSecondary, backgroundColor: colors.white, borderRadius: 8, - padding: 12, + padding: 8, marginBottom: 8, }, questionCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 14, + padding: 8, marginBottom: 8, }, questionIndex: { @@ -321,9 +321,9 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', - paddingHorizontal: 12, - paddingVertical: 10, - borderRadius: 6, + paddingHorizontal: 8, + paddingVertical: 8, + borderRadius: 8, borderWidth: 1, borderColor: colors.border, backgroundColor: colors.white, @@ -367,9 +367,9 @@ const styles = StyleSheet.create({ color: colors.textPrimary, }, explanation: { - marginTop: 12, - padding: 12, - borderRadius: 6, + marginTop: 8, + padding: 8, + borderRadius: 8, backgroundColor: colors.infoLight, }, explanationLabel: { @@ -387,7 +387,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, resultTitle: { diff --git a/app/history.tsx b/app/history.tsx index c243bf4..1693634 100644 --- a/app/history.tsx +++ b/app/history.tsx @@ -79,7 +79,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - paddingHorizontal: 12, + paddingHorizontal: 8, paddingTop: 12, paddingBottom: 24, }, diff --git a/app/holland-result.tsx b/app/holland-result.tsx index 25782bf..bf0815a 100644 --- a/app/holland-result.tsx +++ b/app/holland-result.tsx @@ -310,13 +310,13 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - body: { padding: 16, paddingBottom: 32 }, + body: { padding: 8, paddingBottom: 32 }, heroCard: { borderRadius: 8, - padding: 20, + padding: 8, flexDirection: 'row', alignItems: 'center', - marginBottom: 16, + marginBottom: 8, }, heroLeft: { flex: 1 }, heroLabel: { fontSize: 13, color: colors.textInverse, opacity: 0.9 }, @@ -328,8 +328,8 @@ const styles = StyleSheet.create({ typeCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -357,8 +357,8 @@ const styles = StyleSheet.create({ jobCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -386,8 +386,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/holland.tsx b/app/holland.tsx index e769bde..728255e 100644 --- a/app/holland.tsx +++ b/app/holland.tsx @@ -173,7 +173,7 @@ const styles = StyleSheet.create({ headerBtn: { width: 50, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, headerRecord: { fontSize: 14, color: colors.primary, fontWeight: '500' }, - body: { padding: 16, paddingBottom: 24 }, + body: { padding: 8, paddingBottom: 24 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { paddingHorizontal: 18, paddingVertical: 8, borderRadius: 16, backgroundColor: colors.primaryLight }, @@ -181,9 +181,9 @@ const styles = StyleSheet.create({ heroCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 28, + padding: 8, alignItems: 'center', - marginBottom: 20, + marginBottom: 8, }, heroIconWrap: { width: 96, @@ -228,8 +228,8 @@ const styles = StyleSheet.create({ dimItem: { width: '30.8%', backgroundColor: colors.white, - borderRadius: 12, - padding: 14, + borderRadius: 8, + padding: 8, alignItems: 'center', }, dimBadge: { @@ -265,7 +265,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, }, featureIcon: { width: 44, @@ -293,7 +293,7 @@ const styles = StyleSheet.create({ advantageCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, }, advantageTitle: { fontSize: 15, diff --git a/app/holland/question.tsx b/app/holland/question.tsx index 4897a9e..da5fed1 100644 --- a/app/holland/question.tsx +++ b/app/holland/question.tsx @@ -200,12 +200,12 @@ const styles = StyleSheet.create({ headerCenter: { alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, headerSub: { fontSize: 12, color: colors.textHint, marginTop: 2 }, - body: { padding: 16, paddingBottom: 32 }, + body: { padding: 8, paddingBottom: 32 }, dimCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -245,8 +245,8 @@ const styles = StyleSheet.create({ questionCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 24, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, alignItems: 'center', @@ -265,9 +265,9 @@ const styles = StyleSheet.create({ alignItems: 'center', justifyContent: 'space-between', backgroundColor: colors.white, - borderRadius: 12, - paddingVertical: 16, - paddingHorizontal: 18, + borderRadius: 8, + paddingVertical: 8, + paddingHorizontal: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/hr-evaluation.tsx b/app/hr-evaluation.tsx index aaeeac0..3b416d7 100644 --- a/app/hr-evaluation.tsx +++ b/app/hr-evaluation.tsx @@ -321,7 +321,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.primaryLight, }, headerAppealText: { fontSize: 13, fontWeight: '600', color: colors.primaryText }, - body: { paddingHorizontal: 16, paddingBottom: 100, paddingTop: 12 }, + body: { paddingHorizontal: 8, paddingBottom: 100, paddingTop: 12 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { @@ -337,8 +337,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 18, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -362,16 +362,16 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, chartCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -405,8 +405,7 @@ const styles = StyleSheet.create({ emptyBox: { backgroundColor: colors.surface, borderRadius: 8, - paddingVertical: 28, - paddingHorizontal: 16, + padding: 8, alignItems: 'center', gap: 8, }, @@ -415,8 +414,8 @@ const styles = StyleSheet.create({ reviewCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/interview-score.tsx b/app/interview-score.tsx index cf16c0c..19d4f4a 100644 --- a/app/interview-score.tsx +++ b/app/interview-score.tsx @@ -391,14 +391,14 @@ const styles = StyleSheet.create({ flex: 1, }, scrollContent: { - padding: 16, + padding: 8, paddingBottom: 100, }, infoCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, infoRow: { flexDirection: 'row', @@ -420,8 +420,8 @@ const styles = StyleSheet.create({ scoreCard: { backgroundColor: colors.primary, borderRadius: 8, - padding: 20, - marginBottom: 16, + padding: 8, + marginBottom: 8, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', @@ -448,8 +448,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, cardTitle: { fontSize: 16, @@ -536,11 +536,11 @@ const styles = StyleSheet.create({ suggestionRow: { flexDirection: 'row', alignItems: 'center', - padding: 12, - borderRadius: 12, + padding: 8, + borderRadius: 8, borderWidth: 1, borderColor: colors.borderLight, - marginBottom: 10, + marginBottom: 8, }, suggestionDot: { width: 10, @@ -567,7 +567,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.infoLight, borderRadius: 8, - padding: 16, + padding: 8, }, salaryRange: { fontSize: 24, @@ -616,9 +616,9 @@ const styles = StyleSheet.create({ borderWidth: 1, borderColor: colors.infoBorder, borderRadius: 8, - paddingHorizontal: 12, - paddingVertical: 10, - marginBottom: 12, + paddingHorizontal: 8, + paddingVertical: 8, + marginBottom: 8, }, draftBannerBody: { flex: 1 }, draftBannerTitle: { fontSize: 13, fontWeight: '700', color: colors.infoText }, diff --git a/app/interview.tsx b/app/interview.tsx index e18827b..816ec80 100644 --- a/app/interview.tsx +++ b/app/interview.tsx @@ -377,7 +377,7 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - body: { paddingHorizontal: 16, paddingBottom: 100, paddingTop: 12 }, + body: { paddingHorizontal: 8, paddingBottom: 100, paddingTop: 12 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { @@ -394,8 +394,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -414,8 +414,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/job-evaluations.tsx b/app/job-evaluations.tsx index afb4368..7eb4ec8 100644 --- a/app/job-evaluations.tsx +++ b/app/job-evaluations.tsx @@ -544,14 +544,14 @@ const styles = StyleSheet.create({ flex: 1, }, scrollContent: { - padding: 16, + padding: 8, paddingBottom: 32, }, scoreCard: { backgroundColor: colors.primary, borderRadius: 8, - padding: 20, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, scoreMain: { flexDirection: 'row', @@ -606,8 +606,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, cardTitle: { fontSize: 16, @@ -618,15 +618,15 @@ const styles = StyleSheet.create({ chartCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, alignItems: 'center', }, radarCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, alignItems: 'center', }, jobRow: { @@ -749,8 +749,8 @@ const styles = StyleSheet.create({ }, /* ---- 回复内容块 ---- */ replyBlock: { - marginTop: 10, - padding: 10, + marginTop: 8, + padding: 8, borderRadius: 8, backgroundColor: colors.successLight, }, @@ -775,7 +775,7 @@ const styles = StyleSheet.create({ modalCard: { backgroundColor: colors.surface, borderRadius: 8, - padding: 18, + padding: 8, }, modalTitle: { fontSize: 16, @@ -870,7 +870,7 @@ const styles = StyleSheet.create({ emptyCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 28, + padding: 8, alignItems: 'center', marginTop: 8, }, @@ -906,7 +906,7 @@ const styles = StyleSheet.create({ width: '100%', backgroundColor: colors.actionLight, borderRadius: 8, - padding: 16, + padding: 8, alignItems: 'flex-start', }, tipHeader: { diff --git a/app/job-preference.tsx b/app/job-preference.tsx index 3545af6..e19e38b 100644 --- a/app/job-preference.tsx +++ b/app/job-preference.tsx @@ -195,7 +195,7 @@ export default function JobPreferenceScreen() { const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: colors.pageBg }, - body: { padding: 20, paddingBottom: 24 }, + body: { padding: 8, paddingBottom: 24 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { diff --git a/app/job-publish.tsx b/app/job-publish.tsx index 6cd776f..0835aa6 100644 --- a/app/job-publish.tsx +++ b/app/job-publish.tsx @@ -434,14 +434,14 @@ const styles = StyleSheet.create({ flex: 1, }, scrollContent: { - padding: 16, + padding: 8, paddingBottom: 100, }, card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, cardTitle: { fontSize: 16, diff --git a/app/jobs/[id].tsx b/app/jobs/[id].tsx index 37acba5..992eaeb 100644 --- a/app/jobs/[id].tsx +++ b/app/jobs/[id].tsx @@ -418,22 +418,22 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - paddingHorizontal: 20, + paddingHorizontal: 8, paddingBottom: 24, }, card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, /* ---- 空态 ---- */ emptyCard: { backgroundColor: colors.white, borderRadius: 8, - paddingVertical: 32, - paddingHorizontal: 16, - marginBottom: 16, + paddingVertical: 8, + paddingHorizontal: 8, + marginBottom: 8, alignItems: 'center', gap: 8, }, diff --git a/app/jobs/compare.tsx b/app/jobs/compare.tsx index 68e92f3..4411655 100644 --- a/app/jobs/compare.tsx +++ b/app/jobs/compare.tsx @@ -193,7 +193,7 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 32, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '500', color: colors.textPrimary }, - content: { padding: 16, paddingBottom: 32 }, + content: { padding: 8, paddingBottom: 32 }, stateWrap: { flex: 1, alignItems: 'center', @@ -228,10 +228,10 @@ const styles = StyleSheet.create({ backgroundColor: colors.primaryBtn, }, emptyBtnText: { fontSize: 14, fontWeight: '500', color: colors.white }, - jobRow: { flexDirection: 'row', gap: 10 }, + jobRow: { flexDirection: 'row', gap: 8 }, jobCard: { flex: 1, - padding: 12, + padding: 8, borderRadius: 8, backgroundColor: colors.surface, borderWidth: StyleSheet.hairlineWidth, @@ -256,7 +256,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.surface, borderWidth: StyleSheet.hairlineWidth, borderColor: colors.borderLight, - paddingHorizontal: 14, + paddingHorizontal: 8, }, scoreRow: { paddingVertical: 12, diff --git a/app/jobs/offer-compare.tsx b/app/jobs/offer-compare.tsx index bc26fc8..625602d 100644 --- a/app/jobs/offer-compare.tsx +++ b/app/jobs/offer-compare.tsx @@ -383,7 +383,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - paddingHorizontal: 12, + paddingHorizontal: 8, paddingTop: 8, paddingBottom: 12, }, @@ -393,13 +393,12 @@ const styles = StyleSheet.create({ /* ---- Offer 卡片 ---- */ offerList: { - gap: 10, + gap: 8, paddingVertical: 4, - paddingHorizontal: 4, }, offerCard: { width: 150, - padding: 14, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, @@ -449,8 +448,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginTop: 12, + padding: 8, + marginTop: 8, }, sectionHeader: { flexDirection: 'row', @@ -576,9 +575,9 @@ const styles = StyleSheet.create({ /* ---- AI 建议 ---- */ aiCard: { - marginTop: 12, + marginTop: 8, borderRadius: 8, - padding: 16, + padding: 8, }, aiHeader: { flexDirection: 'row', diff --git a/app/jobs/rank.tsx b/app/jobs/rank.tsx index 53d9a76..efe43ff 100644 --- a/app/jobs/rank.tsx +++ b/app/jobs/rank.tsx @@ -436,7 +436,7 @@ const styles = StyleSheet.create({ flex: 1, }, scrollContent: { - paddingHorizontal: 16, + paddingHorizontal: 8, paddingBottom: 40, }, bottomSpacer: { @@ -461,7 +461,7 @@ const styles = StyleSheet.create({ rankCard: { backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 16, + padding: 8, borderWidth: 1, borderColor: colors.primaryBorder, }, @@ -524,8 +524,8 @@ const styles = StyleSheet.create({ section: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginTop: 16, + padding: 8, + marginTop: 8, }, sectionTitle: { fontSize: 16, @@ -629,7 +629,7 @@ const styles = StyleSheet.create({ emptyCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 28, + padding: 8, alignItems: 'center', }, emptyIconWrap: { @@ -668,8 +668,8 @@ const styles = StyleSheet.create({ progressCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 20, - marginTop: 16, + padding: 8, + marginTop: 8, }, progressTitle: { fontSize: 16, diff --git a/app/jobs/weight-settings.tsx b/app/jobs/weight-settings.tsx index eae6edd..b6f6a7a 100644 --- a/app/jobs/weight-settings.tsx +++ b/app/jobs/weight-settings.tsx @@ -183,7 +183,7 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 32, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '500', color: colors.textPrimary }, - content: { padding: 16, paddingBottom: 24 }, + content: { padding: 8, paddingBottom: 24 }, stateWrap: { flex: 1, alignItems: 'center', justifyContent: 'center', gap: 12 }, stateText: { fontSize: 14, color: colors.textSecondary }, retryBtn: { @@ -197,7 +197,7 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', - padding: 16, + padding: 8, borderRadius: 8, backgroundColor: colors.primaryLight, }, @@ -218,7 +218,7 @@ const styles = StyleSheet.create({ templateRow: { gap: 10, paddingRight: 16 }, templateCard: { width: 140, - padding: 12, + padding: 8, borderRadius: 8, backgroundColor: colors.surface, borderWidth: StyleSheet.hairlineWidth, @@ -231,7 +231,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.surface, borderWidth: StyleSheet.hairlineWidth, borderColor: colors.borderLight, - paddingHorizontal: 14, + paddingHorizontal: 8, }, dimRow: { paddingVertical: 14, diff --git a/app/legal.tsx b/app/legal.tsx index accf5d1..c0daa52 100644 --- a/app/legal.tsx +++ b/app/legal.tsx @@ -365,7 +365,7 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 14, + padding: 8, marginBottom: 8, borderWidth: 1, borderColor: colors.primaryBorder, @@ -425,7 +425,7 @@ const styles = StyleSheet.create({ emptyHint: { backgroundColor: colors.surface, borderRadius: 8, - paddingVertical: 28, + padding: 8, alignItems: 'center', gap: 8, }, @@ -436,7 +436,7 @@ const styles = StyleSheet.create({ serviceCard: { flexDirection: 'row', alignItems: 'center', - padding: 12, + padding: 8, borderRadius: 8, backgroundColor: colors.white, }, @@ -494,7 +494,7 @@ const styles = StyleSheet.create({ templateCard: { flexDirection: 'row', alignItems: 'center', - padding: 12, + padding: 8, borderRadius: 8, backgroundColor: colors.white, }, @@ -515,7 +515,7 @@ const styles = StyleSheet.create({ faqCard: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 12, + paddingHorizontal: 8, }, faqItem: { paddingVertical: 12, @@ -546,7 +546,7 @@ const styles = StyleSheet.create({ }, planCard: { flex: 1, - padding: 14, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, @@ -571,13 +571,13 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', gap: 6, - paddingHorizontal: 12, - paddingVertical: 10, + paddingHorizontal: 8, + paddingVertical: 8, borderRadius: 8, backgroundColor: colors.actionLight, borderWidth: 1, borderColor: colors.action, - marginBottom: 12, + marginBottom: 8, }, memberBannerText: { flex: 1, diff --git a/app/legal/chat.tsx b/app/legal/chat.tsx index a7534af..8eb7b15 100644 --- a/app/legal/chat.tsx +++ b/app/legal/chat.tsx @@ -181,7 +181,7 @@ const styles = StyleSheet.create({ gap: 8, backgroundColor: colors.infoLight, borderRadius: 8, - padding: 10, + padding: 8, marginBottom: 8, }, tipText: { diff --git a/app/legal/checkout.tsx b/app/legal/checkout.tsx index 8de786c..b91c872 100644 --- a/app/legal/checkout.tsx +++ b/app/legal/checkout.tsx @@ -219,11 +219,11 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, summaryCard: { - padding: 16, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, @@ -280,7 +280,7 @@ const styles = StyleSheet.create({ channelRow: { flexDirection: 'row', alignItems: 'center', - padding: 14, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, diff --git a/app/legal/faq.tsx b/app/legal/faq.tsx index b50c07e..16814db 100644 --- a/app/legal/faq.tsx +++ b/app/legal/faq.tsx @@ -103,13 +103,13 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, faqCard: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 12, + paddingHorizontal: 8, }, faqItem: { paddingVertical: 12, diff --git a/app/legal/service.tsx b/app/legal/service.tsx index 58bcf69..d01e330 100644 --- a/app/legal/service.tsx +++ b/app/legal/service.tsx @@ -254,11 +254,11 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, card: { - padding: 14, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, @@ -347,7 +347,7 @@ const styles = StyleSheet.create({ marginTop: 16, }, emptyCard: { - padding: 20, + padding: 8, borderRadius: 8, backgroundColor: colors.white, alignItems: 'center', @@ -357,7 +357,7 @@ const styles = StyleSheet.create({ color: colors.textSecondary, }, errorCard: { - padding: 20, + padding: 8, borderRadius: 8, backgroundColor: colors.dangerLight, borderWidth: 1, @@ -378,7 +378,7 @@ const styles = StyleSheet.create({ gap: 8, }, requestCard: { - padding: 12, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, diff --git a/app/legal/template.tsx b/app/legal/template.tsx index 1ddc808..7bc27fa 100644 --- a/app/legal/template.tsx +++ b/app/legal/template.tsx @@ -99,16 +99,16 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, headCard: { flexDirection: 'row', alignItems: 'center', - padding: 16, + padding: 8, borderRadius: 8, backgroundColor: colors.white, - marginBottom: 12, + marginBottom: 8, }, headBody: { flex: 1, @@ -125,7 +125,7 @@ const styles = StyleSheet.create({ color: colors.textSecondary, }, contentCard: { - padding: 16, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, diff --git a/app/legal/templates.tsx b/app/legal/templates.tsx index c32ca49..57223ad 100644 --- a/app/legal/templates.tsx +++ b/app/legal/templates.tsx @@ -102,7 +102,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, templateGrid: { @@ -111,7 +111,7 @@ const styles = StyleSheet.create({ templateCard: { flexDirection: 'row', alignItems: 'center', - padding: 12, + padding: 8, borderRadius: 8, backgroundColor: colors.white, }, diff --git a/app/legal/upgrade.tsx b/app/legal/upgrade.tsx index bc8802d..eb2aaa9 100644 --- a/app/legal/upgrade.tsx +++ b/app/legal/upgrade.tsx @@ -147,7 +147,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, tip: { @@ -156,10 +156,10 @@ const styles = StyleSheet.create({ marginBottom: 12, }, planGrid: { - gap: 12, + gap: 8, }, planCard: { - padding: 14, + padding: 8, borderRadius: 8, backgroundColor: colors.white, borderWidth: 1, @@ -184,13 +184,13 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', gap: 6, - paddingHorizontal: 12, - paddingVertical: 10, + paddingHorizontal: 8, + paddingVertical: 8, borderRadius: 8, backgroundColor: colors.actionLight, borderWidth: 1, borderColor: colors.action, - marginBottom: 12, + marginBottom: 8, }, memberBannerText: { flex: 1, diff --git a/app/onboarding.tsx b/app/onboarding.tsx index 7f94302..c9cec32 100644 --- a/app/onboarding.tsx +++ b/app/onboarding.tsx @@ -434,7 +434,7 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - body: { paddingHorizontal: 16, paddingBottom: 100, paddingTop: 12 }, + body: { paddingHorizontal: 8, paddingBottom: 100, paddingTop: 12 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { @@ -444,7 +444,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.primaryLight, }, retryText: { fontSize: 13, fontWeight: '600', color: colors.primaryText }, - countdownCard: { borderRadius: 8, padding: 18, marginBottom: 12 }, + countdownCard: { borderRadius: 8, padding: 8, marginBottom: 8 }, countdownTop: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }, countdownLabel: { fontSize: 13, color: colors.textInverse, opacity: 0.9 }, countdownValueRow: { flexDirection: 'row', alignItems: 'baseline', marginTop: 6 }, @@ -478,7 +478,7 @@ const styles = StyleSheet.create({ groupCard: { backgroundColor: colors.white, borderRadius: 8, - marginBottom: 10, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, overflow: 'hidden', @@ -518,7 +518,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginTop: 8, borderWidth: 1, borderColor: colors.borderLight, @@ -577,7 +577,7 @@ const styles = StyleSheet.create({ justifyContent: 'center', paddingHorizontal: 32, }, - modalCard: { backgroundColor: colors.white, borderRadius: 8, padding: 20 }, + modalCard: { backgroundColor: colors.white, borderRadius: 8, padding: 8 }, modalTitle: { fontSize: 16, fontWeight: '700', color: colors.textPrimary }, modalInput: { marginTop: 14, diff --git a/app/operation-rules.tsx b/app/operation-rules.tsx index 8cc8312..869ae8e 100644 --- a/app/operation-rules.tsx +++ b/app/operation-rules.tsx @@ -352,10 +352,10 @@ const styles = StyleSheet.create({ sectionBar: { width: 4, height: 16, borderRadius: 2, backgroundColor: colors.primary, marginRight: 8 }, sectionTitle: { fontSize: 16, fontWeight: '700', color: colors.textPrimary }, card: { - marginHorizontal: 12, + marginHorizontal: 8, backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 16, + paddingHorizontal: 8, paddingVertical: 8, }, modeRow: { diff --git a/app/personal-data-export.tsx b/app/personal-data-export.tsx index d0998cb..256480f 100644 --- a/app/personal-data-export.tsx +++ b/app/personal-data-export.tsx @@ -405,7 +405,7 @@ const styles = StyleSheet.create({ color: colors.textPrimary, }, body: { - padding: 16, + padding: 8, paddingBottom: 100, }, center: { @@ -427,8 +427,8 @@ const styles = StyleSheet.create({ flexDirection: 'row', backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, introIconWrap: { width: 48, @@ -514,13 +514,13 @@ const styles = StyleSheet.create({ }, formatRow: { flexDirection: 'row', - gap: 12, + gap: 8, }, formatCard: { flex: 1, backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -595,7 +595,7 @@ const styles = StyleSheet.create({ previewCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, }, previewTitle: { fontSize: 14, diff --git a/app/progress.tsx b/app/progress.tsx index fa4b6de..f08c7fc 100644 --- a/app/progress.tsx +++ b/app/progress.tsx @@ -318,11 +318,11 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - body: { padding: 16, paddingBottom: 32 }, + body: { padding: 8, paddingBottom: 32 }, statsCard: { borderRadius: 8, - padding: 20, - marginBottom: 12, + padding: 8, + marginBottom: 8, }, statsRow: { flexDirection: 'row', justifyContent: 'space-between' }, statItem: { alignItems: 'center', flex: 1 }, @@ -333,8 +333,8 @@ const styles = StyleSheet.create({ alignItems: 'center', backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.actionBorder, }, @@ -358,8 +358,7 @@ const styles = StyleSheet.create({ emptyBox: { backgroundColor: colors.surface, borderRadius: 8, - paddingVertical: 32, - paddingHorizontal: 16, + padding: 8, alignItems: 'center', gap: 8, }, @@ -376,8 +375,8 @@ const styles = StyleSheet.create({ companyCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -411,8 +410,8 @@ const styles = StyleSheet.create({ offerCard: { backgroundColor: colors.successLight, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.successBorder, }, @@ -432,7 +431,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginTop: 8, borderWidth: 1, borderColor: colors.borderLight, diff --git a/app/resume.tsx b/app/resume.tsx index 0accdd1..684a75b 100644 --- a/app/resume.tsx +++ b/app/resume.tsx @@ -886,7 +886,7 @@ const styles = StyleSheet.create({ headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, headerActions: { flexDirection: 'row', gap: 4 }, headerActionBtn: { width: 36, alignItems: 'center' }, - body: { padding: 16, paddingBottom: 100 }, + body: { padding: 8, paddingBottom: 100 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { paddingHorizontal: 18, paddingVertical: 8, borderRadius: 16, backgroundColor: colors.primaryLight }, @@ -894,16 +894,16 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, scoreCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 18, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -1012,11 +1012,11 @@ const styles = StyleSheet.create({ aiTip: { flexDirection: 'row', alignItems: 'center', - marginTop: 10, + marginTop: 8, backgroundColor: colors.infoLight, borderRadius: 8, - paddingHorizontal: 10, - paddingVertical: 6, + paddingHorizontal: 8, + paddingVertical: 8, }, aiTipText: { flex: 1, fontSize: 12, color: colors.infoText, marginLeft: 6 }, aiOptimizeMiniBtn: { diff --git a/app/resume/basic.tsx b/app/resume/basic.tsx index d5bd568..b120426 100644 --- a/app/resume/basic.tsx +++ b/app/resume/basic.tsx @@ -131,6 +131,6 @@ interface BasicForm { const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: colors.pageBg }, - body: { padding: 20, paddingBottom: 24 }, + body: { padding: 8, paddingBottom: 24 }, formError: { fontSize: 13, color: colors.dangerText, marginBottom: 8 }, }); diff --git a/app/resume/education.tsx b/app/resume/education.tsx index c10ac6f..312134e 100644 --- a/app/resume/education.tsx +++ b/app/resume/education.tsx @@ -250,16 +250,14 @@ const toForm = (edu: ResumeEducation): EduForm => ({ const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: colors.pageBg }, - body: { padding: 20, paddingBottom: 24 }, + body: { padding: 8, paddingBottom: 24 }, row: { flexDirection: 'row', alignItems: 'center', backgroundColor: colors.white, - borderRadius: 14, - paddingVertical: 14, - paddingLeft: 16, - paddingRight: 8, - marginBottom: 10, + borderRadius: 8, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/resume/experience.tsx b/app/resume/experience.tsx index fc556b1..5df5d05 100644 --- a/app/resume/experience.tsx +++ b/app/resume/experience.tsx @@ -296,7 +296,7 @@ const toForm = (exp: ResumeExperience): ExpForm => { const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: colors.pageBg }, - body: { padding: 20, paddingBottom: 24 }, + body: { padding: 8, paddingBottom: 24 }, section: { marginBottom: 18 }, label: { fontSize: 15, fontWeight: '700', color: colors.textPrimary }, labelTop: { marginTop: 14, marginBottom: 10 }, @@ -308,11 +308,9 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', backgroundColor: colors.white, - borderRadius: 14, - paddingVertical: 14, - paddingLeft: 16, - paddingRight: 8, - marginBottom: 10, + borderRadius: 8, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/resume/export.tsx b/app/resume/export.tsx index fffd656..3e210d1 100644 --- a/app/resume/export.tsx +++ b/app/resume/export.tsx @@ -622,7 +622,7 @@ const styles = StyleSheet.create({ headerBtn: { width: 60, justifyContent: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, headerSave: { fontSize: 14, color: colors.primary, textAlign: 'right' }, - body: { padding: 16, paddingBottom: 100 }, + body: { padding: 8, paddingBottom: 100 }, center: { flex: 1, alignItems: 'center', justifyContent: 'center', paddingHorizontal: 40, gap: 12 }, tip: { fontSize: 14, color: colors.textSecondary }, retryBtn: { paddingHorizontal: 18, paddingVertical: 8, borderRadius: 16, backgroundColor: colors.primaryLight }, @@ -630,9 +630,9 @@ const styles = StyleSheet.create({ previewCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 20, + padding: 8, alignItems: 'center', - marginBottom: 16, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -662,7 +662,7 @@ const styles = StyleSheet.create({ flex: 1, backgroundColor: colors.white, borderRadius: 8, - padding: 14, + padding: 8, alignItems: 'center', borderWidth: 1, borderColor: colors.borderLight, @@ -679,7 +679,7 @@ const styles = StyleSheet.create({ flex: 1, backgroundColor: colors.white, borderRadius: 8, - padding: 10, + padding: 8, alignItems: 'center', borderWidth: 1, borderColor: colors.borderLight, @@ -701,7 +701,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/resume/preview.tsx b/app/resume/preview.tsx index 5afcb6b..15580cc 100644 --- a/app/resume/preview.tsx +++ b/app/resume/preview.tsx @@ -198,7 +198,7 @@ function hasIntention(intention: Resume['jobIntention']): boolean { const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: colors.pageBg }, - body: { padding: 16, paddingBottom: 24 }, + body: { padding: 8, paddingBottom: 24 }, paper: { backgroundColor: colors.white, borderRadius: 8, diff --git a/app/resume/project.tsx b/app/resume/project.tsx index a09c954..9927bb1 100644 --- a/app/resume/project.tsx +++ b/app/resume/project.tsx @@ -205,16 +205,14 @@ const toForm = (proj: ResumeProject): ProjForm => ({ const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: colors.pageBg }, - body: { padding: 20, paddingBottom: 24 }, + body: { padding: 8, paddingBottom: 24 }, row: { flexDirection: 'row', alignItems: 'center', backgroundColor: colors.white, - borderRadius: 14, - paddingVertical: 14, - paddingLeft: 16, - paddingRight: 8, - marginBottom: 10, + borderRadius: 8, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/app/settings.tsx b/app/settings.tsx index 61b1405..71f290b 100644 --- a/app/settings.tsx +++ b/app/settings.tsx @@ -272,7 +272,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.surface, borderRadius: 8, - paddingHorizontal: 16, + paddingHorizontal: 8, }, row: { flexDirection: 'row', diff --git a/app/settings/about.tsx b/app/settings/about.tsx index 327999b..f7bc433 100644 --- a/app/settings/about.tsx +++ b/app/settings/about.tsx @@ -150,7 +150,7 @@ const styles = StyleSheet.create({ }, brandCard: { alignItems: 'center', - paddingVertical: 28, + paddingVertical: 8, backgroundColor: colors.white, borderRadius: 8, marginBottom: 8, @@ -177,8 +177,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 14, - paddingVertical: 14, + paddingHorizontal: 8, + paddingVertical: 8, marginBottom: 8, }, cardTitle: { diff --git a/app/settings/account-cancel.tsx b/app/settings/account-cancel.tsx index 0a4d6f0..7ae62ac 100644 --- a/app/settings/account-cancel.tsx +++ b/app/settings/account-cancel.tsx @@ -203,7 +203,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, stateBox: { @@ -236,8 +236,8 @@ const styles = StyleSheet.create({ alignItems: 'center', gap: 8, borderRadius: 8, - padding: 14, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, warnText: { flex: 1, diff --git a/app/settings/account.tsx b/app/settings/account.tsx index a4c8c20..05e82d8 100644 --- a/app/settings/account.tsx +++ b/app/settings/account.tsx @@ -138,7 +138,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 14, + paddingHorizontal: 8, }, row: { flexDirection: 'row', diff --git a/app/settings/delete-data.tsx b/app/settings/delete-data.tsx index 006061d..335b765 100644 --- a/app/settings/delete-data.tsx +++ b/app/settings/delete-data.tsx @@ -222,7 +222,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, stateBox: { @@ -253,8 +253,8 @@ const styles = StyleSheet.create({ introCard: { backgroundColor: colors.infoLight, borderRadius: 8, - padding: 14, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, introText: { fontSize: 13, @@ -274,7 +274,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.white, borderRadius: 8, overflow: 'hidden', - padding: 4, + padding: 8, }, row: { flexDirection: 'row', @@ -320,8 +320,8 @@ const styles = StyleSheet.create({ alignItems: 'flex-start', gap: 8, borderRadius: 8, - padding: 14, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, warnText: { flex: 1, diff --git a/app/settings/notification.tsx b/app/settings/notification.tsx index fdc61e0..b0ff3a0 100644 --- a/app/settings/notification.tsx +++ b/app/settings/notification.tsx @@ -124,7 +124,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 14, + paddingHorizontal: 8, }, row: { flexDirection: 'row', diff --git a/app/settings/password.tsx b/app/settings/password.tsx index c9f8475..35c9394 100644 --- a/app/settings/password.tsx +++ b/app/settings/password.tsx @@ -155,7 +155,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, tip: { @@ -168,8 +168,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - paddingHorizontal: 14, - paddingVertical: 6, + paddingHorizontal: 8, + paddingVertical: 8, }, gap: { height: 6, diff --git a/app/settings/privacy.tsx b/app/settings/privacy.tsx index 8a5872d..6224b80 100644 --- a/app/settings/privacy.tsx +++ b/app/settings/privacy.tsx @@ -227,13 +227,13 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, levelCard: { borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, levelRow: { flexDirection: 'row', @@ -322,7 +322,7 @@ const styles = StyleSheet.create({ explanationCard: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, marginBottom: 8, }, explanationTitle: { diff --git a/app/settings/privacy/[id].tsx b/app/settings/privacy/[id].tsx index af9a950..b7a9455 100644 --- a/app/settings/privacy/[id].tsx +++ b/app/settings/privacy/[id].tsx @@ -182,7 +182,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, stateBox: { @@ -211,8 +211,8 @@ const styles = StyleSheet.create({ introCard: { backgroundColor: colors.infoLight, borderRadius: 8, - padding: 14, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, introText: { fontSize: 13, @@ -267,7 +267,7 @@ const styles = StyleSheet.create({ alignItems: 'flex-start', backgroundColor: colors.white, borderRadius: 8, - padding: 14, + padding: 8, gap: 8, }, noteText: { diff --git a/app/settings/privacy/dnd.tsx b/app/settings/privacy/dnd.tsx index 6162360..a9242b1 100644 --- a/app/settings/privacy/dnd.tsx +++ b/app/settings/privacy/dnd.tsx @@ -188,7 +188,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 24, }, stateBox: { @@ -216,9 +216,9 @@ const styles = StyleSheet.create({ }, statCard: { borderRadius: 8, - padding: 20, + padding: 8, alignItems: 'center', - marginBottom: 16, + marginBottom: 8, }, statValue: { fontSize: 32, @@ -283,7 +283,7 @@ const styles = StyleSheet.create({ alignItems: 'flex-start', backgroundColor: colors.white, borderRadius: 8, - padding: 14, + padding: 8, gap: 8, }, noteText: { diff --git a/app/settings/privacy/keywords.tsx b/app/settings/privacy/keywords.tsx index a15e914..1ef9301 100644 --- a/app/settings/privacy/keywords.tsx +++ b/app/settings/privacy/keywords.tsx @@ -208,7 +208,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 16, }, stateBox: { @@ -236,9 +236,9 @@ const styles = StyleSheet.create({ }, statCard: { borderRadius: 8, - padding: 20, + padding: 8, alignItems: 'center', - marginBottom: 16, + marginBottom: 8, }, statValue: { fontSize: 32, @@ -252,8 +252,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, cardTitle: { fontSize: 15, @@ -310,7 +310,7 @@ const styles = StyleSheet.create({ alignItems: 'flex-start', backgroundColor: colors.white, borderRadius: 8, - padding: 14, + padding: 8, gap: 8, }, noteText: { diff --git a/app/settings/qualifications.tsx b/app/settings/qualifications.tsx index 3d4ab46..9ee2e1b 100644 --- a/app/settings/qualifications.tsx +++ b/app/settings/qualifications.tsx @@ -148,16 +148,16 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 12, + padding: 8, paddingBottom: 32, - gap: 12, + gap: 8, }, companyCard: { backgroundColor: colors.primaryLight, borderRadius: 8, borderWidth: 1, borderColor: colors.primaryBorder, - padding: 16, + padding: 8, }, companyLabel: { fontSize: 12, @@ -182,7 +182,7 @@ const styles = StyleSheet.create({ borderRadius: 8, borderWidth: 1, borderColor: colors.border, - padding: 16, + padding: 8, }, cardHeader: { flexDirection: 'row', @@ -195,7 +195,7 @@ const styles = StyleSheet.create({ color: colors.textPrimary, }, licenseImage: { - marginTop: 12, + marginTop: 8, width: '100%', height: 180, borderRadius: 8, @@ -203,7 +203,7 @@ const styles = StyleSheet.create({ }, /* 图片占位:用「提醒卡片底 + 弱警示描边」语义色,一眼看出「这里是待办」 */ imagePlaceholder: { - marginTop: 12, + marginTop: 8, height: 132, borderRadius: 8, borderWidth: 1, @@ -212,7 +212,7 @@ const styles = StyleSheet.create({ backgroundColor: colors.actionLight, alignItems: 'center', justifyContent: 'center', - paddingHorizontal: 20, + paddingHorizontal: 8, gap: 8, }, placeholderText: { diff --git a/app/tools/salary-calculator.tsx b/app/tools/salary-calculator.tsx index f2dcad4..cf0a3d5 100644 --- a/app/tools/salary-calculator.tsx +++ b/app/tools/salary-calculator.tsx @@ -569,12 +569,12 @@ const styles = StyleSheet.create({ headerBtn: { width: 60, justifyContent: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, headerAction: { fontSize: 14, color: colors.primary, textAlign: 'right' }, - body: { padding: 16, paddingBottom: 32 }, + body: { padding: 8, paddingBottom: 32 }, card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -608,9 +608,9 @@ const styles = StyleSheet.create({ selectValue: { fontSize: 15, fontWeight: '600', color: colors.textPrimary, marginRight: 4 }, resultCard: { borderRadius: 8, - padding: 24, + padding: 8, alignItems: 'center', - marginBottom: 12, + marginBottom: 8, }, resultLabel: { fontSize: 14, color: colors.textInverse, opacity: 0.9 }, resultValue: { fontSize: 42, fontWeight: '800', color: colors.textInverse, marginTop: 8 }, @@ -637,8 +637,8 @@ const styles = StyleSheet.create({ taxItem: { flex: 1, backgroundColor: colors.pageBg, - borderRadius: 10, - padding: 12, + borderRadius: 8, + padding: 8, }, taxItemLabel: { fontSize: 12, color: colors.textSecondary, marginBottom: 6 }, taxItemValue: { fontSize: 18, fontWeight: '800', color: colors.textPrimary }, diff --git a/app/tools/skill-cloud.tsx b/app/tools/skill-cloud.tsx index dbd9a1b..37f67e2 100644 --- a/app/tools/skill-cloud.tsx +++ b/app/tools/skill-cloud.tsx @@ -523,7 +523,9 @@ const styles = StyleSheet.create({ }, headerBtn: { width: 40, alignItems: 'center' }, headerTitle: { fontSize: 17, fontWeight: '700', color: colors.textPrimary }, - tabsWrap: { backgroundColor: colors.white, maxHeight: 52 }, + // flexShrink: 0 是必需的:搜索框出现后父容器变矮,默认 flexShrink:1 会把这条横向 + // ScrollView 压到内容高度以下,胶囊文字被纵向裁掉(点得到、看不见) + tabsWrap: { backgroundColor: colors.white, maxHeight: 52, flexGrow: 0, flexShrink: 0 }, tabs: { flexDirection: 'row', paddingHorizontal: 16, gap: 8, paddingVertical: 10 }, tab: { paddingHorizontal: 14, @@ -562,23 +564,23 @@ const styles = StyleSheet.create({ categoryTabActive: { backgroundColor: colors.primaryLight, borderColor: colors.primary }, categoryText: { fontSize: 12, color: colors.textSecondary }, categoryTextActive: { color: colors.primaryText, fontWeight: '600' }, - body: { paddingHorizontal: 16, paddingBottom: 32 }, + body: { paddingHorizontal: 8, paddingBottom: 32 }, sectionTitle: { fontSize: 15, fontWeight: '700', color: colors.textPrimary, marginBottom: 10 }, cloudCard: { backgroundColor: colors.white, borderRadius: 8, paddingVertical: 8, - paddingHorizontal: 4, + paddingHorizontal: 8, borderWidth: 1, borderColor: colors.borderLight, }, hint: { marginTop: 14, textAlign: 'center', fontSize: 13, color: colors.textHint }, updated: { marginTop: 16, textAlign: 'center', fontSize: 12, color: colors.textHint }, card: { - marginTop: 16, + marginTop: 8, backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -619,10 +621,10 @@ const styles = StyleSheet.create({ skillUp: { color: colors.successText }, skillDown: { color: colors.danger }, matchCard: { - marginTop: 16, + marginTop: 8, backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, borderWidth: 1, borderColor: colors.borderLight, }, @@ -668,7 +670,7 @@ const styles = StyleSheet.create({ searchEmpty: { alignItems: 'center', gap: 10, - paddingVertical: 32, + padding: 8, backgroundColor: colors.white, borderRadius: 8, borderWidth: 1, @@ -697,9 +699,9 @@ const styles = StyleSheet.create({ pathSummary: { backgroundColor: colors.primaryLight, borderRadius: 8, - padding: 14, - marginTop: 14, - marginBottom: 4, + padding: 8, + marginTop: 8, + marginBottom: 8, }, pathSummaryText: { fontSize: 14, fontWeight: '700', color: colors.primaryText }, pathSummaryGap: { marginTop: 6, fontSize: 13, color: colors.primaryText }, @@ -724,10 +726,10 @@ const styles = StyleSheet.create({ pathItemName: { fontSize: 15, fontWeight: '700', color: colors.textPrimary }, pathItemReason: { marginTop: 6, fontSize: 12, color: colors.textSecondary, lineHeight: 18 }, detailCard: { - marginTop: 12, + marginTop: 8, backgroundColor: colors.white, borderRadius: 8, - padding: 16, + padding: 8, borderWidth: 1, borderColor: colors.successBorder, }, diff --git a/components/onboarding/screens/P17Reference.tsx b/components/onboarding/screens/P17Reference.tsx index cb40c9c..c3433bb 100644 --- a/components/onboarding/screens/P17Reference.tsx +++ b/components/onboarding/screens/P17Reference.tsx @@ -81,7 +81,7 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 18, + padding: 8, gap: 12, borderWidth: 1, borderColor: colors.border, diff --git a/components/onboarding/screens/P3Identity.tsx b/components/onboarding/screens/P3Identity.tsx index fd9d3a6..532ab37 100644 --- a/components/onboarding/screens/P3Identity.tsx +++ b/components/onboarding/screens/P3Identity.tsx @@ -70,7 +70,7 @@ export function P3Identity() { const styles = StyleSheet.create({ heading: { fontSize: 22, fontWeight: '800', color: colors.textPrimary, textAlign: 'center', marginVertical: 16 }, - card: { backgroundColor: colors.white, borderRadius: 8, padding: 18, alignItems: 'center', borderWidth: 1, borderColor: colors.border }, + card: { backgroundColor: colors.white, borderRadius: 8, padding: 8, alignItems: 'center', borderWidth: 1, borderColor: colors.border }, cardTop: { marginBottom: 16 }, cardBtn: { width: '100%', diff --git a/components/onboarding/ui/Modal.tsx b/components/onboarding/ui/Modal.tsx index 8750271..66f7503 100644 --- a/components/onboarding/ui/Modal.tsx +++ b/components/onboarding/ui/Modal.tsx @@ -32,7 +32,7 @@ const styles = StyleSheet.create({ width: '84%', backgroundColor: colors.white, borderRadius: 8, - padding: 22, + padding: 8, maxHeight: '80%', }, title: { fontSize: 18, fontWeight: '800', color: colors.textPrimary, marginBottom: 12, textAlign: 'center' }, diff --git a/components/resume/EditKit.tsx b/components/resume/EditKit.tsx index 7bdcf1f..d0736a9 100644 --- a/components/resume/EditKit.tsx +++ b/components/resume/EditKit.tsx @@ -177,8 +177,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 16, - marginBottom: 12, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/src/components/JobCard.tsx b/src/components/JobCard.tsx index f9f3057..a007126 100644 --- a/src/components/JobCard.tsx +++ b/src/components/JobCard.tsx @@ -50,8 +50,8 @@ const styles = StyleSheet.create({ card: { backgroundColor: colors.white, borderRadius: 8, - padding: 14, - marginBottom: 10, + padding: 8, + marginBottom: 8, borderWidth: 1, borderColor: colors.borderLight, }, diff --git a/src/components/LegalDocScreen.tsx b/src/components/LegalDocScreen.tsx index 637901b..2bf910f 100644 --- a/src/components/LegalDocScreen.tsx +++ b/src/components/LegalDocScreen.tsx @@ -134,7 +134,7 @@ const styles = StyleSheet.create({ flex: 1, }, content: { - padding: 16, + padding: 8, paddingBottom: 32, }, stateBox: { @@ -172,8 +172,8 @@ const styles = StyleSheet.create({ preambleCard: { backgroundColor: colors.infoLight, borderRadius: 8, - padding: 14, - marginBottom: 16, + padding: 8, + marginBottom: 8, }, preambleText: { fontSize: 13, diff --git a/项目开发状态.md b/项目开发状态.md index 8201cd6..f00d378 100644 --- a/项目开发状态.md +++ b/项目开发状态.md @@ -1442,6 +1442,146 @@ modalCard: { backgroundColor: colors.white, borderRadius: 16, padding: 20 }, --- +### 4.18 边距间隔统一 8px:页面留白 / 卡片内边距 / 卡片间隔(2026-09-20 批次,接 4.17) + +#### 1. 目标值在本批次中途被改过一次(16 → 8),这是本节的起点 + +`AGENTS.md` 第 15 行原为「…无阴影,**边距间隔一致**」,未给数值。三个维度上 16 都是众数 +(卡片内边距 66/169、卡片间隔 30/92、页面留白 27/71),**「取众数 16」是一个站得住但错的猜测**。 +我按 16 落了 176 处之后,用户把该行改成「…边距间隔一致,**为8px**。」——目标值变成 8。 + +**不能靠回滚实现**:回滚只能把「被我改过的值」还原成原值,而原来就是 16 的那 66 张卡 +同样必须降到 8,还原不回 8。故改为**按目标值重算**,并把全部原始值落盘(脚本的中间产物 +`spacing8-edits.json`,**不入库**,需要逆向核对时由本机临时文件提供)。事后看,这次踩坑的根因不是判断失误,而是 +**在规则未定量时就开工**——规则定量前本应先问,这一点记在这里。 + +#### 2. 判定口径(本节定义,后续沿用) + +用户确认「边距间隔一致,为8px」**包含页面左右留白**(即「卡片离屏幕边缘的距离」), +故三个维度统一为 8: + +| 维度 | 载体 | 现状 | +|---|---|---| +| 页面留白 | 主 ScrollView 的 `contentContainerStyle` 上的 `padding` / `paddingHorizontal`,或靠卡片自身 `marginHorizontal` 撑出的留白 | **全部 8** | +| 卡片内边距 | 卡片样式块上的 `padding` / `paddingHorizontal` / `paddingVertical` | **全部 8** | +| 卡片间隔 | 卡片的 `marginTop` / `marginBottom`,以及**分隔卡片的容器 `gap`** | **全部 8** | + +判定「是不是卡片」改为**结构判定**而非命名判定:`有 borderRadius` 且(`有 backgroundColor` +或 `有 borderWidth`)。4.17 用的是命名判定(`card` / `*Card`),**有漏网**(见第 3 条)。 + +#### 3. 命名判定漏掉了什么(本批补齐) + +`app/(enterprise)/enterprise-chat.tsx` 的 `pendingItem`(radius 10)、`app/holland.tsx` 的 +`dimItem`(radius 12)、`app/resume/{education,experience,project}.tsx` 的 `row`(radius 14)、 +`app/interview-score.tsx` 与 `app/candidate-detail.tsx` 的 `suggestionRow`(radius 12)、 +`app/appeal.tsx` 的 `reasonRow`(radius 10)、`app/game/level.tsx` 的 `explanation`(radius 6)、 +`app/holland/question.tsx` 与 `app/game/level.tsx` 的 `option`(radius 12/6)、 +`app/tools/salary-calculator.tsx` 的 `taxItem`(radius 10)——**这些名字里都没有 "Card", +但结构上就是卡片**,4.17 整批漏过。本批一并归 8。 + +另有一批 **radius 本就是 8、但内边距/外边距不是 8** 的卡同样漏过: +`matchBanner`/`offerBanner`(`(tabs)/chat.tsx`,padding 16)、`salaryBox`(`candidate-detail.tsx` 14、 +`interview-score.tsx` 16)、`cardBase`/`cardOffer`/`banner`(`chat/[id].tsx` 12/12/10)、 +`replyBlock`(`job-evaluations.tsx` 10)、`rank.section`(16)、`memberBanner`(`legal.tsx` 与 +`legal/upgrade.tsx` 各一处)、`draftBanner`(`interview-score.tsx`)、`pathSummary`(`skill-cloud.tsx` 14)、 +`aiTip`(`resume.tsx`)、`qualifications` 的 `imagePlaceholder` / `licenseImage` / +`checkout.channelRow` / `levelDesc` / `matchBox`。 + +#### 4. 改动规模(`git diff --numstat` 实测,非估计) + +`73 个 .tsx 文件 + AGENTS.md`,`+390 / -398`。按属性计新增行中的 `= 8`: +`padding` 209、`marginBottom` 74、`paddingHorizontal` 37、`marginTop` 18、`paddingVertical` 17、 +`borderRadius` 15、`gap` 8、`marginHorizontal` 5、`margin` 1;另有 1 处属性行被删除 +(`offer-compare` 的 `offerList.paddingHorizontal: 4` —— 外层 `content` 已是 8,内层再加 4 +会让首张 Offer 卡离屏 12,归零后与全站一致)。 + +#### 5. 明确排除的类别(附理由,不是遗漏) + +| 排除项 | 理由 | +|---|---| +| 表单控件 `input` / `textarea` / `inputBox` / `inputWrap` / `uploadBox` / `checkbox` / `knob` / `sliderFill` | 圆角与内边距随控件形态走,不是卡片 | +| 标签 / 胶囊 / 选项卡 `chip` / `tag` / `tab` / `categoryTab` / `filterItem` / `emptyTabItem` | 半径由胶囊高度决定(半高即全圆),压到 8 会变成方角 | +| 按钮 `btn` / `modalSubmit` / `saveCancel` / `saveConfirm` / `sheetCancel` / `modalConfirm` | 同上 | +| 图标底 / 装饰 `iconWrap` / `logoBox` / `progress` / `counter` / `sectionBar` / `barTrack` / `barFill` | 纯装饰 | +| 错误重试态的 `center` 容器(`flex:1` + `paddingHorizontal:40` + `retryBtn`) | 它长得像卡片列表容器,实为居中错误态。全仓同名同形,**误改会把重试页的居中打散** | +| `components/onboarding/**` | 引导页自成一套圆角体系(12/14/18),见第 6 条 | + +#### 6. 刻意不动的三处(范围边界) + +- **`app/resume/preview.tsx` 的 `paper.padding: 20`**:它是导出文档的**屏幕代理版心**, + 对应 `src/utils/resumeHtml.ts:208` 的 `@page` 页边距 `34px 38px`。压到 8 会让「预览」 + 和它存在的唯一目的(预览导出效果)脱钩。**保留**。 +- **`components/onboarding/ui/SliderCaptcha.tsx` 的 `knob` 阴影**:滑块手柄是控件不是卡片, + 4.17 起就作为对照项保留,状态不变。 +- **`components/onboarding/ui/ScreenShell.tsx` 的 `scrollContent.padding: 20`(+ `P1Login` 的 24)**: + 这是 **26 个引导页**共用的页壳,20 → 8 等于重排整个首启流程。**未改**,列为待定夺(见第 10 条)。 + +#### 7. 两个脚本自身的缺陷(各浪费了一轮,如实记录) + +- **heredoc 吞掉一层反斜杠**:`<