浏览代码

优化遮罩层

tags/6.5.6
叙述、别离 3 天前
父节点
当前提交
be802be7fc
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. +3
    -3
      src/static/web/css/admin.css
  2. +1
    -1
      src/static/web/js/admin.main.js

+ 3
- 3
src/static/web/css/admin.css 查看文件

@@ -339,11 +339,11 @@ body.menu-show .admin-content {
display:none display:none
} }
.fullpagediv { .fullpagediv {
position:absolute;
position:fixed;
top:0; top:0;
left:0; left:0;
width:100%;
height:100%;
width:100vw;
height:100vh;
background:#000; background:#000;
opacity:0.5; opacity:0.5;
z-index:1980 z-index:1980


+ 1
- 1
src/static/web/js/admin.main.js 查看文件

@@ -116,7 +116,7 @@ function ChangeFullDiv(showhide, screenheigt) {
if (!newobj) { if (!newobj) {
newobj = document.createElement("div"); newobj = document.createElement("div");
newobj.id = "fullpagediv"; newobj.id = "fullpagediv";
newobj.style.position = "absolute";
newobj.style.position = "fixed";
newobj.className = "fullpagediv"; newobj.className = "fullpagediv";
newobj.style.height = document.body.clientHeight + "px"; newobj.style.height = document.body.clientHeight + "px";
document.body.appendChild(newobj); document.body.appendChild(newobj);


正在加载...
取消
保存