فهرست منبع

fix(rencai-dashboard): 日期时间使用flex flex-col垂直布局

- 大号时间显示和当前日期合并到一个容器
- 使用flex flex-col items-center实现垂直对齐
- 移除单独的mb-4,改为容器的mb-4

🤖 Generated with [Claude Code](https://claude.com/claude-code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
yourname 3 هفته پیش
والد
کامیت
eaa82d96f6
1فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 9 9
      mini-ui-packages/rencai-dashboard-ui/src/pages/Dashboard/Dashboard.tsx

+ 9 - 9
mini-ui-packages/rencai-dashboard-ui/src/pages/Dashboard/Dashboard.tsx

@@ -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">