From 09e949af6f0d6f2b16e533e4492450b9d08bc987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Fri, 18 Jul 2025 16:50:37 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=20-=20=E5=95=86=E5=93=81=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/order.js | 3 + packages/myOrders/index/index.vue | 182 +++++++++++++----------------- 2 files changed, 81 insertions(+), 104 deletions(-) create mode 100644 api/order.js diff --git a/api/order.js b/api/order.js new file mode 100644 index 00000000..3f115aee --- /dev/null +++ b/api/order.js @@ -0,0 +1,3 @@ +export const apiArr = { + orderList: '/api/v2/wechat/commodity/order', // 商品订单列表 +} \ No newline at end of file diff --git a/packages/myOrders/index/index.vue b/packages/myOrders/index/index.vue index 14250f12..7ce67d01 100644 --- a/packages/myOrders/index/index.vue +++ b/packages/myOrders/index/index.vue @@ -17,26 +17,27 @@ - - 提交订单:{{ item.createTime }} + + 提交订单:{{ item.order_time }} {{ item.status }}{{ getOrderStatus(item.order_status) }} - - - {{ item.status }} + + + {{ getOrderStatus(item.order_status) }} - {{ item.status }} + {{ + getOrderStatus(item.order_status) + }} - + @@ -46,28 +47,30 @@ - 共{{ item.totalCount }}件商品,共计 - {{ item.totalPrice }} + 共{{ item.total_count }}件商品,共计 + {{ item.total_amount }} - + - + - + - + @@ -76,7 +79,7 @@ 再来一单 - + @@ -85,7 +88,7 @@ 再来一单 - + @@ -100,7 +103,8 @@