Browse Source

扫描页面样式调整

lwx_v5
liwenxuan 11 months ago
parent
commit
1cbe8d8504
  1. 5
      src/views/home/scanQrCode.vue

5
src/views/home/scanQrCode.vue

@ -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 {

Loading…
Cancel
Save