|
|
@@ -201,18 +201,18 @@ const Dashboard: React.FC = () => {
|
|
|
</View>
|
|
|
|
|
|
{/* 3列统计数据 */}
|
|
|
- <View className="grid grid-cols-3 gap-3 mt-4">
|
|
|
- <View className="bg-white/20 rounded-lg p-3 backdrop-blur-sm text-center">
|
|
|
- <Text className="text-white/80 text-xs block mb-1">本月出勤</Text>
|
|
|
- <Text className="text-white text-xl font-bold">28</Text>
|
|
|
+ <View className="flex justify-between mt-4">
|
|
|
+ <View className="text-center">
|
|
|
+ <Text className="text-white text-2xl font-bold">28</Text>
|
|
|
+ <Text className="text-white/80 text-xs">本月出勤</Text>
|
|
|
</View>
|
|
|
- <View className="bg-white/20 rounded-lg p-3 backdrop-blur-sm text-center">
|
|
|
- <Text className="text-white/80 text-xs block mb-1">异常记录</Text>
|
|
|
- <Text className="text-white text-xl font-bold">0</Text>
|
|
|
+ <View className="text-center">
|
|
|
+ <Text className="text-white text-2xl font-bold">0</Text>
|
|
|
+ <Text className="text-white/80 text-xs">异常记录</Text>
|
|
|
</View>
|
|
|
- <View className="bg-white/20 rounded-lg p-3 backdrop-blur-sm text-center">
|
|
|
- <Text className="text-white/80 text-xs block mb-1">本月薪资</Text>
|
|
|
- <Text className="text-white text-xl font-bold">4,800</Text>
|
|
|
+ <View className="text-center">
|
|
|
+ <Text className="text-white text-2xl font-bold">¥4,800</Text>
|
|
|
+ <Text className="text-white/80 text-xs">本月薪资</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
</View>
|