Kaynağa Gözat

更新样式

shuzheng 9 yıl önce
ebeveyn
işleme
41f5e96c27

+ 1 - 1
zheng-admin/src/css/admin.css

@@ -21,7 +21,7 @@ a, a:hover, a:active, a:focus {text-decoration: none; -webkit-user-drag: none;}
 /* 头部左侧logo */
 #logo a {margin-left: 10px!important;}
 #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;}

+ 1 - 1
zheng-admin/src/index.html

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

+ 2 - 0
zheng-admin/src/js/admin.js

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