Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
ccb-lantern
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
30fea887
authored
Jan 28, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
5683769f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Public/static/js/common.js
+3
-3
No files found.
Public/static/js/common.js
View file @
30fea887
...
@@ -447,8 +447,8 @@ function calculationWrap() {
...
@@ -447,8 +447,8 @@ function calculationWrap() {
function
createPoster
()
{
function
createPoster
()
{
//海报相关参数
//海报相关参数
let
posterLeft
=
pxToRem
(
45
*
2
);
let
posterLeft
=
pxToRem
(
45
*
2
);
let
posterTop
=
pxToRem
(
0
*
2
);
let
posterTop
=
pxToRem
(
107
*
2
);
let
flagListTop
=
pxToRem
((
45
+
0
)
*
2
);
let
flagListTop
=
pxToRem
((
45
+
107
)
*
2
);
//初始化海报canvas
//初始化海报canvas
...
@@ -481,7 +481,7 @@ function createPoster() {
...
@@ -481,7 +481,7 @@ function createPoster() {
posterCanvasHeight
=
topHalfHeight
+
flagListHeight
+
bottomHalfHeight
;
posterCanvasHeight
=
topHalfHeight
+
flagListHeight
+
bottomHalfHeight
;
}
}
posterCanvasHeight
+=
90
;
posterCanvasHeight
+=
214
;
//创建海报canvas
//创建海报canvas
$
(
'#posterCanvas'
).
remove
();
$
(
'#posterCanvas'
).
remove
();
...
...
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