From 7d5f2a06285be5dcc459ed4b510e5e3acc8062e3 Mon Sep 17 00:00:00 2001
From: doublex001 <16157008+doublex001@user.noreply.gitee.com>
Date: Fri, 4 Sep 2026 17:23:30 +0800
Subject: [PATCH] =?UTF-8?q?fix(jobs):=20=E4=B8=BA=20Offer=20=E5=AF=B9?=
=?UTF-8?q?=E6=AF=94=E4=B8=8E=E7=AB=9E=E4=BA=89=E5=8A=9B=E6=8E=92=E5=90=8D?=
=?UTF-8?q?=E9=A1=B5=E7=A9=BA=20onPress=20=E6=8E=A5=E5=85=A5=20Alert=20?=
=?UTF-8?q?=E5=85=9C=E5=BA=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- offer-compare.tsx:添加Offer / 导出对比报告 / 接受Offer / AI建议按钮 4 处接 Alert
- rank.tsx:查看我的详细分析 / 提升建议 action 2 处接 Alert
---
app/jobs/offer-compare.tsx | 20 ++++++++++++++++----
app/jobs/rank.tsx | 5 +++--
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/app/jobs/offer-compare.tsx b/app/jobs/offer-compare.tsx
index 4e45bef..07e8d7a 100644
--- a/app/jobs/offer-compare.tsx
+++ b/app/jobs/offer-compare.tsx
@@ -3,6 +3,7 @@ import { LinearGradient } from 'expo-linear-gradient';
import { useRouter } from 'expo-router';
import {
ActivityIndicator,
+ Alert,
Pressable,
ScrollView,
StyleSheet,
@@ -212,7 +213,10 @@ function AISuggestionCard({ summary, detail, reportAction }: { summary: string;
{summary}
{detail}
- {}}>
+ Alert.alert('AI智能建议', '完整建议报告功能开发中,敬请期待')}
+ >
{reportAction}
@@ -270,7 +274,9 @@ export default function OfferCompareScreen() {
{offers.map((offer) => (
))}
- {}} />
+ Alert.alert('添加Offer', 'Offer添加功能开发中,敬请期待')}
+ />
{/* 综合评分对比 */}
@@ -296,10 +302,16 @@ export default function OfferCompareScreen() {
{/* 底部操作栏 */}
- {}}>
+ Alert.alert('导出对比报告', '报告导出功能开发中,敬请期待')}
+ >
{actions?.exportLabel ?? '导出对比报告'}
- {}}>
+ Alert.alert('接受Offer', 'Offer确认功能开发中,敬请期待')}
+ >
{actions?.acceptLabel ?? '接受Offer'}
diff --git a/app/jobs/rank.tsx b/app/jobs/rank.tsx
index 649ebc7..fc6d664 100644
--- a/app/jobs/rank.tsx
+++ b/app/jobs/rank.tsx
@@ -2,6 +2,7 @@ import { Ionicons } from '@expo/vector-icons';
import { useLocalSearchParams, useRouter } from 'expo-router';
import {
ActivityIndicator,
+ Alert,
Pressable,
ScrollView,
StyleSheet,
@@ -52,7 +53,7 @@ function RankSummary({ rank }: { rank: RankData }) {
{}}
+ onPress={() => Alert.alert('详细分析', '详细竞争力分析报告功能开发中,敬请期待')}
hitSlop={6}
>
查看我的详细分析
@@ -349,7 +350,7 @@ export default function RankScreen() {
title={tip.title}
description={tip.description}
type="action"
- onAction={() => {}}
+ onAction={() => Alert.alert('提升建议', '该提升项功能开发中,敬请期待')}
/>
) : (