Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_diamond
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
ww_diamond
Commits
545dfd90
Commit
545dfd90
authored
Aug 10, 2020
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12
parent
32424548
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
1 deletion
+67
-1
play.component.ts
src/app/play/play.component.ts
+67
-1
No files found.
src/app/play/play.component.ts
View file @
545dfd90
...
@@ -448,6 +448,70 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -448,6 +448,70 @@ export class PlayComponent implements OnInit, OnDestroy {
ngOnInit
()
{
ngOnInit
()
{
this
.
data
=
{
this
.
data
=
{
contentObj
:
{
contentObj
:
{
wordnum
:
[{
words
:
[{
value
:
'
a
'
,
selected
:
false
},
{
value
:
'
p
'
,
selected
:
true
},
{
value
:
'
p
'
,
selected
:
false
},
{
value
:
'
l
'
,
selected
:
false
},
{
value
:
'
e
'
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
},
{
value
:
''
,
selected
:
false
}],
spelling_audio
:
''
,
pic_id
:
''
}],
selectedArr
:
[{
value
:
'
p
'
,
audio
:
''
,
index
:
1
}],
audio_word
:
null
,
options
:
[{
value
:
'
b
'
,
audio
:
''
},
{
value
:
'
q
'
,
audio
:
''
}],
pic_res_id
:
'
http://staging-teach.cdn.ireadabc.com/3362dd9e86df013ef4ac62739e5bdfee.jpg
'
}
}
};
};
...
@@ -462,7 +526,9 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -462,7 +526,9 @@ export class PlayComponent implements OnInit, OnDestroy {
this
.
initAudio
();
this
.
initAudio
();
this
.
initImg
();
this
.
initImg
();
this
.
initListener
();
this
.
initListener
();
window
[
"
air
"
].
hideAirClassLoading
(
this
.
saveKey
,
this
.
data
);
if
(
window
[
"
air
"
])
{
window
[
"
air
"
].
hideAirClassLoading
(
this
.
saveKey
,
this
.
data
);
}
},
this
.
saveKey
);
},
this
.
saveKey
);
...
...
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