web页面的打印
window.print()
$('#dayin').click(function(){
$('#dayin').css('display','none')
$('.classroom').css('display','none')
$('.open').css('display','none')
$('.open1').css('display','none')
$('#button').css('display','none')
$('.mui-action-back').css('display','none')
$('header').css('display','none')
window.print()
$('#dayin').css('display','block')
$('.classroom').css('display','block')
$('.open').css('display','block')
$('.open1').css('display','block')
$('#button').css('display','block')
$('.mui-action-back').css('display','block')
$('header').css('display','block')
})
style = "page-break-after:always" 分页
window.print()
$('#dayin').click(function(){
$('#dayin').css('display','none')
$('.classroom').css('display','none')
$('.open').css('display','none')
$('.open1').css('display','none')
$('#button').css('display','none')
$('.mui-action-back').css('display','none')
$('header').css('display','none')
window.print()
$('#dayin').css('display','block')
$('.classroom').css('display','block')
$('.open').css('display','block')
$('.open1').css('display','block')
$('#button').css('display','block')
$('.mui-action-back').css('display','block')
$('header').css('display','block')
})
style = "page-break-after:always" 分页