mirror of https://github.com/1099438829/macUI.git
打开窗口优化
This commit is contained in:
parent
9b80bf57f6
commit
8bca8ab829
|
|
@ -712,21 +712,25 @@ body {
|
||||||
.win10-open-iframe .layui-layer-ico{background-image:none;}
|
.win10-open-iframe .layui-layer-ico{background-image:none;}
|
||||||
.win10-open-iframe .layui-layer-setwin {
|
.win10-open-iframe .layui-layer-setwin {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
left: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
line-height: 40px;
|
height: 30px;
|
||||||
height: 40px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
.win10-open-iframe .layui-layer-setwin a {
|
.win10-open-iframe .layui-layer-setwin a {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 40px;
|
width: 30px;
|
||||||
height: 40px;
|
height: 30px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin:0px;
|
margin:0px;
|
||||||
}
|
}
|
||||||
|
.win10-open-iframe .layui-layer-title{
|
||||||
|
line-height:30px;
|
||||||
|
height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.win10-open-iframe .layui-layer-title .icon ,#win10_btn_group_middle .btn_title .icon{
|
.win10-open-iframe .layui-layer-title .icon ,#win10_btn_group_middle .btn_title .icon{
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
|
|
||||||
|
|
@ -800,6 +800,10 @@ window.Win10 = {
|
||||||
Win10._settop(layero_opened);
|
Win10._settop(layero_opened);
|
||||||
//重新定义菜单布局
|
//重新定义菜单布局
|
||||||
layero_opened.find('.layui-layer-setwin').prepend('<a class="win10-btn-refresh" index="' + index + '" href="#"></a>');
|
layero_opened.find('.layui-layer-setwin').prepend('<a class="win10-btn-refresh" index="' + index + '" href="#"></a>');
|
||||||
|
//菜单排列倒序
|
||||||
|
$(".layui-layer-setwin>a").each(function(){
|
||||||
|
$(this).prependTo(".layui-layer-setwin");
|
||||||
|
})
|
||||||
layero_opened.find('.layui-layer-setwin .layui-layer-max').click(function () {
|
layero_opened.find('.layui-layer-setwin .layui-layer-max').click(function () {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
var height=layero_opened.css('height');
|
var height=layero_opened.css('height');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue