first commit
This commit is contained in:
42
WebRoot/jsp/base/print.html
Normal file
42
WebRoot/jsp/base/print.html
Normal file
@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>数据打印</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: white;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size: 13px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pb {
|
||||
font-size: 13px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.pb th {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border: 1px solid #333333;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.pb td {
|
||||
border: 1px solid #333333;
|
||||
padding: 2px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
var win=document.write(window.dialogArguments);
|
||||
win.document.close();
|
||||
window.print();
|
||||
//window.close();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user