Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_matching_cards
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_matching_cards
Commits
0b5bd096
Commit
0b5bd096
authored
Aug 10, 2020
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
a11666eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
play.component.ts
src/app/play/play.component.ts
+14
-2
No files found.
src/app/play/play.component.ts
View file @
0b5bd096
...
@@ -44,7 +44,17 @@ export class PlayComponent extends BaseResizeComponent implements OnInit {
...
@@ -44,7 +44,17 @@ export class PlayComponent extends BaseResizeComponent implements OnInit {
}
}
ngOnInit
()
{
ngOnInit
()
{
this
.
data
=
{};
this
.
data
=
{
contentObj
:
{
cards
:
[{
pic_id
:
'
http://staging-teach.cdn.ireadabc.com/8257ac52af8d8201931d08aafe9de685.png
'
,
word
:
'
aaaaa
'
},
{
pic_id
:
'
http://staging-teach.cdn.ireadabc.com/dae252625e5fc37e992c8e1d4c8f0ad6.png
'
,
word
:
'
bbbbbb
'
}]
}
};
// 获取数据
// 获取数据
const
getData
=
(
window
as
any
).
courseware
.
getData
;
const
getData
=
(
window
as
any
).
courseware
.
getData
;
...
@@ -54,7 +64,9 @@ export class PlayComponent extends BaseResizeComponent implements OnInit {
...
@@ -54,7 +64,9 @@ export class PlayComponent extends BaseResizeComponent implements OnInit {
this
.
data
=
data
;
this
.
data
=
data
;
}
}
this
.
dataChange
();
this
.
dataChange
();
window
[
"
air
"
].
hideAirClassLoading
(
this
.
saveKey
,
this
.
data
);
if
(
window
[
'
air
'
])
{
window
[
'
air
'
].
hideAirClassLoading
(
this
.
saveKey
,
this
.
data
);
}
},
this
.
saveKey
);
},
this
.
saveKey
);
}
}
dataChange
()
{
dataChange
()
{
...
...
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