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 @@ -