|
|
@ -3,6 +3,7 @@ import { LinearGradient } from 'expo-linear-gradient'; |
|
|
import { useRouter } from 'expo-router'; |
|
|
import { useRouter } from 'expo-router'; |
|
|
import { |
|
|
import { |
|
|
ActivityIndicator, |
|
|
ActivityIndicator, |
|
|
|
|
|
Alert, |
|
|
Pressable, |
|
|
Pressable, |
|
|
ScrollView, |
|
|
ScrollView, |
|
|
StyleSheet, |
|
|
StyleSheet, |
|
|
@ -212,7 +213,10 @@ function AISuggestionCard({ summary, detail, reportAction }: { summary: string; |
|
|
</View> |
|
|
</View> |
|
|
<Text style={styles.aiSummary}>{summary}</Text> |
|
|
<Text style={styles.aiSummary}>{summary}</Text> |
|
|
<Text style={styles.aiDetail}>{detail}</Text> |
|
|
<Text style={styles.aiDetail}>{detail}</Text> |
|
|
<Pressable style={styles.aiReportBtn} onPress={() => {}}> |
|
|
<Pressable |
|
|
|
|
|
style={styles.aiReportBtn} |
|
|
|
|
|
onPress={() => Alert.alert('AI智能建议', '完整建议报告功能开发中,敬请期待')} |
|
|
|
|
|
> |
|
|
<Text style={styles.aiReportText}>{reportAction}</Text> |
|
|
<Text style={styles.aiReportText}>{reportAction}</Text> |
|
|
<Ionicons name="chevron-forward" size={14} color={colors.white} /> |
|
|
<Ionicons name="chevron-forward" size={14} color={colors.white} /> |
|
|
</Pressable> |
|
|
</Pressable> |
|
|
@ -270,7 +274,9 @@ export default function OfferCompareScreen() { |
|
|
{offers.map((offer) => ( |
|
|
{offers.map((offer) => ( |
|
|
<OfferCard key={offer.id} offer={offer} selected={offer.selected} /> |
|
|
<OfferCard key={offer.id} offer={offer} selected={offer.selected} /> |
|
|
))} |
|
|
))} |
|
|
<AddOfferCard onPress={() => {}} /> |
|
|
<AddOfferCard |
|
|
|
|
|
onPress={() => Alert.alert('添加Offer', 'Offer添加功能开发中,敬请期待')} |
|
|
|
|
|
/> |
|
|
</ScrollView> |
|
|
</ScrollView> |
|
|
|
|
|
|
|
|
{/* 综合评分对比 */} |
|
|
{/* 综合评分对比 */} |
|
|
@ -296,10 +302,16 @@ export default function OfferCompareScreen() { |
|
|
|
|
|
|
|
|
{/* 底部操作栏 */} |
|
|
{/* 底部操作栏 */} |
|
|
<View style={styles.actionBar}> |
|
|
<View style={styles.actionBar}> |
|
|
<Pressable style={styles.exportBtn} onPress={() => {}}> |
|
|
<Pressable |
|
|
|
|
|
style={styles.exportBtn} |
|
|
|
|
|
onPress={() => Alert.alert('导出对比报告', '报告导出功能开发中,敬请期待')} |
|
|
|
|
|
> |
|
|
<Text style={styles.exportText}>{actions?.exportLabel ?? '导出对比报告'}</Text> |
|
|
<Text style={styles.exportText}>{actions?.exportLabel ?? '导出对比报告'}</Text> |
|
|
</Pressable> |
|
|
</Pressable> |
|
|
<Pressable style={styles.acceptBtn} onPress={() => {}}> |
|
|
<Pressable |
|
|
|
|
|
style={styles.acceptBtn} |
|
|
|
|
|
onPress={() => Alert.alert('接受Offer', 'Offer确认功能开发中,敬请期待')} |
|
|
|
|
|
> |
|
|
<Text style={styles.acceptText}>{actions?.acceptLabel ?? '接受Offer'}</Text> |
|
|
<Text style={styles.acceptText}>{actions?.acceptLabel ?? '接受Offer'}</Text> |
|
|
</Pressable> |
|
|
</Pressable> |
|
|
</View> |
|
|
</View> |
|
|
|