feat: 支持步数卡片; 优化数据分析各类卡片样式
This commit is contained in:
@@ -34,7 +34,6 @@ const HealthDataCard: React.FC<HealthDataCardProps> = ({
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
card: {
|
||||
borderRadius: 16,
|
||||
shadowColor: '#000',
|
||||
paddingHorizontal: 16,
|
||||
shadowOffset: {
|
||||
@@ -48,11 +47,6 @@ const styles = StyleSheet.create({
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
},
|
||||
iconContainer: {
|
||||
marginRight: 16,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
content: {
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
@@ -60,7 +54,7 @@ const styles = StyleSheet.create({
|
||||
title: {
|
||||
fontSize: 14,
|
||||
color: '#192126',
|
||||
marginBottom: 4,
|
||||
marginBottom: 14,
|
||||
fontWeight: '800',
|
||||
},
|
||||
valueContainer: {
|
||||
@@ -68,8 +62,8 @@ const styles = StyleSheet.create({
|
||||
alignItems: 'flex-end',
|
||||
},
|
||||
value: {
|
||||
fontSize: 24,
|
||||
fontWeight: '800',
|
||||
fontSize: 20,
|
||||
fontWeight: '600',
|
||||
color: '#192126',
|
||||
},
|
||||
unit: {
|
||||
|
||||
Reference in New Issue
Block a user