From 8ddfac943e624f01cceb0d7981c0d90b8b3b181f Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Fri, 10 Jan 2025 08:30:48 +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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/home/scanQrCode.vue b/src/views/home/scanQrCode.vue index dd16a8e..1d477a8 100644 --- a/src/views/home/scanQrCode.vue +++ b/src/views/home/scanQrCode.vue @@ -66,8 +66,8 @@ { facingMode: "environment" }, { fps: 5, - qrbox: { width: 250, height: 250 }, - aspectRatio: 1.777778, + qrbox: { width: 300, height: 300 }, + aspectRatio: 1, }, (decodedText, decodedResult) => { window.location.href = decodedText; @@ -177,14 +177,14 @@ border: red solid 7px; } ​.qrcode { - height: 80%; + height: 90%; /* width: 100%;*/ border: white solid 7px; } #reader { display: block; - height: 60.4vh; + height: 90vh; /* top: 50%; left: 0; transform: translateY(-50%); */