2秒后让class="page-cover"消失
<img src="http://www.zshao.vip/zb_users/upload/2022/11/202211091668003937735439.png" class="page-cover"/>
<script type="text/javascript">
setTimeout(function() {
document.querySelector('.page-cover').remove(); // 两秒后去除遮罩层
}, 2000);
</script>
网友评论