diff --git a/backend/internal/modules/mohong/presenter.go b/backend/internal/modules/mohong/presenter.go index 2af8996..32ccf0c 100644 --- a/backend/internal/modules/mohong/presenter.go +++ b/backend/internal/modules/mohong/presenter.go @@ -102,8 +102,9 @@ func toOrderDTO(row model.MohongOrder, snap productSnapshot, items []orderItemSn UpdatedAt: row.UpdatedAt, } if includeAdmin { + // 后台展示真实手机号,便于履约联系买家 dto.BuyerNickname = buyerNickname - dto.BuyerPhone = maskPhone(buyerPhone) + dto.BuyerPhone = strings.TrimSpace(buyerPhone) dto.AdminRemark = row.AdminRemark } else { dto.BuyerNickname = buyerNickname diff --git a/frontend/src/components/MobileBottomNav.vue b/frontend/src/components/MobileBottomNav.vue index cadc0e6..c394f0f 100644 --- a/frontend/src/components/MobileBottomNav.vue +++ b/frontend/src/components/MobileBottomNav.vue @@ -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) } diff --git a/frontend/src/features/mohong/views/MobileMohongListView.vue b/frontend/src/features/mohong/views/MobileMohongListView.vue index 88b7a68..0a54280 100644 --- a/frontend/src/features/mohong/views/MobileMohongListView.vue +++ b/frontend/src/features/mohong/views/MobileMohongListView.vue @@ -224,7 +224,7 @@ async function handleSupportClick() { > {{ supportLoading ? '...' : '客服' }} - +
diff --git a/frontend/src/features/mohong/views/MobileMohongOrdersView.vue b/frontend/src/features/mohong/views/MobileMohongOrdersView.vue index 5d81e84..8053d42 100644 --- a/frontend/src/features/mohong/views/MobileMohongOrdersView.vue +++ b/frontend/src/features/mohong/views/MobileMohongOrdersView.vue @@ -46,7 +46,7 @@ async function loadOrders() { :key="item.id" type="button" class="card" - @click="router.push(`/crash/orders/${item.id}`)" + @click="router.push(`/m/crash/orders/${item.id}`)" >
{{ item.order_no }} diff --git a/frontend/src/features/mohong/views/MohongListView.vue b/frontend/src/features/mohong/views/MohongListView.vue index 75804d3..afc8c8b 100644 --- a/frontend/src/features/mohong/views/MohongListView.vue +++ b/frontend/src/features/mohong/views/MohongListView.vue @@ -228,7 +228,7 @@ async function handleSupportClick() { 购物车{{ cartCount > 0 ? `(${cartCount})` : '' }} - diff --git a/frontend/src/features/mohong/views/MohongOrderDetailView.vue b/frontend/src/features/mohong/views/MohongOrderDetailView.vue index 69f0b7b..afaeaed 100644 --- a/frontend/src/features/mohong/views/MohongOrderDetailView.vue +++ b/frontend/src/features/mohong/views/MohongOrderDetailView.vue @@ -135,7 +135,7 @@ async function copyText() {

{{ statusText }}

订单号 {{ order.order_no }} · {{ formatDateTime(order.created_at) }}

- diff --git a/frontend/src/features/orders/views/MobileOrdersView.vue b/frontend/src/features/orders/views/MobileOrdersView.vue index 154876c..3fb29c4 100644 --- a/frontend/src/features/orders/views/MobileOrdersView.vue +++ b/frontend/src/features/orders/views/MobileOrdersView.vue @@ -1,6 +1,6 @@