diff --git a/src/components/booking/BookingSection.tsx b/src/components/booking/BookingSection.tsx index de00f26..516c162 100644 --- a/src/components/booking/BookingSection.tsx +++ b/src/components/booking/BookingSection.tsx @@ -56,11 +56,18 @@ export const BookingSection = ({ 预约医生 · {selectedDay} 日
按科室筛选 - +
+ +
+ + + +
+
@@ -98,7 +105,7 @@ export const BookingSection = ({ {bookingDoctor && } - + ); diff --git a/src/components/ui/Card.tsx b/src/components/ui/Card.tsx index 718dc41..be14584 100644 --- a/src/components/ui/Card.tsx +++ b/src/components/ui/Card.tsx @@ -11,11 +11,11 @@ export const Card = ({ className = '', children }: CardProps) => ( ); export const CardHeader = ({ children }: PropsWithChildren) => ( -
{children}
+
{children}
); export const CardContent = ({ children }: PropsWithChildren) => ( -
{children}
+
{children}
); diff --git a/src/index.css b/src/index.css index 3ffa675..0d96670 100644 --- a/src/index.css +++ b/src/index.css @@ -15,3 +15,21 @@ body { min-height: 100vh; background-color: #f8fafc; } + +/* 优化下拉选项样式 */ +select option { + padding: 8px 12px; + background-color: white; + color: #374151; + font-size: 0.75rem; +} + +select option:hover { + background-color: #3b82f6; + color: white; +} + +select option:checked { + background-color: #3b82f6; + color: white; +} \ No newline at end of file