13404089107
2026-04-16 23efbd347b2d3be3fc624b4ba0632c0ab92ee1d8
refs
用户 13404089107 <puwei@sinata.cn>
星期四, 四月 16, 2026 22:22 +0800
提交者 13404089107 <puwei@sinata.cn>
星期四, 四月 16, 2026 22:22 +0800
提交23efbd347b2d3be3fc624b4ba0632c0ab92ee1d8
目录 e955d7d070c1f3f973197d67e9700e9b332ba24b 目录 | zip | gz
parent 74a8c11bb42a1722944abc0a6566e569134aeeae 查看 | 对比
feat(路线选择): 增加地图点击选路和路线气泡展示

- 新增 `saveRoutePreference` API 用于保存路线偏好
- 为 `BeginRouteView` 组件添加 `onMapTap` 属性,支持地图点击选路
- 在 `use-route-manager` 中实现 `handleMapTap` 逻辑,作为 `handlePolylineTap` 的降级方案
- 在路线中点添加路线摘要气泡,显示时长和距离信息
- 在 `release-route` 组件中同步路线偏好选择,并展示"运营免费"标签
- 优化路线索引解析逻辑,提高点击匹配精度
10个文件已修改
320 ■■■■■ 已修改文件
src/robotaxi/api/begin-route.ts 9 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/begin-route-view.tsx 3 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/css-folder/release-route.less 8 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/release-route.tsx 114 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/components/route-preference-popup/index.tsx 11 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/hooks/use-order-actions.ts 13 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/hooks/use-route-manager.ts 32 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/hooks/use-view-delegates.tsx 57 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.less 35 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.tsx 38 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史