支持号主与租客查看自己的发布/订单详情
新增卖家商品详情页;订单详情底部增加可折叠账号快照,已完成订单展示结账明细。
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user