Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
note-library
This project
Loading...
Sign in
Toggle navigation
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
May 14, 2020
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
阿斯达所
parent
bfc686ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
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 @@
<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);
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment