Просмотр исходного кода

📝 docs(dashboard): 优化标题显示文本

- 将地图标题从"贵州省银龄数据分布"简化为"银龄数据分布"
- 将大屏主标题从"贵州省银龄智慧数据大屏"简化为"银龄智慧数据大屏"
- 调整标题容器布局为居中对齐
- 将时钟和全屏按钮移至绝对定位的右侧区域
yourname 9 месяцев назад
Родитель
Сommit
f874e913de
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/client/big-shadcn/pages/HomePage.tsx

+ 4 - 4
src/client/big-shadcn/pages/HomePage.tsx

@@ -189,7 +189,7 @@ const GuizhouMap = ({ data }) => {
       
       {/* 地图标题 */}
       <div className="absolute top-4 left-4 bg-black/50 backdrop-blur-sm px-4 py-2 rounded-lg border border-white/10">
-        <h3 className="text-xl font-bold text-white">贵州省银龄数据分布</h3>
+        <h3 className="text-xl font-bold text-white">银龄数据分布</h3>
         <p className="text-sm text-gray-300">点击城市查看详细数据</p>
       </div>
 
@@ -489,11 +489,11 @@ const DashboardGrid = () => {
         animate={{ opacity: 1, y: 0 }}
         transition={{ duration: 0.8 }}
       >
-        <div className="h-full glass-card rounded-xl flex items-center justify-between px-6">
+        <div className="h-full glass-card rounded-xl flex items-center justify-center px-6">
           <h1 className="text-2xl md:text-4xl font-bold bg-gradient-to-r from-cyan-400 to-purple-400 bg-clip-text text-transparent">
-            贵州省银龄智慧数据大屏
+            银龄智慧数据大屏
           </h1>
-          <div className="flex items-center space-x-4">
+          <div className="absolute right-6 flex items-center space-x-4">
             <DigitalClock />
             <FullscreenToggle />
           </div>