From 54667097b343d7bfd205d34b7b542695210e9594 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Wed, 17 Jun 2026 18:22:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=80=80=E8=8F=9C=E5=8E=9F?= =?UTF-8?q?=E5=9B=A0=E4=BB=A5=E5=8F=8A=E6=97=A0=E5=8F=B0=E6=A1=8C=E9=80=80?= =?UTF-8?q?=E8=8F=9C=E4=B8=8D=E5=88=B7=E6=96=B0=E5=8E=86=E5=8F=B2=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 15 +- .env.test | 10 +- package.json | 2 +- src/components/refundConsModal.vue | 2 +- src/views/home/components/cartItem.vue | 5 +- src/views/home/components/cartOperation.vue | 26 +- .../home/components/cartOperationReturn.vue | 257 ++++++++++++++++++ src/views/home/components/goods.vue | 2 +- src/views/home/index.vue | 2 +- 9 files changed, 300 insertions(+), 21 deletions(-) create mode 100644 src/views/home/components/cartOperationReturn.vue diff --git a/.env.development b/.env.development index 384d0d2..9efc462 100644 --- a/.env.development +++ b/.env.development @@ -1,14 +1,14 @@ # 本地环境 ENV = development -# 测试ws -# VITE_API_WSS = 'wss://sockets.sxczgkj.com/wss' - # 正式ws # VITE_API_WSS = 'wss://czgeatws.sxczgkj.com/wss' # 本地ws -VITE_API_WSS = 'ws://192.168.1.42:2348' +# VITE_API_WSS = 'ws://192.168.1.42:2348' + +# 线上本地映射测试ws +VITE_API_WSS = 'ws://frp.sxczgkj.com/wss' # 正式 php VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api' @@ -17,7 +17,7 @@ VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api' # VITE_API_KP_URL = 'http://192.168.1.13:8888/api' # 正式 php 开票 -# VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' +VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # 线上测试 # VITE_API_URL = 'https://tapi.cashier.sxczgkj.cn' @@ -26,4 +26,7 @@ VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api' # VITE_API_URL = 'https://cashier.sxczgkj.com' # 本地调试连接 -VITE_API_URL = 'http://192.168.1.42/' \ No newline at end of file +# VITE_API_URL = 'http://192.168.1.42/' + +# 线上本地映射测试 +VITE_API_URL = 'https://frp.sxczgkj.com' \ No newline at end of file diff --git a/.env.test b/.env.test index 061e3f0..528c5b8 100644 --- a/.env.test +++ b/.env.test @@ -2,7 +2,10 @@ ENV = test # 测试ws -VITE_API_WSS = 'ws://192.168.1.42:2348' +# VITE_API_WSS = 'ws://192.168.1.42:2348' + +# 线上本地映射测试ws +VITE_API_WSS = 'ws://frp.sxczgkj.com/wss' # 测试ws # VITE_API_WSS = 'wss://sockets.sxczgkj.com/wss' @@ -26,4 +29,7 @@ VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # VITE_API_URL = 'https://cashier.sxczgkj.com/' # 本地调试连接 -VITE_API_URL = 'http://192.168.1.42/' \ No newline at end of file +# VITE_API_URL = 'http://192.168.1.42/' + +# 线上本地映射测试 +VITE_API_URL = 'https://frp.sxczgkj.com' \ No newline at end of file diff --git a/package.json b/package.json index a31ec88..f8533e0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vite-electron", "private": true, - "version": "2.0.31", + "version": "2.0.32", "main": "dist-electron/main.js", "scripts": { "dev": "chcp 65001 && vite", diff --git a/src/components/refundConsModal.vue b/src/components/refundConsModal.vue index e873240..a2d02c1 100644 --- a/src/components/refundConsModal.vue +++ b/src/components/refundConsModal.vue @@ -4,7 +4,7 @@