Commit 4e152a9e by 肖康

阿斯达所

parent bfc686ee
Showing with 5 additions and 4 deletions
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<style> <style>
body{background:#fff;margin:0px;} body{background:#fff;margin:0px;}
.print{padding-top:20px;padding-left:15px;} .print{padding-top:20px;padding-left:15px;background:#fff;}
.layui-btn{ .layui-btn{
display: inline-block; display: inline-block;
height: 38px; height: 38px;
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<div class="print"> <div class="print">
{!! $item !!} {!! $item !!}
</div> </div>
</div>
@endforeach @endforeach
<script src="../../../../js/jquery-2.2.1.js"></script> <script src="../../../../js/jquery-2.2.1.js"></script>
<script type="text/javascript"> <script type="text/javascript">
...@@ -37,9 +38,9 @@ ...@@ -37,9 +38,9 @@
$(this).html("<img src='"+urlo_.substring(1,urlo_.length-1)+"' />"); $(this).html("<img src='"+urlo_.substring(1,urlo_.length-1)+"' />");
$(this).find("img").css({width:"100%",height:"100%"}) $(this).find("img").css({width:"100%",height:"100%"})
}) })
setTimeout(function(){ // setTimeout(function(){
window.print(); // window.print();
}, 100); // }, 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