//设置高度
window.onload = function() {
var iframe = document.getElementById("iframe");
iframe.style.width = window.innerWidth + 'px';
iframe.style.height = window.innerHeight + 'px';
};
//设置高度
window.onload = function() {
var iframe = document.getElementById("iframe");
iframe.style.width = window.innerWidth + 'px';
iframe.style.height = window.innerHeight + 'px';
};