Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_reading
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_reading
Commits
d109f286
Commit
d109f286
authored
Aug 10, 2020
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www
parent
c77a46a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
play.component.ts
src/app/play/play.component.ts
+33
-1
No files found.
src/app/play/play.component.ts
View file @
d109f286
...
...
@@ -58,7 +58,39 @@ export class PlayComponent extends BaseResizeComponent implements OnInit, AfterV
ngOnInit
()
{
this
.
data
=
{
contentObj
:
{
pic_id
:
'
http://staging-teach.cdn.ireadabc.com/5502addf299f5f34dc181f993f81e311.png
'
,
imgData
:
{
naturalWidth
:
378
,
naturalHeight
:
452
,
aspectRatio
:
0.8362831858407079
,
width
:
723
,
height
:
864.5396825396825
,
left
:
0
,
top
:
0
},
parts
:
[{
word
:
'
aaaaa
'
,
data
:
{
x
:
94.5
,
y
:
162.79781509336098
,
width
:
189.41866571576762
,
height
:
40.99860606846473
}},
{
word
:
'
22222222
'
,
data
:
{
x
:
94.0649961099585
,
y
:
193.66062629668048
,
width
:
189.41866571576762
,
height
:
40.99860606846473
}}]}};
this
.
data
=
{
contentObj
:
{
pic_id
:
'
http://staging-teach.cdn.ireadabc.com/5502addf299f5f34dc181f993f81e311.png
'
,
imgData
:
{
naturalWidth
:
378
,
naturalHeight
:
452
,
aspectRatio
:
0.8362831858407079
,
width
:
723
,
height
:
864.5396825396825
,
left
:
0
,
top
:
0
},
parts
:
[{
word
:
'
aaaaa
'
,
data
:
{
x
:
94.5
,
y
:
162.79781509336098
,
width
:
189.41866571576762
,
height
:
40.99860606846473
}
},
{
word
:
'
22222222
'
,
data
:
{
x
:
94.0649961099585
,
y
:
193.66062629668048
,
width
:
189.41866571576762
,
height
:
40.99860606846473
}
}
]
}
};
// 获取数据
const
getData
=
(
window
as
any
).
courseware
.
getData
;
...
...
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