Merge branch 'dev_css' of https://github.com/1099438829/macUI into dev_css

# Conflicts:
#	css/index.min.css
This commit is contained in:
muzi_ys 2022-12-06 11:45:23 +08:00
commit 405fdcb3f8
4 changed files with 31 additions and 28 deletions

View File

@ -730,6 +730,7 @@ body .mac-btn_refresh {
.mac-open-iframe .layui-layer-ico {
background: url(../img/frame/assets.png) no-repeat;
background-size: 144px;
}
.mac-open-iframe .layui-layer-setwin {
@ -751,8 +752,8 @@ body .mac-btn_refresh {
}
.mac-open-iframe .layui-layer-setwin a {
width: 20px;
height: 20px;
width: 1rem;
height: 1rem;
font-size: 13px;
overflow: hidden;
margin-left: 10px;
@ -786,65 +787,65 @@ body .mac-btn_refresh {
.mac-open-iframe .layui-layer-min cite{display:none}
body .mac-open-iframe .layui-layer-setwin .layui-layer-min {
background: url(../img/frame/assets.png) no-repeat;
background-position: -3px -33px;
background: url(../img/frame/assets.png) no-repeat -3px -26px;
background-size: 144px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin .layui-layer-min:hover {
background: url(../img/frame/assets.png) no-repeat;
background-position: -3px -62px;
background: url(../img/frame/assets.png) no-repeat -3px -49px;
background-size: 144px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin a.layui-layer-close {
background-position: -46px -33px;
background-position: -37px -26px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin a.layui-layer-close:hover {
background-position: -46px -62px;
background-position: -37px -49px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin .layui-layer-max {
background-position: -24px -33px;
background-position: -20px -26px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin .layui-layer-max:hover {
background-position: -24px -62px;
background-position: -20px -49px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin .layui-layer-maxmin {
background-position: -69px -33px;
background-position: -55px -15px;
cursor: pointer;
}
body .mac-open-iframe.layui-layer-setwin .layui-layer-maxmin:hover {
background-position: -69px -62px;
background-position: -55px -49px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin .layui-layer-refresh {
background-position: -104px -32px;
background-position: -83px -25px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin .layui-layer-refresh:hover {
background-position: -104px -61px;
background-position: -83px -49px;
cursor: pointer;
}
body .mac-open-iframe .layui-layer-setwin .layui-layer-change-url {
background-position: -69px -32px;
background-position: -55px -25px;
cursor: pointer;
}
body .mac-open-iframe.layui-layer-setwin .layui-layer-change-url:hover {
background-position: -104px -61px;
background-position: -83px -49px;
cursor: pointer;
}

2
css/index.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -1169,13 +1169,15 @@ window.Macui = {
let layero_opened = Macui.getLayeroByIndex(index);
layero_opened.css('z-index', Macui._countTask + 813);
Macui._settop(layero_opened);
//重新定义菜单布局
layero_opened.find('.layui-layer-setwin').prepend('<a class="layui-layer-ico layui-layer-refresh" index="' + index +
'" href="#"></a>');
//菜单排列倒序
layero_opened.find(".layui-layer-setwin>a").each(function () {
if ($(this).hasClass('layui-layer-close')){
$(this).prependTo(layero_opened.find(".layui-layer-setwin"));
}
})
//重新定义菜单布局
layero_opened.find('.layui-layer-setwin').append('<a class="layui-layer-ico layui-layer-refresh" index="' + index +
'" href="#"></a>');
layero_opened.find('.layui-layer-setwin .layui-layer-max').click(function () {
setTimeout(function () {
let height = layero_opened.css('height');

2
js/index.min.js vendored

File diff suppressed because one or more lines are too long