import { ArrowRightLeft, ChevronRight } from 'lucide-react'; import { motion } from 'motion/react'; import type { SchedulingSuggestion } from './types'; import Blur from '../../components/Blur'; interface Props { suggestions: SchedulingSuggestion[]; onSelect: (s: SchedulingSuggestion) => void; } function fmtKm(value: number): string { if (value >= 10000) return (value / 10000).toFixed(1) + '万'; return value.toLocaleString(); } function fmtRate(rate: number): string { return (rate * 100).toFixed(1) + '%'; } export default function SuggestionList({ suggestions, onSelect }: Props) { if (suggestions.length === 0) { return (
暂无调度建议