统一订单列表混排租赁与撞车,后台撞车订单展示真实手机号

PC/移动端「我的订单」并行拉取两类订单并按时间混排展示;后台撞车订单买家手机号不再脱敏,便于履约联系。
This commit is contained in:
yml2213
2026-07-19 16:01:45 +08:00
parent ed4d3f011c
commit d93795a4b4
10 changed files with 749 additions and 228 deletions
@@ -7,6 +7,10 @@ const { unreadCount, unreadLabel } = useChatUnreadCount(route)
function isNavActive(path: string) {
if (path === '/m') return route.path === '/m'
// 订单 Tab 同时覆盖租赁订单与撞车订单路径
if (path === '/m/orders') {
return route.path.startsWith('/m/orders') || route.path.startsWith('/m/crash/orders')
}
return route.path.startsWith(path)
}
</script>