|
|
@ -65,8 +65,9 @@ |
|
|
.start( |
|
|
.start( |
|
|
{ facingMode: "environment" }, |
|
|
{ facingMode: "environment" }, |
|
|
{ |
|
|
{ |
|
|
fps: 1, |
|
|
fps: 5, |
|
|
qrbox: { width: 250, height: 250 }, |
|
|
qrbox: { width: 250, height: 250 }, |
|
|
|
|
|
aspectRatio: 1.777778, |
|
|
}, |
|
|
}, |
|
|
(decodedText, decodedResult) => { |
|
|
(decodedText, decodedResult) => { |
|
|
window.location.href = decodedText; |
|
|
window.location.href = decodedText; |
|
|
@ -187,7 +188,7 @@ |
|
|
/* top: 50%; |
|
|
/* top: 50%; |
|
|
left: 0; |
|
|
left: 0; |
|
|
transform: translateY(-50%); */ |
|
|
transform: translateY(-50%); */ |
|
|
border: yellow solid 1px; |
|
|
border: yellow solid 5px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.btn { |
|
|
.btn { |
|
|
|