From 85527a8823a79efc97d1a10091a1f95e86a066ed Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 14 Apr 2020 09:12:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/admin.html | 2 +- public/index.html | 2 +- public/vcCore/vcFramework.js | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/public/admin.html b/public/admin.html index 5a7301db5..0e6c85bda 100644 --- a/public/admin.html +++ b/public/admin.html @@ -41,7 +41,7 @@
-
+
diff --git a/public/index.html b/public/index.html index db76916af..fd1e162ee 100644 --- a/public/index.html +++ b/public/index.html @@ -41,7 +41,7 @@ -
+
diff --git a/public/vcCore/vcFramework.js b/public/vcCore/vcFramework.js index e96ac22f3..cf9b890ad 100644 --- a/public/vcCore/vcFramework.js +++ b/public/vcCore/vcFramework.js @@ -1786,7 +1786,16 @@ vc 校验 工具类 -method vcFramework.check = function(dataObj,dataConfig){ return vcFramework.validate.validate(dataObj, dataConfig); } -})(window.vcFramework) +})(window.vcFramework); + +//全屏处理 这个后面可以关掉 +(function(vcFramework){ + let _vcPageHeight = document.getElementsByClassName('vc-page-height')[0]; + + //浏览器可见高度 + let _minHeight = document.documentElement.clientHeight; + _vcPageHeight.style.minHeight = _minHeight + 'px'; +});