From 5e65b15e6b031b4bbc25a6fe2faf4c65e9bf5699 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Mon, 21 Jul 2025 11:36:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=9D=E5=A7=8B=E5=8C=96=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E5=8F=AF=E4=BB=A5=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.test | 4 +- package.json | 5 +++ src/components/check/index.vue | 2 +- src/components/check1/index.vue | 2 +- src/components/common/FTPhotoPreview/index.vue | 53 ++++++++++++++++++++++++++ src/components/container/Item/index.vue | 2 +- src/components/craft/AddCraftDialog.vue | 2 +- src/components/craft/CraftStatus.vue | 2 +- src/components/craft/TransferRight.vue | 2 +- src/components/exit/index.vue | 6 +-- src/components/home/SavePhoto/index.vue | 1 + src/env.d.ts | 1 + src/libs/http.ts | 2 +- src/main.ts | 13 +++++++ src/stores/systemStore.ts | 2 +- src/types/craft.d.ts | 2 + src/views/container/index.vue | 4 +- src/views/craft/index.vue | 6 +-- src/views/home/index.vue | 12 +++++- src/views/ore/index.vue | 2 +- src/views/solution/index.vue | 2 +- 21 files changed, 106 insertions(+), 21 deletions(-) create mode 100644 src/components/common/FTPhotoPreview/index.vue diff --git a/.env.test b/.env.test index 2822908..d6d885b 100644 --- a/.env.test +++ b/.env.test @@ -2,6 +2,6 @@ FT_NODE_ENV=test -FT_WS_URL=ws://192.168.1.199:8080/ws -FT_PROXY=http://192.168.1.199:8080 +FT_WS_URL=ws://192.168.73.170:8080/ws +FT_PROXY=http://192.168.73.170:8080 FT_API_BASE=/api \ No newline at end of file diff --git a/package.json b/package.json index ba158e3..ef5232b 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,10 @@ "cssnano": "^7.0.6", "element-plus": "^2.9.5", "express": "^5.1.0", + "images-viewer-vue3": "^1.0.37", "konva": "^9.3.18", "lodash": "^4.17.21", + "photo-view": "^2.0.3", "pinia": "^3.0.1", "pinia-plugin-persistedstate": "^4.2.0", "postcss": "^8.5.3", @@ -44,6 +46,9 @@ "postcss-viewport-units": "^0.1.6", "postcss-write-svg": "^3.0.1", "tdesign-mobile-vue": "^1.9.0", + "v-viewer": "^3.0.21", + "vant": "^4.9.20", + "viewerjs": "^1.11.7", "vue": "^3.5.13", "vue-router": "^4.5.0", "ws": "^8.18.1" diff --git a/src/components/check/index.vue b/src/components/check/index.vue index 44fcd92..863a322 100644 --- a/src/components/check/index.vue +++ b/src/components/check/index.vue @@ -257,7 +257,7 @@ const checkHandle1 = async () => { 下一步 - + 关闭 diff --git a/src/components/check1/index.vue b/src/components/check1/index.vue index 875adba..2855fd7 100644 --- a/src/components/check1/index.vue +++ b/src/components/check1/index.vue @@ -1,10 +1,10 @@ + + + + diff --git a/src/components/container/Item/index.vue b/src/components/container/Item/index.vue index 998477a..8ae9ef1 100644 --- a/src/components/container/Item/index.vue +++ b/src/components/container/Item/index.vue @@ -1,8 +1,8 @@ @@ -497,6 +506,7 @@ const previewHandle = () => { + diff --git a/src/views/ore/index.vue b/src/views/ore/index.vue index 800b5cb..28d975e 100644 --- a/src/views/ore/index.vue +++ b/src/views/ore/index.vue @@ -1,8 +1,8 @@