根据需求更新首页驾驶舱
This commit is contained in:
@@ -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'>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user