Commit 962c3592 authored by agping's avatar agping

后台样式优化

parent 36c1c999
...@@ -2,7 +2,7 @@ body { ...@@ -2,7 +2,7 @@ body {
/*width: 1335px !important;*/ /*width: 1335px !important;*/
/*min-width: 1335px !important;*/ /*min-width: 1335px !important;*/
width: 1200px !important; width: 1200px !important;
min-width: 1200px !important; min-width:1200px !important;
margin: 0; margin: 0;
margin: 0 auto; margin: 0 auto;
background-color: #F2F2F2; background-color: #F2F2F2;
...@@ -88,7 +88,7 @@ a:hover{ ...@@ -88,7 +88,7 @@ a:hover{
overflow-y: auto; overflow-y: auto;
transition: all 0.5s ease; transition: all 0.5s ease;
/*width: 220px;*/ /*width: 220px;*/
width: 12%; width: 14%;
z-index: 1000; z-index: 1000;
float: left; float: left;
} }
...@@ -102,7 +102,7 @@ a:hover{ ...@@ -102,7 +102,7 @@ a:hover{
}*/ }*/
/*新版本 样式*/ /*新版本 样式*/
#page-content-wrapper { #page-content-wrapper {
width: 88%; width: 86%;
float: left; float: left;
} }
/*隐藏按钮 样式*/ /*隐藏按钮 样式*/
...@@ -115,7 +115,7 @@ a:hover{ ...@@ -115,7 +115,7 @@ a:hover{
float: right; float: right;
} }
.width-136-hide{ .width-136-hide{
width: 12%; width: 14%;
height: 36px; height: 36px;
color: #fff; color: #fff;
line-height: 36px; line-height: 36px;
...@@ -132,6 +132,12 @@ a:hover{ ...@@ -132,6 +132,12 @@ a:hover{
height: 13px; height: 13px;
margin-left: 10px; margin-left: 10px;
} }
.glyphicon-zhanwei{
margin-left:10px;
}
.sidebar-nav li{
border-bottom: 1px solid #1a1a1a;
}
.navbar{ .navbar{
border: none; border: none;
} }
......
...@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function ...@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
$('.width-136-hide').html('显示'); $('.width-136-hide').html('显示');
_this.html('显示'); _this.html('显示');
console.log(2); console.log(2);
$("#page-content-wrapper").css("width","100%"); // $("#page-content-wrapper").css("width","88%");
}else{ }else{
$('#sidebar-wrapper').show(); $('#sidebar-wrapper').show();
_this.html('隐藏'); _this.html('隐藏');
$("#page-content-wrapper").css("width","88%"); // $("#page-content-wrapper").css("width","88%");
} }
}); });
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<!--<img src="/resource/image/icon_more@2x.png" id="icon_more_menu"/>--> <!--<img src="/resource/image/icon_more@2x.png" id="icon_more_menu"/>-->
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu">
[% for(var item_menu in it[item]["_child"]){ %] [% for(var item_menu in it[item]["_child"]){ %]
<li><a href="javascript:;" target="_blank" class="menu-sub-alink" data-href="/[%= it[item]['_child'][item_menu]['name'] %]"><span class="glyphicon glyphicon-dashboard" aria-hidden="true"></span> <span class="span-list">[%= it[item]["_child"][item_menu]['title'] %]</span></a></li> <li><a href="javascript:;" target="_blank" class="menu-sub-alink" data-href="/[%= it[item]['_child'][item_menu]['name'] %]"><span class="glyphicon-zhanwei"></span> <span class="span-list">[%= it[item]["_child"][item_menu]['title'] %]</span></a></li>
[% } %] [% } %]
</ul> </ul>
[% }%] [% }%]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment