Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

孙龙 / note-library

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 4e152a9e authored 4 years ago by 肖康's avatar 肖康
Browse files
Options
  • _('Browse Files')
  • Download
  • Email Patches
  • Plain Diff

阿斯达所

parent bfc686ee
Hide whitespace changes
Inline Side-by-side
Showing with 5 additions and 4 deletions
  • resources/views/web/prints.blade.php
resources/views/web/prints.blade.php
View file @ 4e152a9e
...@@ -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);
}) })
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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