From 78ae0183203d1f3628d19c61e4ad10d6880c5174 Mon Sep 17 00:00:00 2001 From: "LAPTOP-CNV4CMCJ\\cheng" <1315228474@qq.com> Date: Sat, 19 Nov 2022 00:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=80=E6=AC=BE=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=20=E8=B0=83=E6=95=B4=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E7=9A=84tab=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/router/index.js | 6 + .../src/views/mall/trade/order/detail.vue | 10 + .../src/views/mall/trade/order/index.vue | 146 ++++----- .../views/mall/trade/orderrefund/index.vue | 289 ++++++++++++++++++ 4 files changed, 378 insertions(+), 73 deletions(-) create mode 100644 yudao-ui-admin/src/views/mall/trade/orderrefund/index.vue diff --git a/yudao-ui-admin/src/router/index.js b/yudao-ui-admin/src/router/index.js index 309a7a3b8..133eed186 100644 --- a/yudao-ui-admin/src/router/index.js +++ b/yudao-ui-admin/src/router/index.js @@ -216,6 +216,12 @@ export const constantRoutes = [ hidden: true, meta: { title: '订单详情' }, component: (resolve) => require(['@/views/mall/trade/order/detail'], resolve) + }, + { + path: '/mall/trade/orderrefund', + name: '退款维权', + meta: { title: '退款维权' }, + component: (resolve) => require(['@/views/mall/trade/orderrefund'], resolve) } ] } diff --git a/yudao-ui-admin/src/views/mall/trade/order/detail.vue b/yudao-ui-admin/src/views/mall/trade/order/detail.vue index 4e50d8f41..13a6c3dee 100644 --- a/yudao-ui-admin/src/views/mall/trade/order/detail.vue +++ b/yudao-ui-admin/src/views/mall/trade/order/detail.vue @@ -195,6 +195,16 @@ export default { } ], goodsList: [ // 包裹下的商品列表 + { + name: 'Otic 巴拉啦小魔仙联名麦克风儿童早教家用一体卡拉OK宝宝话筒唱歌 魔仙粉', + count: 6, + imgUrl: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg' + }, + { + name: 'Otic 巴拉啦小魔仙联名麦克风儿童早教家用一体卡拉OK宝宝话筒唱歌 魔仙粉', + count: 6, + imgUrl: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg' + }, { name: 'Otic 巴拉啦小魔仙联名麦克风儿童早教家用一体卡拉OK宝宝话筒唱歌 魔仙粉', count: 6, diff --git a/yudao-ui-admin/src/views/mall/trade/order/index.vue b/yudao-ui-admin/src/views/mall/trade/order/index.vue index 9b9da0565..91e81da74 100644 --- a/yudao-ui-admin/src/views/mall/trade/order/index.vue +++ b/yudao-ui-admin/src/views/mall/trade/order/index.vue @@ -63,70 +63,71 @@ - - {{tabPane.text}} - - - - - - - - + + + + + + + + + + @@ -234,14 +235,14 @@ }, activeTabName: 'all', tabPanes: [ - { text: '全部', label: 'all' }, - { text: '待支付', label: 'toBePay' }, - { text: '待发货', label: 'toBeSend' }, - { text: '已发货', label: 'send' }, - { text: '已收货', label: 'received' }, - { text: '已完成', label: 'finished' }, - { text: '已关闭', label: 'closed' }, - { text: '退款中', label: 'refund' } + { text: '全部', name: 'all' }, + { text: '待支付', name: 'toBePay' }, + { text: '待发货', name: 'toBeSend' }, + { text: '已发货', name: 'send' }, + { text: '已收货', name: 'received' }, + { text: '已完成', name: 'finished' }, + { text: '已关闭', name: 'closed' }, + { text: '退款中', name: 'refund' } ], tableData: [ { @@ -333,7 +334,6 @@