feat: 添加食物分析结果页面的图片预览功能,优化记录栏显示逻辑

This commit is contained in:
richarjiang
2025-09-04 15:12:39 +08:00
parent 5e00cb7788
commit 05a643a9e6
6 changed files with 495 additions and 99 deletions

View File

@@ -115,9 +115,6 @@ export function CalorieRingChart({
<ThemedText style={[styles.centerValue, { color: textColor }]}>
{Math.round(canEat)}
</ThemedText>
<ThemedText style={[styles.centerPercentage, { color: textSecondaryColor }]}>
{Math.round(progressPercentage)}%
</ThemedText>
</View>
</View>
@@ -187,7 +184,7 @@ const styles = StyleSheet.create({
borderRadius: 16,
padding: 16,
marginHorizontal: 16,
marginBottom: 16,
marginBottom: 8,
shadowColor: '#000000',
shadowOffset: { width: 0, height: 1 },
shadowOpacity: 0.04,