瀏覽代碼

优化遮罩层

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
}
.fullpagediv {
position:absolute;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
width:100vw;
height:100vh;
background:#000;
opacity:0.5;
z-index:1980


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

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


Loading…
取消
儲存