From d31fa55727d723d2a33bb3e430335b333b8298f4 Mon Sep 17 00:00:00 2001 From: "wangmingyong@163.com" Date: Tue, 3 Nov 2026 10:30:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/enforcement/scanEntQRCode.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue index 8e6368f4..6a286de1 100644 --- a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue @@ -550,6 +550,9 @@ onBeforeUnmount(() => { .warp_body { position: relative; + flex: 1; + overflow-y: auto; + -webkit-overflow-scrolling: touch; background-image: linear-gradient(to bottom, #ebf3fb, transparent); } @@ -580,6 +583,9 @@ onBeforeUnmount(() => { margin: 0 3%; width: 94%; height: 99%; + box-sizing: border-box; + /* 为底部固定的补录栏预留空间,避免内容被遮挡 */ + padding-bottom: 2rem; background-color: #fff; border-radius: 0.27rem; } @@ -602,18 +608,25 @@ onBeforeUnmount(() => { } .record { - position: absolute; + /* 固定在页面底部,内容滚动时始终可见,避免被上方区域覆盖导致点击失效 */ + position: fixed; + left: 3%; + right: 3%; bottom: 2rem; + z-index: 200; color: #bbbaba; font-size: 0.35rem; - width: 100%; text-align: center; white-space: nowrap; + background-color: #fff; } .record div { + position: relative; + z-index: 200; color: #287eef; display: inline-block; + cursor: pointer; } /* ========== html5-qrcode 扫码弹层样式 ========== */