From 29883a7abe8b2a3cc1949dce5c0b49a3c13c824e Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Fri, 10 Jan 2025 09:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E7=A0=81=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 2 +- src/views/home/scanQrCode.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 426be6f..a5c1e8f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -269,7 +269,7 @@ const openNews = (val:any,name:string) => { diff --git a/src/views/home/scanQrCode.vue b/src/views/home/scanQrCode.vue index 0491216..51fe5e9 100644 --- a/src/views/home/scanQrCode.vue +++ b/src/views/home/scanQrCode.vue @@ -66,8 +66,8 @@ { facingMode: "environment" }, { fps: 5, - qrbox: { width: 300, height: 300 }, - aspectRatio: 1.7, + qrbox: { width: 300, height: 210 }, + aspectRatio: 1.7,// }, (decodedText, decodedResult) => { window.location.href = decodedText; @@ -174,12 +174,12 @@ height: 100vh; position: relative; width: 100%; - border: red solid 7px; + /* border: red solid 7px; */ } ​.qrcode { height: 90%; /* width: 100%;*/ - border: white solid 7px; + /* border: white solid 7px; */ } #reader { display: block; @@ -188,7 +188,7 @@ /* top: 50%; left: 0; transform: translateY(-50%); */ - border: yellow solid 5px; + /* border: yellow solid 5px; */ } .btn { @@ -199,7 +199,7 @@ color: #fff; font-size: 6vw; align-items: flex-start; - border: green solid 7px; + /* border: green solid 7px; */ } ​ \ No newline at end of file