返回首页操作优化

master
lixin 5 years ago
parent 431c5495ba
commit 12bed80a64

@ -164,7 +164,7 @@
</div> </div>
</li> </li>
<li> <li>
<div class="aClass" onclick="menuClick(this,'notice')"> <div class="aClass notice-menu" onclick="menuClick(this,'notice')">
<i class="fa fa-file"></i> <i class="fa fa-file"></i>
<span>通知信息</span> <span>通知信息</span>
</div> </div>

@ -42,6 +42,13 @@
margin-top: -6px; margin-top: -6px;
} }
.home-menu:hover .dropdown-menu {display: block;} .home-menu:hover .dropdown-menu {display: block;}
.sidebar-mini:not(.sidebar-collapse) #indexTreeMenu:hover{
overflow-y: auto;
overflow-x: hidden;
}
.sidebar-mini:not(.sidebar-collapse) #indexTreeMenu::-webkit-scrollbar{
display: none;
}
</style> </style>
<body class="hold-transition skin-blue sidebar-mini" scroll="no"> <body class="hold-transition skin-blue sidebar-mini" scroll="no">
<input type="hidden" id="userId" value="${CURRENT_USER.userId}"> <input type="hidden" id="userId" value="${CURRENT_USER.userId}">
@ -289,6 +296,8 @@
var footerHeight = ($(".main-footer").height() || 0) + 31; var footerHeight = ($(".main-footer").height() || 0) + 31;
var windowHeight = $(window).height(); var windowHeight = $(window).height();
$("#iFrame1").css("height", windowHeight - headerHeight - footerHeight - 36); $("#iFrame1").css("height", windowHeight - headerHeight - footerHeight - 36);
console.log(windowHeight,headerHeight)
$("#indexTreeMenu").css("height",windowHeight - headerHeight - 10);
}) })
</script> </script>
</body> </body>

@ -12,7 +12,7 @@ $(function(){
}) })
var flag = $("#flag").val(); var flag = $("#flag").val();
if(flag != ''){ if(flag != ''){
noticeManage(); menuClick($(".notice-menu").get(0),'notice');
} }
}) })
function menuClick(el,type){ function menuClick(el,type){

Loading…
Cancel
Save