From 1cbe8d85049e71a6257c95ffeec8649ee0f615a4 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Thu, 9 Jan 2025 16:40:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E6=8F=8F=E9=A1=B5=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/scanQrCode.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/home/scanQrCode.vue b/src/views/home/scanQrCode.vue index 954b1ad..dd16a8e 100644 --- a/src/views/home/scanQrCode.vue +++ b/src/views/home/scanQrCode.vue @@ -65,8 +65,9 @@ .start( { facingMode: "environment" }, { - fps: 1, + fps: 5, qrbox: { width: 250, height: 250 }, + aspectRatio: 1.777778, }, (decodedText, decodedResult) => { window.location.href = decodedText; @@ -187,7 +188,7 @@ /* top: 50%; left: 0; transform: translateY(-50%); */ - border: yellow solid 1px; + border: yellow solid 5px; } .btn {