From db19393427d8631863625cf57f0e6abe67a7222f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 13 Dec 2023 21:17:31 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=EF=BC=9A=E8=AE=A2=E5=8D=95=E9=A1=B9=E7=9A=84=E5=94=AE?= =?UTF-8?q?=E5=90=8E=E7=8A=B6=E6=80=81=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 10 ---------- pages/order/detail.vue | 41 +++++++---------------------------------- pages/order/list.vue | 12 ++---------- 3 files changed, 9 insertions(+), 54 deletions(-) diff --git a/pages.json b/pages.json index 56d1201e..74ed57a9 100644 --- a/pages.json +++ b/pages.json @@ -209,16 +209,6 @@ "title": "发票详情" } }, - { - "path": "dispatch/content", - "style": { - "navigationBarTitleText": "发货内容" - }, - "meta": { - "auth": true, - "title": "发货内容" - } - }, { "path": "aftersale/apply", "style": { diff --git a/pages/order/detail.vue b/pages/order/detail.vue index c3165bc5..b7becfb6 100644 --- a/pages/order/detail.vue +++ b/pages/order/detail.vue @@ -58,7 +58,7 @@ > @@ -225,6 +216,7 @@ }); } + // 查看商品 function onGoodsDetail(id) { sheep.$router.go('/pages/goods/index', { id @@ -248,25 +240,6 @@ }); } - // 申请退款 - async function onRefund(orderId) { - uni.showModal({ - title: '提示', - content: '确定要申请退款吗?', - success: async function(res) { - if (res.confirm) { - const { - error, - data - } = await sheep.$api.order.applyRefund(orderId); - if (error === 0) { - getOrderDetail(data.order_sn); - } - } - }, - }); - } - // 查看物流 TODO 芋艿:待测试 async function onExpress(orderId) { sheep.$router.go('/pages/order/express/list', { diff --git a/pages/order/list.vue b/pages/order/list.vue index d1f9bb7c..6e436762 100644 --- a/pages/order/list.vue +++ b/pages/order/list.vue @@ -34,7 +34,6 @@ -