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
56383fe6
authored
Feb 21, 2023
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
打印机调整
parent
274117c3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
24 deletions
.env
public/.htaccess
public/nginx.htaccess
resources/views/web/print/prints.blade.php
resources/views/web/prints.blade.php
storage/offline_print/1000.txt
.env
View file @
56383fe6
APP_ENV=production
APP_DEBUG=
tru
e
APP_DEBUG=
fals
e
DING_ALERT=true
APP_KEY=fasyzIUunp4HcLBudUmkMnDc5H4Z4rNW
...
...
public/.htaccess
View file @
56383fe6
<
IfModule
mod_rewrite.c
>
<
IfModule
mod_negotiation.c
>
Options
-MultiViews
</
IfModule
>
RewriteEngine
On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteRule
^ index.php [L]
</
IfModule
>
<
IfModule
deflate_module
>
# 对js,html,xml,css,普通文本开启Gzip压缩
AddOutputFilterByType
DEFLATE application/x-javascript text/html text/plain text/xml text/css
</
IfModule
>
public/nginx.htaccess
0 → 100644
View file @
56383fe6
File mode changed
resources/views/web/print/prints.blade.php
View file @
56383fe6
...
...
@@ -3,7 +3,7 @@
<style>
body
{
background
:
#fff
;
margin
:
0px
;}
.print
{
background
:
#fff
;
padding-left
:
8px
;}
.print
{
background
:
#fff
;
padding-left
:
23px
;
page-break-after
:
always
;
height
:
280px
;
padding-top
:
1
8px
;}
.edit-con
{
box-sizing
:
border-box
;
top
:
6px
;}
.layui-btn
{
...
...
@@ -29,6 +29,7 @@
@endforeach
<script
src=
"../../../../js/jquery-2.2.1.js"
></script>
<script
type=
"text/javascript"
>
return
$
(
function
(){
$
(
".print"
).
width
(
$
(
".edit-con"
).
width
());
if
(
$
(
".edit-con"
).
height
()
==
280
){
...
...
resources/views/web/prints.blade.php
View file @
56383fe6
...
...
@@ -3,7 +3,7 @@
<style>
body
{
background
:
#fff
;
margin
:
0px
;}
.print
{
background
:
#fff
;
padding-left
:
8px
;}
.print
{
background
:
#fff
;
padding-left
:
8px
;
height
:
280px
;
page-break-after
:
always
;
}
.edit-con
{
box-sizing
:
border-box
;
top
:
6px
;}
.layui-btn
{
...
...
@@ -29,6 +29,7 @@
@endforeach
<script
src=
"../../../../js/jquery-2.2.1.js"
></script>
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
".print"
).
width
(
$
(
".edit-con"
).
width
());
if
(
$
(
".edit-con"
).
height
()
==
280
){
...
...
storage/offline_print/1000.txt
View file @
56383fe6
This diff could not be displayed because it is too large.
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