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