From e524e020efe3ebd0d0691476baac13a915e4695f Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Mon, 5 Jan 2026 16:53:50 +0800 Subject: [PATCH] commit --- src/main/resources/views/platform/zhghh5/scan/index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/resources/views/platform/zhghh5/scan/index.html b/src/main/resources/views/platform/zhghh5/scan/index.html index 3d63352..7774872 100644 --- a/src/main/resources/views/platform/zhghh5/scan/index.html +++ b/src/main/resources/views/platform/zhghh5/scan/index.html @@ -71,7 +71,7 @@ layout("/layouts/platform_h5.html"){ #reader video { width: 100% !important; height: 100% !important; - object-fit: cover !important; + object-fit: contain !important; position: absolute !important; top: 0 !important; left: 0 !important; @@ -115,7 +115,6 @@ layout("/layouts/platform_h5.html"){
@@ -205,8 +204,6 @@ layout("/layouts/platform_h5.html"){ fps: 10, qrbox: size, videoConstraints: { - width: { ideal: 1280 }, - height: { ideal: 720 }, facingMode: "environment" // 强制后置(部分浏览器支持) }, disableFlip: true, // 防止镜像