Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
pingan-maruko
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
5b0d9df7
authored
Jul 07, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
3b3c10ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
+12
-1
Public/static/css/index.css
+5
-0
Public/static/image2/7-btn.png
+0
-0
Public/static/js/common.js
+7
-1
No files found.
Public/static/css/index.css
View file @
5b0d9df7
...
...
@@ -21,6 +21,7 @@ body {
.page7
.posterimg
{
position
:
fixed
;
z-index
:
2
;
opacity
:
0
;
}
.page7
.btn-retry
{
...
...
@@ -121,6 +122,10 @@ body {
top
:
-100%
;
}
canvas
{
display
:
none
;
}
.leaves-1
{
background
:
url('../image2/leaves-1.png')
left
top
no-repeat
;
width
:
71px
;
...
...
Public/static/image2/7-btn.png
0 → 100644
View file @
5b0d9df7
10.4 KB
Public/static/js/common.js
View file @
5b0d9df7
...
...
@@ -229,7 +229,8 @@ function retry() {
updateWorld
()
showItemStatus
=
false
nowShowIndex
=
1
$
(
'.title,.toast1,.toast2'
).
hide
()
$
(
'.title,.toast1,.toast2'
).
hide
();
$
(
'.poster-canvas'
).
html
(
''
)
}
function
createPoster
(
resultFlag
)
{
...
...
@@ -252,10 +253,15 @@ function createPoster(resultFlag) {
drawNum
(
resultFlag
);
},
100
);
setTimeout
(
function
()
{
$
(
'.guard'
).
css
({
background
:
`url("/Public/static/image2/result-
${
resultFlag
}
.png") left top no-repeat`
,
backgroundSize
:
'100% 100%'
})
$
(
'.poster-canvas'
).
append
(
'<img class="posterimg" />'
);
$
(
'.posterimg'
).
attr
(
'src'
,
getManBase64
(
posterCanvas
));
$
(
'.page'
).
hide
();
$
(
'.page7'
).
show
();
`1 `
$
(
'#notification_area'
).
remove
();
my_notify
(
'请长按页面保存海报'
);
$
(
'#posterCanvas'
).
css
({
...
...
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