From 66e736f910151567db2734125a2b0a879269ed9f Mon Sep 17 00:00:00 2001 From: fancy Date: Fri, 25 Jun 2021 15:36:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A7=BB=E5=8A=A8=E5=8A=9E=E5=85=AC?= =?UTF-8?q?=E3=80=91=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=8F=90=E7=A4=BA=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E4=BD=8D=E7=BD=AE=E6=98=BE=E7=A4=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_Common/Main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/o2web/source/x_component_Common/Main.js b/o2web/source/x_component_Common/Main.js index 52a1c4f729..3478df3201 100644 --- a/o2web/source/x_component_Common/Main.js +++ b/o2web/source/x_component_Common/Main.js @@ -495,6 +495,11 @@ MWF.xApplication.Common.Main = new Class({ if (!target) target = this.window.content; if (!type) type = "ok"; var noticeTarget = target || layout.layout.contentNode; + // 移动端如果向下滚动了就看不到了 + if (layout.mobile) { + noticeTarget = $(document.body); + } + var off = offset; if (!off) { off = { -- GitLab