Browse Source

Merge branch 'lwx_v5'

lwx_v9
hreenshan112 11 months ago
parent
commit
160da0be00
  1. 8
      src/views/home/scanQrCode.vue

8
src/views/home/scanQrCode.vue

@ -66,8 +66,8 @@
{ facingMode: "environment" }, { facingMode: "environment" },
{ {
fps: 5, fps: 5,
qrbox: { width: 250, height: 250 }, qrbox: { width: 300, height: 300 },
aspectRatio: 1.777778, aspectRatio: 1,
}, },
(decodedText, decodedResult) => { (decodedText, decodedResult) => {
window.location.href = decodedText; window.location.href = decodedText;
@ -177,14 +177,14 @@
border: red solid 7px; border: red solid 7px;
} }
.qrcode { .qrcode {
height: 80%; height: 90%;
/* width: 100%;*/ /* width: 100%;*/
border: white solid 7px; border: white solid 7px;
} }
#reader { #reader {
display: block; display: block;
height: 60.4vh; height: 90vh;
/* top: 50%; /* top: 50%;
left: 0; left: 0;
transform: translateY(-50%); */ transform: translateY(-50%); */

Loading…
Cancel
Save