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%); */