From a83db39abf1b841525180102726f306d3e15e353 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 1 Oct 2023 23:44:38 +0800 Subject: [PATCH] =?UTF-8?q?trade=EF=BC=9A=E5=BE=AE=E8=B0=83=20order=20?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 588ce1c9aeb2884b7a1194107e25bc754a445f4a) --- src/api/pay/wallet/index.ts | 4 ++-- src/router/modules/remaining.ts | 8 +++---- src/views/mall/trade/order/detail/index.vue | 24 +++++++++---------- src/views/mall/trade/order/index.vue | 2 +- ...eLevelForm.vue => UserLevelUpdateForm.vue} | 0 ...ePointForm.vue => UserPointUpdateForm.vue} | 0 .../member/user/detail/UserAccountInfo.vue | 9 +++---- src/views/member/user/index.vue | 8 +++---- 8 files changed, 28 insertions(+), 27 deletions(-) rename src/views/member/user/{UpdateLevelForm.vue => UserLevelUpdateForm.vue} (100%) rename src/views/member/user/{UpdatePointForm.vue => UserPointUpdateForm.vue} (100%) diff --git a/src/api/pay/wallet/index.ts b/src/api/pay/wallet/index.ts index 0e5469db..b57deeb0 100644 --- a/src/api/pay/wallet/index.ts +++ b/src/api/pay/wallet/index.ts @@ -17,6 +17,6 @@ export interface WalletVO { } /** 查询用户钱包详情 */ -export const getUserWallet = async (params: PayWalletUserReqVO) => { - return await request.get({ url: `/pay/wallet/user-wallet`, params }) +export const getWallet = async (params: PayWalletUserReqVO) => { + return await request.get({ url: `/pay/wallet/get`, params }) } diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 414d25e3..dae11168 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -392,23 +392,23 @@ const remainingRouter: AppRouteRecordRaw[] = [ ] }, { - path: '/trade', // 交易中心 + path: '/mall/trade', // 交易中心 component: Layout, meta: { hidden: true }, children: [ { - path: 'order/detail/:orderId(\\d+)', + path: 'order/detail/:id(\\d+)', component: () => import('@/views/mall/trade/order/detail/index.vue'), name: 'TradeOrderDetail', - meta: { title: '订单详情', icon: '', activeMenu: '/trade/trade/order' } + meta: { title: '订单详情', icon: 'ep:view', activeMenu: '/mall/trade/order' } }, { path: 'after-sale/detail/:orderId(\\d+)', component: () => import('@/views/mall/trade/afterSale/detail/index.vue'), name: 'TradeAfterSaleDetail', - meta: { title: '退款详情', icon: '', activeMenu: '/trade/trade/after-sale' } + meta: { title: '退款详情', icon: 'ep:view', activeMenu: '/mall/trade/after-sale' } } ] }, diff --git a/src/views/mall/trade/order/detail/index.vue b/src/views/mall/trade/order/detail/index.vue index e92fa82c..e61b482a 100644 --- a/src/views/mall/trade/order/detail/index.vue +++ b/src/views/mall/trade/order/detail/index.vue @@ -75,11 +75,11 @@ - + - +