var body = document.getElementsByTagName('body'); body[0].setAttribute('style','background-color:wheat;'); body[0].style.display = 'none'; 复制代码
var body = document.getElementsByTagName('body'); body[0].setAttribute('style','background-color:wheat;'); body[0].style.display = 'none';