SanHQin 7 months ago
parent
commit
d34f24d5f2

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 1 - 1
dist/report.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-69af1f9d.76c2db6c.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.426631b5.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-69af1f9d.004beb0a.js


+ 18 - 1
src/components/sweepPage_html5_qrcode.vue

@@ -137,7 +137,7 @@ export default {
       this.cameras = new Html5Qrcode('reader')
       this.cameras.start(
         { facingMode: { exact: 'environment' } },
-        { fps: 10, qrbox: { width: 250, height: 250 } },
+        { fps: 10 },
         this.CamerasSuccess
       )
     },
@@ -334,4 +334,21 @@ export default {
     transform: translateY(0);
   }
 }
+
+#reader__dashboard_section_cameras,
+#reader__dashboard_section_swaplink,
+#reader__header_message,
+#reader__scan_region > div {
+  display: none !important; /* 隐藏默认的一些 UI */
+}
+
+#reader__scan_region video {
+  width: 100% !important;
+  height: 100% !important;
+  object-fit: cover; /* 视频填充满容器,裁切多余部分 */
+}
+
+// #reader__dashboard {
+//   display: none !important;
+// }
 </style>

Some files were not shown because too many files changed in this diff