From 8bca8ab829abfd4553927db465aadfcc24b6c0ef Mon Sep 17 00:00:00 2001 From: muzi <1099438829@qq.com> Date: Sat, 5 Jan 2019 20:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E7=AA=97=E5=8F=A3=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/macdefault.css | 14 +++++++++----- js/mac.js | 4 ++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/css/macdefault.css b/css/macdefault.css index 120514f..3fe47df 100644 --- a/css/macdefault.css +++ b/css/macdefault.css @@ -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; diff --git a/js/mac.js b/js/mac.js index 5722e7d..c048a40 100644 --- a/js/mac.js +++ b/js/mac.js @@ -800,6 +800,10 @@ window.Win10 = { Win10._settop(layero_opened); //重新定义菜单布局 layero_opened.find('.layui-layer-setwin').prepend(''); + //菜单排列倒序 + $(".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');