更新样式

This commit is contained in:
shuzheng 2017-02-12 14:36:35 +08:00
parent 49d97a32b4
commit 41f5e96c27
3 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,7 @@ a, a:hover, a:active, a:focus {text-decoration: none; -webkit-user-drag: none;}
/* 头部左侧logo */ /* 头部左侧logo */
#logo a {margin-left: 10px!important;} #logo a {margin-left: 10px!important;}
#logo a img{vertical-align: top;} #logo a img{vertical-align: top;}
#system_name{color: #fff; height:33px; line-height: 33px; font-size: 16px;} #system_title{color: #fff; height:33px; line-height: 33px; font-size: 16px;}
/* 头部右侧工具按钮 */ /* 头部右侧工具按钮 */
.pull-right {float: right!important;} .pull-right {float: right!important;}

View File

@ -28,7 +28,7 @@
<a href="index.html"> <a href="index.html">
<img src="images/logo.png"/> <img src="images/logo.png"/>
</a> </a>
<span id="system_name">权限管理系统</span> <span id="system_title">权限管理系统</span>
</li> </li>
<li class="pull-right"> <li class="pull-right">
<ul class="hi-menu"> <ul class="hi-menu">

View File

@ -31,8 +31,10 @@ $(function() {
// 切换系统 // 切换系统
$('.switch-systems').click(function () { $('.switch-systems').click(function () {
var systemid = $(this).attr('systemid'); var systemid = $(this).attr('systemid');
var systemtitle = $(this).attr('systemtitle');
$('.system_menus').hide(0, function () { $('.system_menus').hide(0, function () {
$('.system_' + systemid).show(); $('.system_' + systemid).show();
$('#system_title').text(systemtitle);
}); });
}); });
}); });