Files
OMS/app/taoguanallocate/view/admin/print.html
2025-12-28 23:13:25 +08:00

55 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<style type="text/css" media="print">
.noprint{ display : none }
</style>
<style>
.float_left{ float:left; text-align:center; width:80%; font-weight:bold;}
.float_right{ float:right; text-align:center; width:20%;}
.d_th{ background:#ededed; color:#4e5318; }
.d_td{ font-weight:bold; width:120px;}
.d_table{ margin:20px 10px; color:#4e5318;}
.d_table table{ border-collapse:collapse;}
.d_table td{ border:1px solid #ccc; border-collapse:collapse; height:26px; line-height:26px; text-align:center;}
.d_table th{ border:1px solid #ccc; border-collapse:collapse; height:26px; line-height:26px; text-align:center; color:#4e5318; }
#print_confirm { width:100%; height:30px; border-top:1px solid #999999; padding-top:4px; background-color:#5473ae; position:absolute; }
#btn_print { width:71px; height:24px; background-image:url(images/btn_print.gif); cursor:pointer; margin-left:auto; margin-right:auto;}
</style>
<link rel="stylesheet" href="<{$desktop_path}>/print.css" type="text/css" media="print"/>
<input type="hidden" name='printname' id='printname' value="<{$vid}>" />
<script type="text/javascript">
window.addEvents({
"domready":function() {
$("print_confirm").setStyle("top",window.getHeight() - 35);
$("btn_print").addEvent("click",function(){window.print();});
},
"scroll":function() {
$("print_confirm").setStyle("top",window.getSize().y+window.getScrollTop() - 35);
},
"resize":function() {
$("print_confirm").setStyle("top",window.getSize().y+window.getScrollTop() - 35);
}
});
</script>
<div id="print1">
</div>
<div id="print_confirm" class="noprint" style="text-align:center;">
<span id="btn_print">
<{button type="button" id="b1" label="打 印" class="btn-secondary"}>
</span>
</div>
</body>
</html>