Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DF-L220
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
DF-L220
Commits
c67b41db
Commit
c67b41db
authored
Mar 17, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善
parent
26dbbb18
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
13 deletions
+11
-13
play.component.ts
src/app/play/play.component.ts
+11
-13
play.png
src/assets/play/play.png
+0
-0
playing.png
src/assets/play/playing.png
+0
-0
playing_1.png
src/assets/play/playing_1.png
+0
-0
No files found.
src/app/play/play.component.ts
View file @
c67b41db
...
...
@@ -1350,16 +1350,11 @@ export class PlayComponent implements OnInit, OnDestroy {
answer_val
.
refreshSize
();
if
(
changed
){
answer_val
.
x
=
-
Math
.
floor
((
answer_val
.
width
+
20
)
*
this
.
mapScale
)
/
2
;
}
else
{
answer_val
.
x
=
-
Math
.
floor
(
answer_val
.
width
*
this
.
mapScale
)
/
2
;
}
answer_val
.
x
=
-
Math
.
floor
(
answer_val
.
width
*
this
.
mapScale
/
2
);
console
.
log
(
'
answer_val
'
,
answer_val
.
x
);
answer_val
.
y
=
-
3
5
*
this
.
mapScale
;
answer_val
.
y
=
-
3
2
*
this
.
mapScale
;
answerPic
.
addChild
(
answer_val
);
}
...
...
@@ -1446,15 +1441,17 @@ export class PlayComponent implements OnInit, OnDestroy {
//如果未全部结束,则初始化下一个练习题
if
(
!
end
){
this
.
showPrompt
();
setTimeout
(()
=>
{
tweenChange
(
cover
,
{
alpha
:
0
},
6
,
()
=>
{
this
.
initPracticePic
();
});
},
5000
);
},
6000
);
setTimeout
(()
=>
{
this
.
showPrompt
();
},
4000
);
}
}
...
...
@@ -1471,12 +1468,13 @@ export class PlayComponent implements OnInit, OnDestroy {
this
.
endPageArr
.
push
(
prompt
);
let
prompt_val
=
new
Label
();
prompt_val
.
text
=
this
.
nextPracticeIndex
+
"
|
"
+
this
.
data
.
practices
.
length
;
prompt_val
.
text
=
(
this
.
nextPracticeIndex
+
1
)
+
"
/
"
+
this
.
data
.
practices
.
length
;
prompt_val
.
textAlign
=
'
middle
'
;
prompt_val
.
fontSize
=
5
0
;
prompt_val
.
fontName
=
"
ARIALBD
"
;
prompt_val
.
fontSize
=
10
0
;
prompt_val
.
fontName
=
"
BRLNSDB
"
;
prompt_val
.
fontColor
=
"
#FFFFFF
"
;
prompt_val
.
refreshSize
();
prompt_val
.
x
=
-
prompt_val
.
width
/
2
;
prompt_val
.
y
=
0
;
prompt
.
addChild
(
prompt_val
);
...
...
src/assets/play/play.png
View replaced file @
26dbbb18
View file @
c67b41db
21.5 KB
|
W:
|
H:
22.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/play/playing.png
View replaced file @
26dbbb18
View file @
c67b41db
21.9 KB
|
W:
|
H:
21.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/play/playing_1.png
View replaced file @
26dbbb18
View file @
c67b41db
22.2 KB
|
W:
|
H:
21.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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