支持号主与租客查看自己的发布/订单详情

新增卖家商品详情页;订单详情底部增加可折叠账号快照,已完成订单展示结账明细。
This commit is contained in:
yml2213
2026-07-16 20:47:33 +08:00
parent b44b3354b9
commit e241607535
12 changed files with 1870 additions and 95 deletions
+4
View File
@@ -40,6 +40,9 @@ export function getMobilePath(path: string): string {
if (path.startsWith('/seller/listings/') && path.endsWith('/edit')) {
return `/m${path}`
}
if (path === '/seller/listings' || path.startsWith('/seller/listings/')) {
return `/m${path}`
}
if (path === '/messages' || path.startsWith('/messages/')) {
return '/m/messages'
}
@@ -81,6 +84,7 @@ export function getPcPath(path: string): string {
if (subPath === '/wallet/withdrawal') return '/wallet/withdrawal'
if (subPath === '/seller/listings/create') return '/seller/listings/create'
if (subPath.startsWith('/seller/listings/') && subPath.endsWith('/edit')) return subPath
if (subPath === '/seller/listings' || subPath.startsWith('/seller/listings/')) return subPath
if (subPath === '/messages') return '/messages'
if (subPath.startsWith('/chats/')) return '/messages/' + subPath.substring(7)
+6
View File
@@ -139,6 +139,12 @@ export const mobileRoutes: RouteRecordRaw[] = [
component: () => import('@/features/seller/views/MobileSellerListingCreateView.vue'),
meta: { layout: 'blank', requiresAuth: true, requiresRealname: true },
},
{
path: '/m/seller/listings/:id',
name: 'mobile-seller-listing-detail',
component: () => import('@/features/seller/views/MobileSellerListingDetailView.vue'),
meta: { layout: 'blank', requiresAuth: true },
},
{
path: '/m/seller/listings',
name: 'mobile-seller-listings',
+6
View File
@@ -19,6 +19,12 @@ export const sellerRoutes: RouteRecordRaw[] = [
component: () => import('@/features/seller/views/SellerListingCreateView.vue'),
meta: { requiresAuth: true, requiresRealname: true },
},
{
path: '/seller/listings/:id',
name: 'seller-listing-detail',
component: () => import('@/features/seller/views/SellerListingDetailView.vue'),
meta: { requiresAuth: true },
},
{
path: '/seller/handoffs',
name: 'seller-handoffs',