后台管理那个demo,小视口刷新页面后放大,放大的部分空白
cboy868 opened this issue · comments
CraneHe commented
页面加上一段js就ok
$(window).resize(function(){
var height = BUI.viewportHeight(),
subHeight = 76;
var contentHeight = height - subHeight;
$(".dl-second-nav").height(contentHeight);
$("#J_menuTree>ul").height(contentHeight);
$("#J_menuTab>div").height(contentHeight);
$(".tab-content-container").height(contentHeight-20);
});