//获取当前可视区域的高度
var hrt = document.documentElement.clientHeight;
window.onload = function() {
//在页面整体加载完毕时
document.getElementById('app').style.height = hrt + 'px'
}
//获取当前可视区域的高度
var hrt = document.documentElement.clientHeight;
window.onload = function() {
//在页面整体加载完毕时
document.getElementById('app').style.height = hrt + 'px'
}