From 25054f0eb051fb1c02d6f617374c58d270d11bd4 Mon Sep 17 00:00:00 2001
From: Winnwezyy <75526510@qq.com>
Date: Fri, 31 May 2019 02:00:40 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20layout.html=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=8B=E6=9C=BA=E7=AB=AF=E5=AF=BC=E8=88=AA?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
application/admin/view/layout.html | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/application/admin/view/layout.html b/application/admin/view/layout.html
index 4bad0322..00242554 100644
--- a/application/admin/view/layout.html
+++ b/application/admin/view/layout.html
@@ -27,12 +27,12 @@
-->
-
+
- - 站点首页
- - 清理缓存
+
- 站点主页
+ - 清理缓存
- 一键清理缓存
- 清理数据缓存
@@ -452,9 +452,13 @@
shadeMobile = $('.site-mobile-shade')
treeMobile.on('click', function() {
$('body').addClass('site-mobile');
+ $('.Menus-winner').removeClass('topLevelMenus');//解决top导航
+ $('.Menus-winner').addClass('topLevelMenus-winner');//解决top导航
+
});
shadeMobile.on('click', function() {
$('body').removeClass('site-mobile');
+ $('.Menus-winner').addClass('topLevelMenus');//解决top导航
});
//用于维持在线
--
Gitee
From bd0ff93ee49c5fde6b89ec878976fdad00742b40 Mon Sep 17 00:00:00 2001
From: Winnwezyy <75526510@qq.com>
Date: Fri, 31 May 2019 02:02:10 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20global.css=20=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D=E5=90=8E=E5=8F=B0=E6=89=8B=E6=9C=BA=E7=AB=AF=E5=AF=BC?=
=?UTF-8?q?=E8=88=AA=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/static/admin/css/global.css | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/public/static/admin/css/global.css b/public/static/admin/css/global.css
index 5aa51007..9f53d4bc 100644
--- a/public/static/admin/css/global.css
+++ b/public/static/admin/css/global.css
@@ -80,15 +80,19 @@ iframe {position: absolute; height: 100%; width: 100%; border: none; }
.layui-layout-admin .layui-side{left: -300px; transition: all .3s; -webkit-transition: all .3s;}
.site-tree-mobile{display: block!important; position: fixed; z-index: 100000; bottom: 20px; left: 10px; width: 40px; height: 40px; line-height: 40px; border-radius: 2px; text-align: center; background-color: rgba(0,0,0,.7); color: #fff;}
.site-mobile .site-tree-mobile{display: none !important;}
- .site-mobile .layui-side{ left: 0; z-index:1100; }
+ .site-mobile .layui-side{ left: 87px; z-index:1100; }
.site-mobile .site-mobile-shade{content: ''; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0,0,0,.9); z-index: 999;}
.layui-body,.layui-layout-admin .layui-footer{ left:-2px; }
}
@media screen and (max-width: 720px){
- .hideMenu {display: none !important; }
+ .hideMenu {display: none !important; }
.mobileTopLevelMenus{ padding:0;}
+ .winner-hide {display: none !important; }
}
@media screen and (max-width:480px){
.logo{ width:120px;padding: 0 5px;font-size: 14px;}
}
+.topLevelMenus-winner {float: left;z-index:1100;position: absolute;left: -20px;top: 60px;width: 150px;}
+.topLevelMenus-winner .layui-nav-item {background-color: #23262e; }
+.topLevelMenus-winner .layui-nav-item.layui-this {background-color: rgba(0,0,0,0.5); }
\ No newline at end of file
--
Gitee