div.style.display = "block",div.style.display == "none"

none隐藏,block和“”显示。
posted @ 2022-09-15 18:42  yinghualeihenmei  阅读(97)  评论(0)    收藏  举报