优化样式

This commit is contained in:
YI FANG
2025-11-26 10:11:39 +08:00
parent 8155c9f95d
commit 64cb6b6ab0
3 changed files with 33 additions and 8 deletions

View File

@@ -56,11 +56,18 @@ export const BookingSection = ({
<span> · {selectedDay} </span>
<div className='flex items-center gap-2 text-xs'>
<span className='text-gray-500'></span>
<select className='border rounded-2xl px-3 py-1 bg-white outline-none text-xs'>
<option></option>
<option></option>
<option></option>
</select>
<div className='relative inline-block'>
<select className='border border-gray-200 rounded-2xl px-4 py-1.5 pr-8 bg-white outline-none text-xs text-gray-700 hover:border-gray-300 focus:border-gray-900 focus:ring-2 focus:ring-gray-900/10 transition-all cursor-pointer appearance-none shadow-sm'>
<option value='all'></option>
<option value='internal'></option>
<option value='surgery'></option>
</select>
<div className='absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none'>
<svg className='w-4 h-4 text-gray-500' fill='none' stroke='currentColor' viewBox='0 0 24 24'>
<path strokeLinecap='round' strokeLinejoin='round' strokeWidth={2} d='M19 9l-7 7-7-7' />
</svg>
</div>
</div>
</div>
</CardHeader>
</Card>
@@ -98,7 +105,7 @@ export const BookingSection = ({
</div>
{bookingDoctor && <BookingModal doctor={bookingDoctor} onClose={onCloseModal} />}
</div>
</div >
);