每周更新

This commit is contained in:
2025-12-19 15:40:53 +08:00
parent 5945ab5588
commit ee5ed42a0d
26 changed files with 1177 additions and 213 deletions

View File

@@ -100,9 +100,13 @@ export const accountRoutes = [
}
},
{
// 兼容旧入口:收款记录 -> 卖家资金流水收款tab
path: 'receipt-record',
name: 'accountReceiptRecord',
component: () => import('../views/account/receiptRecord.vue'),
redirect: (to) => ({
path: '/account/seller-funds-flow',
query: { ...(to && to.query ? to.query : {}), tab: 'receipt' }
}),
meta: {
title: '收款记录',
description: '卖家收款流水记录',
@@ -110,15 +114,29 @@ export const accountRoutes = [
}
},
{
// 兼容旧入口:提现记录 -> 卖家资金流水提现tab
path: 'withdraw-record',
name: 'accountWithdrawRecord',
component: () => import('../views/account/withdrawRecord.vue'),
redirect: (to) => ({
path: '/account/seller-funds-flow',
query: { ...(to && to.query ? to.query : {}), tab: 'withdraw' }
}),
meta: {
title: '提现记录',
description: '卖家提现流水记录',
allAuthority: ['all']
}
},
{
path: 'seller-funds-flow',
name: 'accountSellerFundsFlow',
component: () => import('../views/account/sellerFundsFlow.vue'),
meta: {
title: '资金流水',
description: '卖家收款/提现记录切换查看',
allAuthority: ['all']
}
},
{
path: 'shop-new',
name: 'accountShopNew',
@@ -169,23 +187,23 @@ export const accountRoutes = [
allAuthority: ['all']
}
},
{
path: 'purchased',
name: 'accountPurchased',
component: () => import('../views/account/purchased.vue'),
meta: {
title: '已购商品',
description: '查看已购买的商品列表',
allAuthority: ['all']
}
},
{
path: 'purchased-machine-config',
name: 'accountPurchasedMachineConfig',
component: () => import('../views/account/purchasedMachineConfig.vue'),
meta: {
title: '已购矿机配置',
description: '查看已购买矿机的配置信息',
title: '已购商品',
description: '查看已购买商品的配置信息',
allAuthority: ['all']
}
},
{
path: 'purchased-machine-detail/:id',
name: 'purchasedMachineDetail',
component: () => import('../views/account/purchasedMachineDetail.vue'),
meta: {
title: '已购商品详情',
description: '查看已购买商品的详细信息',
allAuthority: ['all']
}
},
@@ -199,16 +217,6 @@ export const accountRoutes = [
allAuthority: ['all']
}
},
{
path: 'purchased-detail/:id',
name: 'PurchasedDetail',
component: () => import('../views/account/purchasedDetail.vue'),
meta: {
title: '已购商品详情',
description: '查看已购商品详细信息',
allAuthority: ['all']
}
},
{
path: 'orders',
name: 'accountOrders',