This commit is contained in:
贤心
2022-06-20 20:21:40 +08:00
parent ff70a461fb
commit e13e7a61ac
4 changed files with 20 additions and 21 deletions

View File

@@ -419,5 +419,4 @@
});
}
}(window, window.document);
}(window, window.document);

View File

@@ -1409,12 +1409,12 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
}
break;
case 'LAYTABLE_PRINT': //打印
var printWin = window.open('打印窗口', '_blank')
var printWin = window.open('about:blank', '_blank')
,style = ['<style>'
,'body{font-size: 12px; color: #666;}'
,'body{font-size: 12px; color: #5F5F5F;}'
,'table{width: 100%; border-collapse: collapse; border-spacing: 0;}'
,'th,td{line-height: 20px; padding: 9px 15px; border: 1px solid #ccc; text-align: left; font-size: 12px; color: #666;}'
,'a{color: #666; text-decoration:none;}'
,'th,td{line-height: 20px; padding: 9px 15px; border: 1px solid #ccc; text-align: left; font-size: 12px; color: #5F5F5F;}'
,'a{color: #5F5F5F; text-decoration:none;}'
,'*.layui-hide{display: none}'
,'</style>'].join('')
,html = $(that.layHeader.html()); //输出表头