Commit 4e152a9e by 肖康

阿斯达所

parent bfc686ee
Showing with 5 additions and 4 deletions
......@@ -3,7 +3,7 @@
<style>
body{background:#fff;margin:0px;}
.print{padding-top:20px;padding-left:15px;}
.print{padding-top:20px;padding-left:15px;background:#fff;}
.layui-btn{
display: inline-block;
height: 38px;
......@@ -23,6 +23,7 @@
<div class="print">
{!! $item !!}
</div>
</div>
@endforeach
<script src="../../../../js/jquery-2.2.1.js"></script>
<script type="text/javascript">
......@@ -37,9 +38,9 @@
$(this).html("<img src='"+urlo_.substring(1,urlo_.length-1)+"' />");
$(this).find("img").css({width:"100%",height:"100%"})
})
setTimeout(function(){
window.print();
}, 100);
// setTimeout(function(){
// window.print();
// }, 100);
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment