Browse Source

Merge branch 'lwx_v5'

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

17
src/views/home/scanQrCode.vue

@ -65,8 +65,9 @@
.start(
{ facingMode: "environment" },
{
fps: 1,
fps: 5,
qrbox: { width: 250, height: 250 },
aspectRatio: 1.777778,
},
(decodedText, decodedResult) => {
window.location.href = decodedText;
@ -173,21 +174,21 @@
height: 100vh;
position: relative;
width: 100%;
/* border: red solid 7px; */
border: red solid 7px;
}
.qrcode {
height: 100%;
/* width: 100%;
border: yellow solid 7px; */
height: 80%;
/* width: 100%;*/
border: white solid 7px;
}
#reader {
display: block;
height: 95.4vh;
height: 60.4vh;
/* top: 50%;
left: 0;
transform: translateY(-50%); */
/* border: yellow solid 1px; */
border: yellow solid 5px;
}
.btn {
@ -198,7 +199,7 @@
color: #fff;
font-size: 6vw;
align-items: flex-start;
/* border: green solid 7px; */
border: green solid 7px;
}
</style>
Loading…
Cancel
Save