根据需求更新首页驾驶舱

This commit is contained in:
xianyi
2025-12-16 17:33:10 +08:00
parent 564c80d63a
commit 5641279095
3 changed files with 15 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ export const Sidebar = ({ active, onNavigate, onQuickAction }: SidebarProps) =>
<aside className='bg-white border-r p-4 flex flex-col gap-4'>
<div>
<div className='text-base font-semibold'> · </div>
<div className='text-xs text-gray-500 mt-1'>iPad </div>
<div className='text-xs text-gray-500 mt-1'></div>
</div>
<nav className='space-y-1'>

View File

@@ -1,4 +1,3 @@
import { Input } from '../ui';
interface TopBarProps {
search: string;
@@ -12,13 +11,13 @@ export const TopBar = ({ search, onSearch, enableSearch = true, operatorName, on
<header className='flex items-center gap-3 p-2 border-b bg-white'>
<div className='flex-1 flex items-center gap-3'>
{enableSearch ? (
<div className='w-[420px] max-w-[60vw] flex items-center'>
<Input
<div className='w-[420px] max-w-[60vw] h-[36px] flex items-center'>
{/* <Input
placeholder='搜索 姓名 / 证件号 / 手机号'
value={search}
onChange={(e) => onSearch(e.target.value)}
className='text-sm'
/>
/> */}
</div>
) : (
<div className='text-sm text-gray-500 flex items-center p-[9px] pl-[14px]'> · </div>