|
|
@@ -228,15 +228,15 @@ const Dashboard: React.FC = () => {
|
|
|
<Text className="text-green-500 font-medium">已打卡</Text>
|
|
|
</View>
|
|
|
|
|
|
- {/* 大号时间显示 */}
|
|
|
- <Text className="text-2xl font-bold text-gray-800 mb-2">
|
|
|
- {clockInData.displayTime || '09:27'}
|
|
|
- </Text>
|
|
|
-
|
|
|
- {/* 当前日期显示 */}
|
|
|
- <Text className="text-sm text-gray-600 mb-4">
|
|
|
- {clockInData.date || '2023年11月25日 星期六'}
|
|
|
- </Text>
|
|
|
+ {/* 大号时间显示和日期 - 垂直布局 */}
|
|
|
+ <View className="flex flex-col items-center mb-4">
|
|
|
+ <Text className="text-2xl font-bold text-gray-800 mb-2">
|
|
|
+ {clockInData.displayTime || '09:27'}
|
|
|
+ </Text>
|
|
|
+ <Text className="text-sm text-gray-600">
|
|
|
+ {clockInData.date || '2023年11月25日 星期六'}
|
|
|
+ </Text>
|
|
|
+ </View>
|
|
|
|
|
|
{/* 上班/下班卡片 */}
|
|
|
<View className="flex justify-between mb-4">
|