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-setwin {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
font-size: 0;
|
||||
line-height: 40px;
|
||||
height: 40px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.win10-open-iframe .layui-layer-setwin a {
|
||||
position: relative;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
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{
|
||||
font-size: 15px;
|
||||
|
|
|
|||
|
|
@ -800,6 +800,10 @@ window.Win10 = {
|
|||
Win10._settop(layero_opened);
|
||||
//重新定义菜单布局
|
||||
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 () {
|
||||
setTimeout(function () {
|
||||
var height=layero_opened.css('height');
|
||||
|
|
|
|||
Loading…
Reference in New Issue