feat: 支持步数卡片; 优化数据分析各类卡片样式

This commit is contained in:
richarjiang
2025-08-30 17:07:04 +08:00
parent 465d5350f3
commit 741688065d
9 changed files with 462 additions and 103 deletions

View File

@@ -154,10 +154,11 @@ const styles = StyleSheet.create({
marginBottom: 12,
},
value: {
fontSize: 24,
fontWeight: '800',
fontSize: 20,
fontWeight: '600',
color: '#192126',
lineHeight: 32,
lineHeight: 20,
marginTop: 2,
},
unit: {
fontSize: 12,
@@ -166,10 +167,10 @@ const styles = StyleSheet.create({
marginLeft: 4,
},
progressContainer: {
height: 16,
height: 6,
},
progressTrack: {
height: 8,
height: 6,
borderRadius: 4,
position: 'relative',
overflow: 'visible',
@@ -185,9 +186,9 @@ const styles = StyleSheet.create({
},
indicator: {
position: 'absolute',
top: -4,
width: 16,
height: 16,
top: -2,
width: 10,
height: 10,
borderRadius: 8,
backgroundColor: '#FFFFFF',
shadowColor: '#000',