Commit 7a16749a by miaojianfeng

顺义中医首页菜单二级菜单展示

parent cbd07ac0
......@@ -12,49 +12,18 @@
<div class="index-logo">
<a href=""><img height="50px" src="${ctxPath}/images/logo.jpg"/></a>
</div>
<!-- 一级菜单 -->
<div class="tabTopMenu">
<div class="tabTopMenuLi active">
<a href="javascript:;">科研中心</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">项目管理</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">成果管理</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">学术管理</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">科研人员管理</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">绩效管理</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">实验室管理</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">重点学科</a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">重点研究室 </a>
</div>
<div class="tabTopMenuLi">
<a href="javascript:;">系统管理</a>
</div>
<!--for(node in menus.children[0].children ){
<div class="tabTopMenu">
<div class="tabTopMenuLi" style="display: none">
<a href="javascript:;">首页</a>
</div>
<!--#for(node in menus.children[0].children ){ -->
<!--#if(node.data.name!="经费管理" && node.data.name!="成果转化" && node.data.name!="通知信息" && node.data.name!="综合查询"){ -->
<div class="tabTopMenuLi">
<a href="javascript:;" lay-id="{node.data.id}">{node.data.name}</a>
<a href="javascript:;" lay-id="${node.data.id}">${node.data.name}</a>
</div>
} -->
</div>
<!--#} -->
<!--#} -->
</div>
<div class="index-ex">
<ul class="layui-nav layui-layout-right">
......@@ -190,8 +159,7 @@ layui.use(['table','layer','form','element'],function(){
$('.menu-left-left').on('click','li',function(){
if($(this).attr("id")=='view'){
//window.location.href=Common.ctxPath+'/index.do';
window.location.href=Common.ctxPath+'/index.do';
}
var src = $(this).children('a').attr('lay-href');
$(this).addClass("lay-active").siblings(".lay-active").removeClass("lay-active");
......
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