From caed3f94b9c060771e4c549bf8bc8c2133fb5031 Mon Sep 17 00:00:00 2001 From: muzi_ys <1099438829@qq.com> Date: Sat, 5 Jan 2019 01:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=AD=A3=20?= =?UTF-8?q?=E6=89=93=E5=BC=80=E7=AA=97=E5=8F=A3=E8=8F=9C=E5=8D=95=E5=80=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/macdefault.css | 8 ++++---- js/mac.js | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/css/macdefault.css b/css/macdefault.css index 8113ec4..3d634bc 100644 --- a/css/macdefault.css +++ b/css/macdefault.css @@ -541,7 +541,7 @@ body { .win10-open-iframe .layui-layer-title{ box-sizing: border-box; background: rgba(250, 250, 250, 0.9); - padding-right: 160px; + padding-left: 120px; border-radius:4px 4px 0px 0px; color: #333; text-align:center; @@ -706,7 +706,7 @@ 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; height: 30px; @@ -852,7 +852,7 @@ body { .win10-open-iframe .red,#win10 .red{background:#FF5722!important;} .win10-open-iframe .dark,#win10 .dark{background:#2F4056!important;} .win10-open-iframe .purple,#win10 .purple{background:#b074e6!important;} -@media screen and (max-width:768px){ +@media screen and (max-width:767px){ #win10-menu{ width:100%; height: calc(100% - 31px); @@ -1015,7 +1015,7 @@ body { ##320px - 479px */ -@media (min-width: 320px) and (max-width: 480px) { +@media screen and (max-width: 480px) { #footer{ bottom:0px; } diff --git a/js/mac.js b/js/mac.js index 86e1633..66fae59 100644 --- a/js/mac.js +++ b/js/mac.js @@ -783,6 +783,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');