From bd4ff86fdfc7621d8b937ca469ddc35d6248fa94 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 31 Oct 2025 13:22:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?OCR=20=E4=BA=8C=E7=BB=B4=E7=A0=81=20?= =?UTF-8?q?=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/devicesSearch/ocrSearch.vue | 1468 ++++++++----------------- src/pages/devicesSearch/qrSearch.vue | 901 ++++++++------- 2 files changed, 915 insertions(+), 1454 deletions(-) diff --git a/src/pages/devicesSearch/ocrSearch.vue b/src/pages/devicesSearch/ocrSearch.vue index 7986edf..9a9c60f 100644 --- a/src/pages/devicesSearch/ocrSearch.vue +++ b/src/pages/devicesSearch/ocrSearch.vue @@ -1,1001 +1,469 @@ - - - - - \ No newline at end of file diff --git a/src/pages/devicesSearch/qrSearch.vue b/src/pages/devicesSearch/qrSearch.vue index 9603afa..45497fb 100644 --- a/src/pages/devicesSearch/qrSearch.vue +++ b/src/pages/devicesSearch/qrSearch.vue @@ -1,454 +1,447 @@ - - - - - + + + + + From 32e84fff8d042a62e0af76b4804e6711ea351059 Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Sat, 1 Nov 2025 14:45:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=89=AB?= =?UTF-8?q?=E7=A0=81=E9=A1=B5=E9=9D=A2=E3=80=81=E5=AE=89=E5=85=A8=E5=B7=A5?= =?UTF-8?q?=E5=99=A8=E5=85=B7=E8=AF=86=E5=88=AB=E9=A1=B5=E9=9D=A2=E8=BF=98?= =?UTF-8?q?=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/devicesSearch/ocrSearch.vue | 648 ++++++++++++++++++++-- src/pages/devicesSearch/qrSearch.vue | 737 +++++++++++++------------- 2 files changed, 969 insertions(+), 416 deletions(-) diff --git a/src/pages/devicesSearch/ocrSearch.vue b/src/pages/devicesSearch/ocrSearch.vue index 9a9c60f..96fc3b2 100644 --- a/src/pages/devicesSearch/ocrSearch.vue +++ b/src/pages/devicesSearch/ocrSearch.vue @@ -100,7 +100,7 @@ - + + + + + + 请将识别编码置于取景框内,完成扫描 + + + + + + + + + + + + + + + 📷 + + + + + + + + 正在识别中... + + + + + {{ message }} + @@ -299,9 +835,18 @@ export default { opacity: 0; transition: opacity 0.3s; } -.custom-toast.top { top: 0; } -.custom-toast.bottom { bottom: 0; } -.custom-toast.show { opacity: 1; } + +.custom-toast.top { + top: 0; +} + +.custom-toast.bottom { + bottom: 0; +} + +.custom-toast.show { + opacity: 1; +} .page-container { display: flex; @@ -356,6 +901,7 @@ export default { z-index: 3; pointer-events: auto; } + .control-btn { width: 100rpx; height: 100rpx; diff --git a/src/pages/devicesSearch/qrSearch.vue b/src/pages/devicesSearch/qrSearch.vue index 45497fb..ae98378 100644 --- a/src/pages/devicesSearch/qrSearch.vue +++ b/src/pages/devicesSearch/qrSearch.vue @@ -1,210 +1,217 @@ -