Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
East_L226
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
East_L226
Commits
0add544a
Commit
0add544a
authored
Aug 20, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
95662032
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
ng-template-generator_20200726 20-40-12.zip
publish/ng-template-generator_20200726 20-40-12.zip
+0
-0
play.component.ts
src/app/play/play.component.ts
+5
-4
No files found.
publish/ng-template-generator_202007
15 14-13-31
.zip
→
publish/ng-template-generator_202007
26 20-40-12
.zip
View file @
0add544a
No preview for this file type
src/app/play/play.component.ts
View file @
0add544a
...
...
@@ -839,6 +839,7 @@ export class PlayComponent implements OnInit, OnDestroy {
element
.
textContainer
=
null
;
element
.
resetContent
=
(
contentData
)
=>
{
element
.
isOpen
=
false
;
element
.
audio_url
=
contentData
.
audio_url
if
(
contentData
.
type
==
"
Image
"
){
if
(
element
.
content
){
element
.
ref
.
removeChild
(
element
.
content
)
...
...
@@ -923,8 +924,8 @@ export class PlayComponent implements OnInit, OnDestroy {
if
(
element
.
isOpen
){
this
.
g_cartoon
.
stopAllAudio
();
this
.
g_cartoon
.
playAudio
(
`gusheng_
${
index
+
1
}
`
,
false
,
()
=>
{
if
(
data
.
audio_url
){
this
.
g_cartoon
.
playAudio
(
data
.
audio_url
)
if
(
element
.
audio_url
){
this
.
g_cartoon
.
playAudio
(
element
.
audio_url
)
}
})
this
.
g_cartoon
.
getCartoonElement
(
"
boy
"
).
beat
(
index
,
()
=>
{
...
...
@@ -938,8 +939,8 @@ export class PlayComponent implements OnInit, OnDestroy {
}
this
.
g_cartoon
.
stopAllAudio
();
this
.
g_cartoon
.
playAudio
(
`gusheng_
${
index
+
1
}
`
,
false
,
()
=>
{
if
(
data
.
audio_url
){
this
.
g_cartoon
.
playAudio
(
data
.
audio_url
)
if
(
element
.
audio_url
){
this
.
g_cartoon
.
playAudio
(
element
.
audio_url
)
}
})
this
.
setRenderZIndex
(
element
.
ref
,
zIndexMap
.
drum
+
1
)
...
...
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