From f5c3e0b0ea97519cef8c0b65fab1d22d2484b5f0 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Sat, 11 Jan 2025 18:08:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/views/admin/system/user/face-manage.vue | 1 + src/views/hard/hard-order/index.vue | 506 +++++++++++--------- 3 files changed, 293 insertions(+), 218 deletions(-) diff --git a/.env.development b/.env.development index 02523a1..b745ec1 100644 --- a/.env.development +++ b/.env.development @@ -8,13 +8,13 @@ VITE_OPEN = true ENV = 'development' # ADMIN 服务地址 -VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ # 线上 +# VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ # 线上 # VITE_ADMIN_PROXY_PATH = http://pjcloud.center.takin.cc/ VITE_ADMIN_PROXY_PATH = http://localhost:9999/ #VITE_ADMIN_PROXY_PATH = http://192.168.101.29:9999/ # 邓-本地 # 图片访问基础地址 -VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api # 线上 +# VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api # 线上 # VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc VITE_IMAGE_BASE_PATH = http://localhost:9999 #VITE_IMAGE_BASE_PATH = http://192.168.101.29:9999 # 邓-本地 diff --git a/src/views/admin/system/user/face-manage.vue b/src/views/admin/system/user/face-manage.vue index 5f7a75f..aba601c 100644 --- a/src/views/admin/system/user/face-manage.vue +++ b/src/views/admin/system/user/face-manage.vue @@ -124,6 +124,7 @@ const openDialog = async (id: number) => { dialogVisible.value = true resetForm() detailId.value = id + state.queryForm.userId = id getDataList() } diff --git a/src/views/hard/hard-order/index.vue b/src/views/hard/hard-order/index.vue index bc59cc4..1d9c4c4 100644 --- a/src/views/hard/hard-order/index.vue +++ b/src/views/hard/hard-order/index.vue @@ -1,176 +1,230 @@ - - - - - - - - - - - - - - - - - - - - - {{ $t('common.queryBtn') - }} - {{ $t('common.resetBtn') }} - - - - - - - - - - - - - - - - - - - - - - - - 商户 - - {{ row.merchantName }} - - - - 设备名 - - {{ row.hardName }} - - - - 设备类型 - - {{ row.hardType }} - - - - - - - - 订单类型 - - - - - - 支付方式 - - - - - - 订单状态 - - - - - - - - - - 商品总价 - - {{ displayPrice(row.totalPrice) }} - - - - 额外支付 - - {{ displayPrice(row.extraPrice) }} - - - - 实际支付 - - {{ displayPrice(row.payPrice) }} - - - - - - - - 退款金额 - - {{ displayPrice(row.refundPrice) }} - - - - 退款状态 - - - - - - 退款时间 - - {{ row.refundTime }} - - - - - - - - 购物车 - - 详情 - - 编辑 - 删除 - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + {{ $t("common.queryBtn") }} + {{ $t("common.resetBtn") }} + + + + + + + + + + + + + + + + + + + + + + + + 商品 + + {{ row.productDesc }} + + + + 用餐时间段 + + + + + + + + + + 商户 + + {{ row.merchantName }} + + + + 设备名 + + {{ row.hardName }} + + + + 设备类型 + + + + + + + + + + 订单类型 + + + + + + 支付方式 + + + + + + 订单状态 + + + + + + + + + + 商品总价 + + {{ displayPrice(row.totalPrice) }} + + + + 额外支付 + + {{ displayPrice(row.extraPrice) }} + + + + 实际支付 + + {{ displayPrice(row.payPrice) }} + + + + + + + + + 退款金额 + + {{ displayPrice(row.refundPrice) }} + + + + 退款状态 + + + + + + 退款时间 + + {{ row.refundTime }} + + + + + + + + + 创建时间 + {{ row.createTime }} + + + 支付时间 + {{ row.payTime }} + + + + + + 购物车 + 详情 + 编辑 + 删除 + + + + + + + + + \ No newline at end of file + +.status { + display: flex; + align-items: center; + margin-bottom: 2px; + + span { + display: inline-block; + } + + span:nth-child(1) { + min-width: 60px; + max-width: 100px; + text-align: left; + } + + span:nth-child(2) { + flex: 1; + min-width: 50px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } +} +