优化几处问题
parent
af71edb127
commit
59756451f1
|
|
@ -55,6 +55,7 @@
|
||||||
left: 220px;
|
left: 220px;
|
||||||
width: calc(100% - 220px);
|
width: calc(100% - 220px);
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
border-bottom: 1px solid whitesmoke;
|
||||||
}
|
}
|
||||||
.pear-admin .layui-header .layui-nav-img{
|
.pear-admin .layui-header .layui-nav-img{
|
||||||
width: 30px;
|
width: 30px;
|
||||||
|
|
@ -196,6 +197,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
margin-top: -60px;
|
||||||
}
|
}
|
||||||
.pear-mini .pear-cover{
|
.pear-mini .pear-cover{
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
z-index: 9999999;
|
z-index: 9999999;
|
||||||
margin-top: -60px;
|
margin-top: -61px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loader {
|
.loader {
|
||||||
|
|
|
||||||
|
|
@ -54,9 +54,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearAuth', 'pearTab', 'pear
|
||||||
parseData: false, //请求后是否进行数据解析 函数
|
parseData: false, //请求后是否进行数据解析 函数
|
||||||
change: option.change
|
change: option.change
|
||||||
})
|
})
|
||||||
|
|
||||||
sideMenu.selectItem(option.select);
|
sideMenu.selectItem(option.select);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.noticeRender = function(option) {
|
this.noticeRender = function(option) {
|
||||||
|
|
@ -83,7 +81,6 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearAuth', 'pearTab', 'pear
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pearNotice.render(option);
|
pearNotice.render(option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -120,13 +117,14 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearAuth', 'pearTab', 'pear
|
||||||
|
|
||||||
$("body").on("click", ".refresh", function() {
|
$("body").on("click", ".refresh", function() {
|
||||||
|
|
||||||
|
$(".refresh").addClass("layui-anim");
|
||||||
|
$(".refresh").addClass("layui-anim-rotate");
|
||||||
|
$(".refresh").addClass("layui-anim-loop");
|
||||||
bodyTab.refresh(500);
|
bodyTab.refresh(500);
|
||||||
})
|
})
|
||||||
|
|
||||||
sideMenu.click(function(dom, data) {
|
sideMenu.click(function(dom, data) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bodyTab.addTabOnly({
|
bodyTab.addTabOnly({
|
||||||
id: data.menuId,
|
id: data.menuId,
|
||||||
title: data.menuTitle,
|
title: data.menuTitle,
|
||||||
|
|
@ -150,7 +148,19 @@ layui.define(['table', 'jquery', 'element', 'form', 'pearAuth', 'pearTab', 'pear
|
||||||
});
|
});
|
||||||
|
|
||||||
$("body").on("click", ".refresh", function() {
|
$("body").on("click", ".refresh", function() {
|
||||||
bodyFrame.refresh(500);
|
$(".refresh a").removeClass("layui-icon-refresh-1");
|
||||||
|
$(".refresh a").addClass("layui-anim");
|
||||||
|
$(".refresh a").addClass("layui-anim-rotate");
|
||||||
|
$(".refresh a").addClass("layui-anim-loop");
|
||||||
|
$(".refresh a").addClass("layui-icon-loading");
|
||||||
|
bodyFrame.refresh(600);
|
||||||
|
setTimeout(function(){
|
||||||
|
$(".refresh a").addClass("layui-icon-refresh-1");
|
||||||
|
$(".refresh a").removeClass("layui-anim");
|
||||||
|
$(".refresh a").removeClass("layui-anim-rotate");
|
||||||
|
$(".refresh a").removeClass("layui-anim-loop");
|
||||||
|
$(".refresh a").removeClass("layui-icon-loading");
|
||||||
|
},600)
|
||||||
})
|
})
|
||||||
|
|
||||||
sideMenu.click(function(dom, data) {
|
sideMenu.click(function(dom, data) {
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@
|
||||||
|
|
||||||
var config = {
|
var config = {
|
||||||
keepLoad: 2000, // 主 页 加 载 过 度 时 长 可为 false
|
keepLoad: 2000, // 主 页 加 载 过 度 时 长 可为 false
|
||||||
muiltTab: false, // 是 否 开 启 多 标 签 页 true 开启 false 关闭
|
muiltTab: true, // 是 否 开 启 多 标 签 页 true 开启 false 关闭
|
||||||
control: false, // 是 否 开 启 多 系 统 菜 单 true 开启 false 关闭
|
control: false, // 是 否 开 启 多 系 统 菜 单 true 开启 false 关闭
|
||||||
theme: "dark-theme", // 默 认 主 题 样 式 dark-theme 默认主题 light-theme 亮主题
|
theme: "dark-theme", // 默 认 主 题 样 式 dark-theme 默认主题 light-theme 亮主题
|
||||||
index: 'view/console/console1.html', // 默 认 加 载 主 页
|
index: 'view/console/console1.html', // 默 认 加 载 主 页
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue