feat: 支持步数卡片; 优化数据分析各类卡片样式
This commit is contained in:
@@ -15,8 +15,6 @@ export function MoodCard({ moodCheckin, onPress, isLoading = false }: MoodCardPr
|
||||
return (
|
||||
<TouchableOpacity onPress={onPress} style={styles.moodCardContent} disabled={isLoading}>
|
||||
<Text style={styles.cardTitle}>心情</Text>
|
||||
|
||||
|
||||
{isLoading ? (
|
||||
<View style={styles.moodPreview}>
|
||||
<Text style={styles.moodLoadingText}>加载中...</Text>
|
||||
@@ -52,7 +50,7 @@ const styles = StyleSheet.create({
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'center',
|
||||
marginTop: 22,
|
||||
marginTop: 12,
|
||||
},
|
||||
moodPreviewText: {
|
||||
fontSize: 14,
|
||||
|
||||
Reference in New Issue
Block a user