From 5eb7ae6f0000e996b26ef51a58636acf6fc689c1 Mon Sep 17 00:00:00 2001 From: dzq Date: Tue, 13 May 2025 15:34:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=AE=A2=E5=8D=95=E6=A8=A1=E5=9D=97):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BE=AE=E4=BF=A1openid=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=B9=B6=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E8=AE=A2=E5=8D=95=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在订单查询接口中添加微信openid字段,支持通过openid查询订单 - 重构用户详情页,使用el-descriptions组件优化基本信息展示 - 添加订单列表展示功能,支持分页、加载状态及订单详情查看 --- src/api/shop/order.ts | 4 + src/views/user/ab98/detail.vue | 155 +++++++++++++++++++++------------ 2 files changed, 104 insertions(+), 55 deletions(-) diff --git a/src/api/shop/order.ts b/src/api/shop/order.ts index 4eee8e7..4c4ad7e 100644 --- a/src/api/shop/order.ts +++ b/src/api/shop/order.ts @@ -3,6 +3,10 @@ import { http } from "@/utils/http"; export interface OrderQuery extends BasePageQuery { /** 订单编号 */ orderId?: number; + /** + * 微信openid + */ + openid?: string; /** 柜机id */ cabinetId?: number; /** 格口id */ diff --git a/src/views/user/ab98/detail.vue b/src/views/user/ab98/detail.vue index 3a6c882..927b99a 100644 --- a/src/views/user/ab98/detail.vue +++ b/src/views/user/ab98/detail.vue @@ -1,7 +1,8 @@