mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
优化新版皮肤显示
This commit is contained in:
@@ -23,7 +23,7 @@ class Post extends Common
|
||||
{
|
||||
//
|
||||
|
||||
$list = ModelPost::paginate();
|
||||
$list = ModelPost::order('id desc')->paginate();
|
||||
|
||||
View::assign('list', $list);
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
@media screen and (max-width: 768px){
|
||||
|
||||
}
|
||||
.layui-nav-tree .layui-nav-item a:hover{
|
||||
background-color: #6699CC;
|
||||
}
|
||||
@@ -17,6 +19,7 @@
|
||||
|
||||
.layui-layout-admin .layui-logo{
|
||||
color: #fff;
|
||||
line-height: 45px;
|
||||
}
|
||||
|
||||
.layui-layout-admin .layui-header{
|
||||
@@ -27,8 +30,17 @@
|
||||
background-color: #66CCFF;
|
||||
}
|
||||
|
||||
.layui-header{
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
.layui-nav .layui-nav-item{
|
||||
line-height: 45px;
|
||||
}
|
||||
|
||||
.layui-nav .layui-nav-item a {
|
||||
color: #FFFFFF
|
||||
color: #FFFFFF;
|
||||
|
||||
}
|
||||
|
||||
.layui-nav .layui-nav-child a {
|
||||
@@ -94,4 +106,41 @@
|
||||
float: left;
|
||||
font-weight: normal;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.layui-nav-tree .layui-nav-item a{
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
.layui-nav-tree{
|
||||
width: 140px;
|
||||
}
|
||||
.layui-layout-admin .layui-side{
|
||||
width: 140px;
|
||||
top: 45px;
|
||||
}
|
||||
.layui-layout-admin .layui-footer{
|
||||
left: 140px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
}
|
||||
.layui-layout-admin .layui-body{
|
||||
top: 45px;
|
||||
}
|
||||
|
||||
.layui-side-scroll{
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
.layui-body{
|
||||
left: 140px;
|
||||
}
|
||||
|
||||
.layui-nav .layui-nav-child dd.layui-this a, .layui-nav-child dd.layui-this{
|
||||
background-color: #66CCFF;
|
||||
}
|
||||
|
||||
.layui-nav-tree .layui-nav-bar{
|
||||
background-color: #66CCFF;
|
||||
}
|
||||
@@ -65,7 +65,6 @@
|
||||
nav.html($(e).html())
|
||||
|
||||
nav.appendTo('.mobile-nav-container')
|
||||
|
||||
})
|
||||
|
||||
$('.left-bottom-options').click(function(){
|
||||
@@ -74,7 +73,7 @@
|
||||
content:$('.layui-side'),
|
||||
anim:3,
|
||||
offset:'l',
|
||||
area:['60%','100%'],
|
||||
area:['140px','100%'],
|
||||
shadeClose:true,
|
||||
title:false,
|
||||
closeBtn:false,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<link rel="stylesheet" href="/static/css/reset.css">
|
||||
<link rel="stylesheet" href="/static/css/pagination.css">
|
||||
<link rel="stylesheet" href="/static/lib/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/static/css/{$Request.cookie.skin_name|default='skin-0'}.css">
|
||||
<link rel="stylesheet" href="/static/css/{$Request.cookie.skin_name|default='skin-1'}.css">
|
||||
<link rel="stylesheet" href="/static/css/common.css">
|
||||
<script src="/static/lib/jquery/jquery-3.4.1.min.js"></script>
|
||||
<script src="/static/lib/jquery/jquery.cookie.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user