Browse Source

扫描页面样式调整

lwx_v5
liwenxuan 11 months ago
parent
commit
8ddfac943e
  1. 8
      src/views/home/scanQrCode.vue

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

Loading…
Cancel
Save