From 45f8415a388dac9ba689c7c875bcc25c8e54d339 Mon Sep 17 00:00:00 2001 From: richarjiang Date: Wed, 3 Sep 2025 16:48:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BD=93=E9=87=8D=E5=8D=A1=E7=89=87=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8A=A8=E7=94=BB=E5=AE=B9=E5=99=A8=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E5=92=8C=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(tabs)/statistics.tsx | 2 +- components/weight/WeightHistoryCard.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/(tabs)/statistics.tsx b/app/(tabs)/statistics.tsx index 7869be6..d0a1696 100644 --- a/app/(tabs)/statistics.tsx +++ b/app/(tabs)/statistics.tsx @@ -573,7 +573,7 @@ export default function ExploreScreen() { {/* 背景渐变 */} 0; - const hasHeight = userProfile?.height && parseFloat(userProfile.height) > 0; // BMI 计算 const canCalculate = canCalculateBMI( @@ -632,12 +631,12 @@ const styles = StyleSheet.create({ animationContainer: { position: 'relative', overflow: 'hidden', - minHeight: 40, + minHeight: 50, }, summaryInfo: { position: 'absolute', width: '100%', - marginTop: 10, + marginTop: 8, }, chartContainer: { position: 'absolute', @@ -682,13 +681,14 @@ const styles = StyleSheet.create({ minWidth: 0, }, summaryLabel: { - fontSize: 11, + fontSize: 12, color: '#687076', marginBottom: 3, }, summaryValue: { - fontSize: 13, - fontWeight: '700', + fontSize: 14, + marginTop: 2, + fontWeight: '600', color: '#192126', },