Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_write_02
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
cc_mz_write_02
Commits
5ef6151d
Commit
5ef6151d
authored
Nov 08, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
df33b9cf
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
437 additions
and
30 deletions
+437
-30
cc_mz_write_02.js
assets/cc_mz_write_02/scene/cc_mz_write_02.js
+182
-27
app.module.ts
form/src/app/app.module.ts
+3
-0
Unit.ts
form/src/app/common/custom-hot-zone/Unit.ts
+5
-2
custom-hot-zone.component.html
...app/common/custom-hot-zone/custom-hot-zone.component.html
+8
-0
custom-hot-zone.component.ts
...c/app/common/custom-hot-zone/custom-hot-zone.component.ts
+29
-0
mult-rect.component.html
form/src/app/common/mult-rect/mult-rect.component.html
+86
-0
mult-rect.component.scss
form/src/app/common/mult-rect/mult-rect.component.scss
+0
-0
mult-rect.component.ts
form/src/app/common/mult-rect/mult-rect.component.ts
+122
-0
form.component.ts
form/src/app/form/form.component.ts
+2
-1
No files found.
assets/cc_mz_write_02/scene/cc_mz_write_02.js
View file @
5ef6151d
...
@@ -118,6 +118,8 @@ cc.Class({
...
@@ -118,6 +118,8 @@ cc.Class({
getDefaultData
()
{
getDefaultData
()
{
return
{
"
page_id
"
:
"
13
"
,
"
book_id
"
:
"
opw1
"
,
"
part_name
"
:
"
d
"
,
"
begin_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
idle_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
finish_right_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
finish_wrong_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
error_link_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
error_write_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
bg_pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/103588a383dfef103f7d88081131a58b.png
"
,
"
bgItem
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/b11402c53d03d9b8966c1a5386c4d0b4.png
"
,
"
rect
"
:{
"
x
"
:
382.88
,
"
y
"
:
0
,
"
width
"
:
1467.24
,
"
height
"
:
841
}},
"
hotZoneItemArr
"
:[{
"
id
"
:
"
1667284178410
"
,
"
index
"
:
0
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.74453125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.74453125
,
"
skeJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/29b438b66c46206a683982c2dec2c1c6.json
"
,
"
name
"
:
"
draw_circle_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/2e0851230cec969f8a805563c9cbb177.json
"
,
"
name
"
:
"
draw_circle_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/9531e99ab1f656893c74ee5868632f6a.png
"
,
"
name
"
:
"
draw_circle_tex.png
"
},
"
dragDot
"
:{
"
x
"
:
1116.5
,
"
y
"
:
420.5
},
"
gIdx
"
:
"
2
"
,
"
posX
"
:
652.5
,
"
posY
"
:
380.5
,
"
rect
"
:{
"
x
"
:
169.62
,
"
y
"
:
302
,
"
width
"
:
200
,
"
height
"
:
157
},
"
circleItem
"
:
1
},{
"
id
"
:
"
1667285795465
"
,
"
index
"
:
1
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.74453125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.74453125
,
"
skeJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/29b438b66c46206a683982c2dec2c1c6.json
"
,
"
name
"
:
"
draw_circle_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/2e0851230cec969f8a805563c9cbb177.json
"
,
"
name
"
:
"
draw_circle_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/9531e99ab1f656893c74ee5868632f6a.png
"
,
"
name
"
:
"
draw_circle_tex.png
"
},
"
dragDot
"
:{
"
x
"
:
1116.5
,
"
y
"
:
420.5
},
"
gIdx
"
:
"
2
"
,
"
posX
"
:
1004.5005700463794
,
"
posY
"
:
566.4995325373978
,
"
rect
"
:{
"
x
"
:
521.62
,
"
y
"
:
488
,
"
width
"
:
200
,
"
height
"
:
157
},
"
circleItem
"
:
2
},{
"
id
"
:
"
1667285801759
"
,
"
index
"
:
2
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.74453125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.74453125
,
"
skeJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/29b438b66c46206a683982c2dec2c1c6.json
"
,
"
name
"
:
"
draw_circle_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/2e0851230cec969f8a805563c9cbb177.json
"
,
"
name
"
:
"
draw_circle_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/9531e99ab1f656893c74ee5868632f6a.png
"
,
"
name
"
:
"
draw_circle_tex.png
"
},
"
dragDot
"
:{
"
x
"
:
1116.5
,
"
y
"
:
420.5
},
"
gIdx
"
:
"
2
"
,
"
posX
"
:
1679.500137597402
,
"
posY
"
:
754.4993040274268
,
"
rect
"
:{
"
x
"
:
1196.62
,
"
y
"
:
676
,
"
width
"
:
200
,
"
height
"
:
157
},
"
circleItem
"
:
3
}],
"
bgItem2
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/ef323091055c36876dfe25b5e8ed0128.png
"
,
"
rect
"
:{
"
x
"
:
196.5
,
"
y
"
:
0
,
"
width
"
:
1536
,
"
height
"
:
1987
}},
"
hotZoneItemArr2
"
:[{
"
id
"
:
"
1667284877942
"
,
"
index
"
:
0
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.50703125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.50703125
,
"
dragDot
"
:{
"
x
"
:
964.5
,
"
y
"
:
989.551948051948
},
"
gIdx
"
:
"
7
"
,
"
posX
"
:
620.5
,
"
posY
"
:
1160.5
,
"
multRect
"
:[{
"
color
"
:
"
#ff0000
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
},{
"
color
"
:
"
#00ff00
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
},{
"
color
"
:
"
#00ff00
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
},{
"
color
"
:
"
#00ff00
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
}],
"
rect
"
:{
"
x
"
:
184.68
,
"
y
"
:
904.39
,
"
width
"
:
306.26
,
"
height
"
:
204.23
}},{
"
id
"
:
"
1667284894146
"
,
"
index
"
:
1
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.50703125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.50703125
,
"
dragDot
"
:{
"
x
"
:
964.5
,
"
y
"
:
989.551948051948
},
"
gIdx
"
:
"
7
"
,
"
posX
"
:
988.5001409500544
,
"
posY
"
:
1354.4996702166568
,
"
multRect
"
:[{
"
color
"
:
"
#ffff00
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
},{
"
color
"
:
"
#ffff00
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
},{
"
color
"
:
"
#ffff00
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
}],
"
rect
"
:{
"
x
"
:
525.99
,
"
y
"
:
1079.53
,
"
width
"
:
261.98
,
"
height
"
:
190.46
}},{
"
id
"
:
"
1667284911442
"
,
"
index
"
:
2
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.50703125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.50703125
,
"
dragDot
"
:{
"
x
"
:
964.5
,
"
y
"
:
989.551948051948
},
"
gIdx
"
:
"
7
"
,
"
posX
"
:
1700.5000363742076
,
"
posY
"
:
1549.4996150869986
,
"
multRect
"
:[{
"
color
"
:
"
#0000ff
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
},{
"
color
"
:
"
#0000ff
"
,
"
width
"
:
20
,
"
height
"
:
20
,
"
x
"
:
20
,
"
y
"
:
20
}],
"
rect
"
:{
"
x
"
:
1140.35
,
"
y
"
:
1250.58
,
"
width
"
:
268.3
,
"
height
"
:
186.62
}}],
"
isDebug
"
:
false
}
// return this.item = {"page_id":"9","book_id":"opw1","part_name":"d","begin_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","idle_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","finish_right_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","finish_wrong_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","error_link_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","error_write_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/739005c0435dcb9f32da08998711b4f9.png","rect":{"x":234.22,"y":0,"width":867.56,"height":511}},"hotZoneItemArr":[{"id":"1667887774583","index":0,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":590,"posY":170.5,"rect":{"x":336.28,"y":151,"width":39,"height":39},"linkItem":2,"pointItem":1},{"id":"1667887788202","index":1,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":638.0000145894242,"posY":221.4999681090152,"rect":{"x":384.28,"y":202,"width":39,"height":39},"linkItem":1,"pointItem":2},{"id":"1667887795720","index":2,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":761.000005611317,"posY":170.49995856977634,"rect":{"x":507.28,"y":151,"width":39,"height":39},"linkItem":4,"pointItem":3},{"id":"1667887801441","index":3,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":720.9999826049174,"posY":220.4999681090152,"rect":{"x":467.28,"y":201,"width":39,"height":39},"linkItem":3,"pointItem":4},{"id":"1667887806805","index":4,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":911.9999900866734,"posY":226.49995875682023,"rect":{"x":658.28,"y":207,"width":39,"height":39},"linkItem":6,"pointItem":5},{"id":"1667887814385","index":5,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":767.9999543612886,"posY":247.49995763455684,"rect":{"x":514.28,"y":228,"width":39,"height":39},"linkItem":5,"pointItem":6},{"id":"1667887820091","index":6,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":919.99998129561,"posY":356.499953706635,"rect":{"x":666.28,"y":337,"width":39,"height":39},"linkItem":8,"pointItem":7},{"id":"1667887826462","index":7,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":769.9999528649374,"posY":320.4999333188499,"rect":{"x":516.28,"y":301,"width":39,"height":39},"linkItem":7,"pointItem":8},{"id":"1667887833937","index":8,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":771.9999809215223,"posY":389.49994005243036,"rect":{"x":518.28,"y":370,"width":39,"height":39},"linkItem":10,"pointItem":9},{"id":"1667887840312","index":9,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":720.9999805474345,"posY":348.4999271464013,"rect":{"x":467.28,"y":329,"width":39,"height":39},"linkItem":9,"pointItem":10},{"id":"1667887846297","index":10,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":580.9999900866734,"posY":388.4999348152012,"rect":{"x":327.28,"y":369,"width":39,"height":39},"linkItem":12,"pointItem":11},{"id":"1667887879817","index":11,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":637.0000162728193,"posY":347.49992733344516,"rect":{"x":383.28,"y":328,"width":39,"height":39},"linkItem":11,"pointItem":12},{"id":"1667887885876","index":12,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":431.0000057983608,"posY":349.499935002245,"rect":{"x":177.28,"y":330,"width":39,"height":39},"linkItem":14,"pointItem":13},{"id":"1667887891550","index":13,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":584.0000443294042,"posY":320.49993462815723,"rect":{"x":330.28,"y":301,"width":39,"height":39},"linkItem":13,"pointItem":14},{"id":"1667887898232","index":14,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":429.0000157116875,"posY":226.49994005243036,"rect":{"x":175.28,"y":207,"width":39,"height":39},"linkItem":16,"pointItem":15},{"id":"1667887904615","index":15,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":255.5},"gIdx":"0","posX":585.000044703492,"posY":247.49995763455684,"rect":{"x":331.28,"y":228,"width":39,"height":39},"linkItem":15,"pointItem":16}],"bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/587034b4ac726f8f7a3c94d2ace95ded.png","rect":{"x":129.72,"y":0,"width":1076.55,"height":1393}},"hotZoneItemArr2":[{"id":"1667887944389","index":0,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":577,"posY":643.5,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":424.78,"y":621,"width":45,"height":45}},{"id":"1667887960040","index":1,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":632.004792675414,"posY":698.5014661615592,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":479.78,"y":676,"width":45,"height":45}},{"id":"1667887965560","index":2,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":769.0049179883678,"posY":641.5015914745129,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":616.79,"y":619,"width":45,"height":45}},{"id":"1667887978234","index":3,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":724.0052301315435,"posY":698.5014616047245,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":571.8,"y":676,"width":45,"height":45}},{"id":"1667887985592","index":4,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":936.0151276255474,"posY":705.5015914745129,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":783.81,"y":683,"width":45,"height":45}},{"id":"1667887992372","index":5,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":779.0256106728078,"posY":728.5016074234343,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":626.82,"y":706,"width":45,"height":45}},{"id":"1667887999027","index":6,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":942.0352529840694,"posY":848.5016598270331,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":789.83,"y":826,"width":45,"height":45}},{"id":"1667888007133","index":7,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":778.0456243888804,"posY":807.501933237114,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":625.84,"y":785,"width":45,"height":45}},{"id":"1667888014504","index":8,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":784.0552507512206,"posY":886.501839822003,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":631.85,"y":864,"width":45,"height":45}},{"id":"1667888022599","index":9,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":724.0652644445088,"posY":839.5020198169731,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":571.86,"y":817,"width":45,"height":45}},{"id":"1667888029229","index":10,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":570.0751277622525,"posY":884.501912731358,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":417.86,"y":862,"width":45,"height":45}},{"id":"1667888036936","index":11,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":630.084776908766,"posY":839.5020152601384,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":477.86,"y":817,"width":45,"height":45}},{"id":"1667888043743","index":12,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":401.08491361380663,"posY":842.501912731358,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":248.86,"y":820,"width":45,"height":45}},{"id":"1667888050282","index":13,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":573.0843918562354,"posY":807.50191956661,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":420.86,"y":785,"width":45,"height":45}},{"id":"1667888056672","index":14,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":399.0847837440182,"posY":702.501839822003,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":246.86,"y":680,"width":45,"height":45}},{"id":"1667888064637","index":15,"itemType":"rect","fontScale":1.04375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.04375,"dragDot":{"x":668,"y":696.5},"gIdx":"0","posX":572.0843872994008,"posY":727.5016005881822,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":419.86,"y":705,"width":45,"height":45}}],"isDebug":false}
// return {"page_id":"82","book_id":"opw3","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/48ecdccc083571a554a0393e88aa8e17.png","rect":{"x":0,"y":44.55,"width":2178,"height":731.91}},"hotZoneItemArr":[{"id":"1667527075823","index":0,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1027,"posY":353.49534883720935,"rect":{"x":987.5,"y":269.45,"width":79,"height":79},"circleItem":1,"signItem":1},{"id":"1667527184155","index":1,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1299,"posY":353.49534883720935,"rect":{"x":1259.5,"y":269.45,"width":79,"height":79},"circleItem":2,"signItem":2},{"id":"1667527190579","index":2,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1027,"posY":460.49534883720935,"rect":{"x":987.5,"y":376.45,"width":79,"height":79},"signItem":3},{"id":"1667527194988","index":3,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1300,"posY":463.49534883720935,"rect":{"x":1260.5,"y":379.45,"width":79,"height":79},"signItem":4},{"id":"1667527200554","index":4,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1028,"posY":571.4953488372093,"rect":{"x":988.5,"y":487.45,"width":79,"height":79},"signItem":5},{"id":"1667527205347","index":5,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1300,"posY":570.4953488372093,"rect":{"x":1260.5,"y":486.45,"width":79,"height":79},"signItem":6},{"id":"1667527210543","index":6,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1027,"posY":677.4953488372093,"rect":{"x":987.5,"y":593.45,"width":79,"height":79},"signItem":7},{"id":"1667527216357","index":7,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1299,"posY":678.4953488372093,"rect":{"x":1259.5,"y":594.45,"width":79,"height":79},"signItem":8},{"id":"1667527221859","index":8,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1628,"posY":355.49534883720935,"rect":{"x":1588.5,"y":271.45,"width":79,"height":79},"signItem":9},{"id":"1667527229299","index":9,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":353.49534883720935,"rect":{"x":1860.5,"y":269.45,"width":79,"height":79},"signItem":10},{"id":"1667527237415","index":10,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1627,"posY":460.49534883720935,"rect":{"x":1587.5,"y":376.45,"width":79,"height":79},"signItem":11},{"id":"1667527242936","index":11,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":461.49534883720935,"rect":{"x":1860.5,"y":377.45,"width":79,"height":79},"signItem":12},{"id":"1667527249982","index":12,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1626,"posY":569.4953488372093,"rect":{"x":1586.5,"y":485.45,"width":79,"height":79},"signItem":13},{"id":"1667527256608","index":13,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":571.4953488372093,"rect":{"x":1860.5,"y":487.45,"width":79,"height":79},"signItem":14},{"id":"1667527262126","index":14,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1627,"posY":678.4953488372093,"rect":{"x":1587.5,"y":594.45,"width":79,"height":79},"signItem":15},{"id":"1667527269087","index":15,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":679.4953488372093,"rect":{"x":1860.5,"y":595.45,"width":79,"height":79},"signItem":16}],"part_name":"e","begin_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","idle_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","finish_right_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","finish_wrong_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","error_link_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","error_write_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/cdc23fe114c7fbe4ce688c5b7cdff70e.png","rect":{"x":224.98,"y":0,"width":1728.05,"height":2236}},"hotZoneItemArr2":[{"id":"1667527318185","index":0,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1068,"posY":1726,"rect":{"x":811.02,"y":1694,"width":64,"height":64}},{"id":"1667527349948","index":1,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1265.9950206411086,"posY":1725.9983039012782,"rect":{"x":1009.02,"y":1694,"width":64,"height":64}},{"id":"1667527354975","index":2,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1067.9948260712667,"posY":1803.9983039012782,"rect":{"x":811.01,"y":1772,"width":64,"height":64}},{"id":"1667527363008","index":3,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1266.9850206509354,"posY":1803.9982272525526,"rect":{"x":1010.01,"y":1772,"width":64,"height":64}},{"id":"1667527368695","index":4,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1068.9848250984178,"posY":1883.9982272525526,"rect":{"x":812,"y":1852,"width":64,"height":64}},{"id":"1667527374694","index":5,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1266.9750196780863,"posY":1882.9981486384752,"rect":{"x":1010,"y":1851,"width":64,"height":64}},{"id":"1667527380289","index":6,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1066.9748251082444,"posY":1962.998149621151,"rect":{"x":809.99,"y":1931,"width":64,"height":64}},{"id":"1667527388175","index":7,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1266.965021653265,"posY":1960.9980710070736,"rect":{"x":1009.99,"y":1929,"width":64,"height":64}},{"id":"1667527393603","index":8,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1506.964825118071,"posY":1724.9980729724255,"rect":{"x":1249.98,"y":1693,"width":64,"height":64}},{"id":"1667527399645","index":9,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.9545892856654,"posY":1724.998304883954,"rect":{"x":1448.97,"y":1693,"width":64,"height":64}},{"id":"1667527406504","index":10,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1505.9443937429746,"posY":1803.998304883954,"rect":{"x":1248.96,"y":1772,"width":64,"height":64}},{"id":"1667527414914","index":11,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.934590287995,"posY":1804.9982272525526,"rect":{"x":1448.95,"y":1773,"width":64,"height":64}},{"id":"1667527423039","index":12,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1506.924393762628,"posY":1883.9982262698766,"rect":{"x":1249.94,"y":1852,"width":64,"height":64}},{"id":"1667527431966","index":13,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.9145893249724,"posY":1883.9981486384752,"rect":{"x":1448.93,"y":1852,"width":64,"height":64}},{"id":"1667527439422","index":14,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1507.9043937822817,"posY":1962.9981486384752,"rect":{"x":1250.92,"y":1931,"width":64,"height":64}},{"id":"1667527445613","index":15,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.8945883619504,"posY":1963.9980710070736,"rect":{"x":1448.91,"y":1932,"width":64,"height":64}}],"isDebug":false}
// return {"page_id":"82","book_id":"opw3","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/48ecdccc083571a554a0393e88aa8e17.png","rect":{"x":0,"y":44.55,"width":2178,"height":731.91}},"hotZoneItemArr":[{"id":"1667527075823","index":0,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1027,"posY":353.49534883720935,"rect":{"x":987.5,"y":269.45,"width":79,"height":79},"circleItem":1,"signItem":1},{"id":"1667527184155","index":1,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1299,"posY":353.49534883720935,"rect":{"x":1259.5,"y":269.45,"width":79,"height":79},"circleItem":2,"signItem":2},{"id":"1667527190579","index":2,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1027,"posY":460.49534883720935,"rect":{"x":987.5,"y":376.45,"width":79,"height":79},"signItem":3},{"id":"1667527194988","index":3,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1300,"posY":463.49534883720935,"rect":{"x":1260.5,"y":379.45,"width":79,"height":79},"signItem":4},{"id":"1667527200554","index":4,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1028,"posY":571.4953488372093,"rect":{"x":988.5,"y":487.45,"width":79,"height":79},"signItem":5},{"id":"1667527205347","index":5,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1300,"posY":570.4953488372093,"rect":{"x":1260.5,"y":486.45,"width":79,"height":79},"signItem":6},{"id":"1667527210543","index":6,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1027,"posY":677.4953488372093,"rect":{"x":987.5,"y":593.45,"width":79,"height":79},"signItem":7},{"id":"1667527216357","index":7,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1299,"posY":678.4953488372093,"rect":{"x":1259.5,"y":594.45,"width":79,"height":79},"signItem":8},{"id":"1667527221859","index":8,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1628,"posY":355.49534883720935,"rect":{"x":1588.5,"y":271.45,"width":79,"height":79},"signItem":9},{"id":"1667527229299","index":9,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":353.49534883720935,"rect":{"x":1860.5,"y":269.45,"width":79,"height":79},"signItem":10},{"id":"1667527237415","index":10,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1627,"posY":460.49534883720935,"rect":{"x":1587.5,"y":376.45,"width":79,"height":79},"signItem":11},{"id":"1667527242936","index":11,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":461.49534883720935,"rect":{"x":1860.5,"y":377.45,"width":79,"height":79},"signItem":12},{"id":"1667527249982","index":12,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1626,"posY":569.4953488372093,"rect":{"x":1586.5,"y":485.45,"width":79,"height":79},"signItem":13},{"id":"1667527256608","index":13,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":571.4953488372093,"rect":{"x":1860.5,"y":487.45,"width":79,"height":79},"signItem":14},{"id":"1667527262126","index":14,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1627,"posY":678.4953488372093,"rect":{"x":1587.5,"y":594.45,"width":79,"height":79},"signItem":15},{"id":"1667527269087","index":15,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":410.5},"gIdx":"4","posX":1900,"posY":679.4953488372093,"rect":{"x":1860.5,"y":595.45,"width":79,"height":79},"signItem":16}],"part_name":"e","begin_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","idle_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","finish_right_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","finish_wrong_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","error_link_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","error_write_audio_url":"http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3","bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/cdc23fe114c7fbe4ce688c5b7cdff70e.png","rect":{"x":224.98,"y":0,"width":1728.05,"height":2236}},"hotZoneItemArr2":[{"id":"1667527318185","index":0,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1068,"posY":1726,"rect":{"x":811.02,"y":1694,"width":64,"height":64}},{"id":"1667527349948","index":1,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1265.9950206411086,"posY":1725.9983039012782,"rect":{"x":1009.02,"y":1694,"width":64,"height":64}},{"id":"1667527354975","index":2,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1067.9948260712667,"posY":1803.9983039012782,"rect":{"x":811.01,"y":1772,"width":64,"height":64}},{"id":"1667527363008","index":3,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1266.9850206509354,"posY":1803.9982272525526,"rect":{"x":1010.01,"y":1772,"width":64,"height":64}},{"id":"1667527368695","index":4,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1068.9848250984178,"posY":1883.9982272525526,"rect":{"x":812,"y":1852,"width":64,"height":64}},{"id":"1667527374694","index":5,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1266.9750196780863,"posY":1882.9981486384752,"rect":{"x":1010,"y":1851,"width":64,"height":64}},{"id":"1667527380289","index":6,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1066.9748251082444,"posY":1962.998149621151,"rect":{"x":809.99,"y":1931,"width":64,"height":64}},{"id":"1667527388175","index":7,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1266.965021653265,"posY":1960.9980710070736,"rect":{"x":1009.99,"y":1929,"width":64,"height":64}},{"id":"1667527393603","index":8,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1506.964825118071,"posY":1724.9980729724255,"rect":{"x":1249.98,"y":1693,"width":64,"height":64}},{"id":"1667527399645","index":9,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.9545892856654,"posY":1724.998304883954,"rect":{"x":1448.97,"y":1693,"width":64,"height":64}},{"id":"1667527406504","index":10,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1505.9443937429746,"posY":1803.998304883954,"rect":{"x":1248.96,"y":1772,"width":64,"height":64}},{"id":"1667527414914","index":11,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.934590287995,"posY":1804.9982272525526,"rect":{"x":1448.95,"y":1773,"width":64,"height":64}},{"id":"1667527423039","index":12,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1506.924393762628,"posY":1883.9982262698766,"rect":{"x":1249.94,"y":1852,"width":64,"height":64}},{"id":"1667527431966","index":13,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.9145893249724,"posY":1883.9981486384752,"rect":{"x":1448.93,"y":1852,"width":64,"height":64}},{"id":"1667527439422","index":14,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1507.9043937822817,"posY":1962.9981486384752,"rect":{"x":1250.92,"y":1931,"width":64,"height":64}},{"id":"1667527445613","index":15,"itemType":"rect","fontScale":1.7015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.7015625,"dragDot":{"x":1089,"y":1118},"gIdx":"8","posX":1705.8945883619504,"posY":1963.9980710070736,"rect":{"x":1448.91,"y":1932,"width":64,"height":64}}],"isDebug":false}
return
this
.
item
=
{
"
begin_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
idle_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
finish_right_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
finish_wrong_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
error_link_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
error_write_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
page_id
"
:
"
7
"
,
"
book_id
"
:
"
opw1
"
,
"
part_name
"
:
"
d
"
,
"
bgItem
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/75bcd934bdd589d901b1d1dcf9e05e2b.png
"
,
"
rect
"
:{
"
x
"
:
455.89
,
"
y
"
:
0
,
"
width
"
:
1729.22
,
"
height
"
:
992
}},
"
hotZoneItemArr
"
:[{
"
id
"
:
"
1667291729830
"
,
"
index
"
:
0
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
496
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
714.5
,
"
posY
"
:
509
,
"
rect
"
:{
"
x
"
:
232.61
,
"
y
"
:
483
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
2
,
"
pointItem
"
:
1
},{
"
id
"
:
"
1667291758660
"
,
"
index
"
:
1
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
863.4985828918223
,
"
posY
"
:
708.0011902773308
,
"
rect
"
:{
"
x
"
:
381.61
,
"
y
"
:
682
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
1
,
"
pointItem
"
:
2
},{
"
id
"
:
"
1667291766274
"
,
"
index
"
:
2
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1038.4989313227106
,
"
posY
"
:
767.0016556313363
,
"
rect
"
:{
"
x
"
:
556.61
,
"
y
"
:
741
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
4
,
"
pointItem
"
:
3
},{
"
id
"
:
"
1667291773931
"
,
"
index
"
:
3
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1208.4993405536202
,
"
posY
"
:
565.0017936006144
,
"
rect
"
:{
"
x
"
:
726.61
,
"
y
"
:
539
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
3
,
"
pointItem
"
:
4
},{
"
id
"
:
"
1667291781144
"
,
"
index
"
:
4
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1365.499738092218
,
"
posY
"
:
554.0013212312218
,
"
rect
"
:{
"
x
"
:
883.61
,
"
y
"
:
528
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
6
,
"
pointItem
"
:
5
},{
"
id
"
:
"
1667291787620
"
,
"
index
"
:
5
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1519.500105230805
,
"
posY
"
:
368.0012955081361
,
"
rect
"
:{
"
x
"
:
1037.61
,
"
y
"
:
342
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
5
,
"
pointItem
"
:
6
},{
"
id
"
:
"
1667291794068
"
,
"
index
"
:
6
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1697.5004653540052
,
"
posY
"
:
452.00086055414096
,
"
rect
"
:{
"
x
"
:
1215.61
,
"
y
"
:
426
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
8
,
"
pointItem
"
:
7
},{
"
id
"
:
"
1667291799074
"
,
"
index
"
:
7
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1762.5008816003017
,
"
posY
"
:
565.0010569849775
,
"
rect
"
:{
"
x
"
:
1280.61
,
"
y
"
:
539
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
7
,
"
pointItem
"
:
8
},{
"
id
"
:
"
1667291806543
"
,
"
index
"
:
8
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1672.501033600354
,
"
posY
"
:
721.0013212312218
,
"
rect
"
:{
"
x
"
:
1190.61
,
"
y
"
:
695
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
10
,
"
pointItem
"
:
9
},{
"
id
"
:
"
1667291814677
"
,
"
index
"
:
9
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1477.5008231387435
,
"
posY
"
:
705.0016860313468
,
"
rect
"
:{
"
x
"
:
995.61
,
"
y
"
:
679
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
9
,
"
pointItem
"
:
10
},{
"
id
"
:
"
1667291823228
"
,
"
index
"
:
10
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1371.5003671385873
,
"
posY
"
:
813.0016486159494
,
"
rect
"
:{
"
x
"
:
889.61
,
"
y
"
:
787
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
12
,
"
pointItem
"
:
11
},{
"
id
"
:
"
1667291830926
"
,
"
index
"
:
11
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1199.5001192615794
,
"
posY
"
:
812.0019011698821
,
"
rect
"
:{
"
x
"
:
717.61
,
"
y
"
:
786
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
11
,
"
pointItem
"
:
12
},{
"
id
"
:
"
1667291842195
"
,
"
index
"
:
12
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1326.4997170460567
,
"
posY
"
:
247.00189883141968
,
"
rect
"
:{
"
x
"
:
844.61
,
"
y
"
:
221
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
14
,
"
pointItem
"
:
13
},{
"
id
"
:
"
1667291853247
"
,
"
index
"
:
13
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1130.500014030774
,
"
posY
"
:
267.00057760019786
,
"
rect
"
:{
"
x
"
:
648.61
,
"
y
"
:
241
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
13
,
"
pointItem
"
:
14
},{
"
id
"
:
"
1667291861161
"
,
"
index
"
:
14
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1060.4995556921554
,
"
posY
"
:
407.00062436944467
,
"
rect
"
:{
"
x
"
:
578.61
,
"
y
"
:
381
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
16
,
"
pointItem
"
:
15
},{
"
id
"
:
"
1667291869501
"
,
"
index
"
:
15
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
891.4993919997917
,
"
posY
"
:
447.0009517541722
,
"
rect
"
:{
"
x
"
:
409.61
,
"
y
"
:
421
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
15
,
"
pointItem
"
:
16
}],
"
bgItem2
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/71e68ebc76a7ce04eef418353d3f1844.png
"
,
"
rect
"
:{
"
x
"
:
191.67
,
"
y
"
:
0
,
"
width
"
:
1499.67
,
"
height
"
:
1940
}},
"
hotZoneItemArr2
"
:[{
"
id
"
:
"
1667380287432
"
,
"
index
"
:
0
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
670.5
,
"
posY
"
:
1410.5
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
277.93
,
"
y
"
:
1022.76
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380314762
"
,
"
index
"
:
1
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
827.4994456359115
,
"
posY
"
:
1617.5012714317836
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
393.79
,
"
y
"
:
1175.51
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380322503
"
,
"
index
"
:
2
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1007.4995871564998
,
"
posY
"
:
1680.5014580226232
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
526.61
,
"
y
"
:
1222
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380329891
"
,
"
index
"
:
3
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1185.4997494094036
,
"
posY
"
:
1470.5015148111395
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
657.96
,
"
y
"
:
1067.03
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380339099
"
,
"
index
"
:
4
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1346.4999098594978
,
"
posY
"
:
1458.5013255160848
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
776.77
,
"
y
"
:
1058.18
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380346091
"
,
"
index
"
:
5
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1507.5000549857066
,
"
posY
"
:
1264.5013146992246
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
895.57
,
"
y
"
:
915.02
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380353829
"
,
"
index
"
:
6
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1690.500200111915
,
"
posY
"
:
1351.5011398266504
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
1030.61
,
"
y
"
:
979.22
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380360920
"
,
"
index
"
:
7
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1756.500365069034
,
"
posY
"
:
1469.5012182488872
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
1079.31
,
"
y
"
:
1066.3
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380368760
"
,
"
index
"
:
8
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1664.5004245617654
,
"
posY
"
:
1629.5013246146798
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
1011.42
,
"
y
"
:
1184.36
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380374561
"
,
"
index
"
:
9
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1462.5003416325035
,
"
posY
"
:
1613.5014688394833
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
862.36
,
"
y
"
:
1172.56
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380381923
"
,
"
index
"
:
10
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1350.500159548689
,
"
posY
"
:
1725.501454417003
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
779.72
,
"
y
"
:
1255.2
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380387739
"
,
"
index
"
:
11
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1174.5000585913265
,
"
posY
"
:
1723.5015553743654
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
649.84
,
"
y
"
:
1253.73
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380395200
"
,
"
index
"
:
12
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1306.4998999440427
,
"
posY
"
:
1140.5015535715554
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
747.24
,
"
y
"
:
823.52
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380402254
"
,
"
index
"
:
13
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1101.5000189295056
,
"
posY
"
:
1160.5010280524275
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
595.97
,
"
y
"
:
838.28
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380408975
"
,
"
index
"
:
14
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1028.499834141476
,
"
posY
"
:
1304.501046080528
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
542.1
,
"
y
"
:
944.53
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380417184
"
,
"
index
"
:
15
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
853.4997683389092
,
"
posY
"
:
1346.5011758828512
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
412.97
,
"
y
"
:
975.53
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}}],
"
isDebug
"
:
true
}
return
this
.
item
=
{
"
begin_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
idle_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
finish_right_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
finish_wrong_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
error_link_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
error_write_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3d307a02663e1cd667b7c951340ec98b.mp3
"
,
"
page_id
"
:
"
7
"
,
"
book_id
"
:
"
opw1
"
,
"
part_name
"
:
"
d
"
,
"
bgItem
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/75bcd934bdd589d901b1d1dcf9e05e2b.png
"
,
"
rect
"
:{
"
x
"
:
455.89
,
"
y
"
:
0
,
"
width
"
:
1729.22
,
"
height
"
:
992
}},
"
hotZoneItemArr
"
:[{
"
id
"
:
"
1667291729830
"
,
"
index
"
:
0
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
496
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
714.5
,
"
posY
"
:
509
,
"
rect
"
:{
"
x
"
:
232.61
,
"
y
"
:
483
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
2
,
"
pointItem
"
:
1
},{
"
id
"
:
"
1667291758660
"
,
"
index
"
:
1
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
863.4985828918223
,
"
posY
"
:
708.0011902773308
,
"
rect
"
:{
"
x
"
:
381.61
,
"
y
"
:
682
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
1
,
"
pointItem
"
:
2
},{
"
id
"
:
"
1667291766274
"
,
"
index
"
:
2
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1038.4989313227106
,
"
posY
"
:
767.0016556313363
,
"
rect
"
:{
"
x
"
:
556.61
,
"
y
"
:
741
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
4
,
"
pointItem
"
:
3
},{
"
id
"
:
"
1667291773931
"
,
"
index
"
:
3
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1208.4993405536202
,
"
posY
"
:
565.0017936006144
,
"
rect
"
:{
"
x
"
:
726.61
,
"
y
"
:
539
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
3
,
"
pointItem
"
:
4
},{
"
id
"
:
"
1667291781144
"
,
"
index
"
:
4
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1365.499738092218
,
"
posY
"
:
554.0013212312218
,
"
rect
"
:{
"
x
"
:
883.61
,
"
y
"
:
528
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
6
,
"
pointItem
"
:
5
},{
"
id
"
:
"
1667291787620
"
,
"
index
"
:
5
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1519.500105230805
,
"
posY
"
:
368.0012955081361
,
"
rect
"
:{
"
x
"
:
1037.61
,
"
y
"
:
342
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
5
,
"
pointItem
"
:
6
},{
"
id
"
:
"
1667291794068
"
,
"
index
"
:
6
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1697.5004653540052
,
"
posY
"
:
452.00086055414096
,
"
rect
"
:{
"
x
"
:
1215.61
,
"
y
"
:
426
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
8
,
"
pointItem
"
:
7
},{
"
id
"
:
"
1667291799074
"
,
"
index
"
:
7
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1762.5008816003017
,
"
posY
"
:
565.0010569849775
,
"
rect
"
:{
"
x
"
:
1280.61
,
"
y
"
:
539
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
7
,
"
pointItem
"
:
8
},{
"
id
"
:
"
1667291806543
"
,
"
index
"
:
8
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1672.501033600354
,
"
posY
"
:
721.0013212312218
,
"
rect
"
:{
"
x
"
:
1190.61
,
"
y
"
:
695
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
10
,
"
pointItem
"
:
9
},{
"
id
"
:
"
1667291814677
"
,
"
index
"
:
9
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1477.5008231387435
,
"
posY
"
:
705.0016860313468
,
"
rect
"
:{
"
x
"
:
995.61
,
"
y
"
:
679
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
9
,
"
pointItem
"
:
10
},{
"
id
"
:
"
1667291823228
"
,
"
index
"
:
10
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1371.5003671385873
,
"
posY
"
:
813.0016486159494
,
"
rect
"
:{
"
x
"
:
889.61
,
"
y
"
:
787
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
12
,
"
pointItem
"
:
11
},{
"
id
"
:
"
1667291830926
"
,
"
index
"
:
11
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1199.5001192615794
,
"
posY
"
:
812.0019011698821
,
"
rect
"
:{
"
x
"
:
717.61
,
"
y
"
:
786
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
11
,
"
pointItem
"
:
12
},{
"
id
"
:
"
1667291842195
"
,
"
index
"
:
12
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1326.4997170460567
,
"
posY
"
:
247.00189883141968
,
"
rect
"
:{
"
x
"
:
844.61
,
"
y
"
:
221
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
14
,
"
pointItem
"
:
13
},{
"
id
"
:
"
1667291853247
"
,
"
index
"
:
13
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1130.500014030774
,
"
posY
"
:
267.00057760019786
,
"
rect
"
:{
"
x
"
:
648.61
,
"
y
"
:
241
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
13
,
"
pointItem
"
:
14
},{
"
id
"
:
"
1667291861161
"
,
"
index
"
:
14
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1060.4995556921554
,
"
posY
"
:
407.00062436944467
,
"
rect
"
:{
"
x
"
:
578.61
,
"
y
"
:
381
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
16
,
"
pointItem
"
:
15
},{
"
id
"
:
"
1667291869501
"
,
"
index
"
:
15
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
2.06328125
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
2.06328125
,
"
dragDot
"
:{
"
x
"
:
1320.5
,
"
y
"
:
495.99999999999994
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
891.4993919997917
,
"
posY
"
:
447.0009517541722
,
"
rect
"
:{
"
x
"
:
409.61
,
"
y
"
:
421
,
"
width
"
:
52
,
"
height
"
:
52
},
"
linkItem
"
:
15
,
"
pointItem
"
:
16
}],
"
bgItem2
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/71e68ebc76a7ce04eef418353d3f1844.png
"
,
"
rect
"
:{
"
x
"
:
191.67
,
"
y
"
:
0
,
"
width
"
:
1499.67
,
"
height
"
:
1940
}},
"
hotZoneItemArr2
"
:[{
"
id
"
:
"
1667380287432
"
,
"
index
"
:
0
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
670.5
,
"
posY
"
:
1410.5
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
277.93
,
"
y
"
:
1022.76
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380314762
"
,
"
index
"
:
1
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
827.4994456359115
,
"
posY
"
:
1617.5012714317836
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
393.79
,
"
y
"
:
1175.51
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380322503
"
,
"
index
"
:
2
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1007.4995871564998
,
"
posY
"
:
1680.5014580226232
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
526.61
,
"
y
"
:
1222
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380329891
"
,
"
index
"
:
3
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1185.4997494094036
,
"
posY
"
:
1470.5015148111395
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
657.96
,
"
y
"
:
1067.03
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380339099
"
,
"
index
"
:
4
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1346.4999098594978
,
"
posY
"
:
1458.5013255160848
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
776.77
,
"
y
"
:
1058.18
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380346091
"
,
"
index
"
:
5
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1507.5000549857066
,
"
posY
"
:
1264.5013146992246
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
895.57
,
"
y
"
:
915.02
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380353829
"
,
"
index
"
:
6
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1690.500200111915
,
"
posY
"
:
1351.5011398266504
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
1030.61
,
"
y
"
:
979.22
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380360920
"
,
"
index
"
:
7
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1756.500365069034
,
"
posY
"
:
1469.5012182488872
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
,
"
value
"
:
true
}]},
"
rect
"
:{
"
x
"
:
1079.31
,
"
y
"
:
1066.3
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380368760
"
,
"
index
"
:
8
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1664.5004245617654
,
"
posY
"
:
1629.5013246146798
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
1011.42
,
"
y
"
:
1184.36
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380374561
"
,
"
index
"
:
9
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1462.5003416325035
,
"
posY
"
:
1613.5014688394833
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
862.36
,
"
y
"
:
1172.56
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380381923
"
,
"
index
"
:
10
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1350.500159548689
,
"
posY
"
:
1725.501454417003
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
779.72
,
"
y
"
:
1255.2
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380387739
"
,
"
index
"
:
11
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1174.5000585913265
,
"
posY
"
:
1723.5015553743654
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
649.84
,
"
y
"
:
1253.73
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380395200
"
,
"
index
"
:
12
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1306.4998999440427
,
"
posY
"
:
1140.5015535715554
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
747.24
,
"
y
"
:
823.52
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380402254
"
,
"
index
"
:
13
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1101.5000189295056
,
"
posY
"
:
1160.5010280524275
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
595.97
,
"
y
"
:
838.28
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380408975
"
,
"
index
"
:
14
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
1028.499834141476
,
"
posY
"
:
1304.501046080528
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
542.1
,
"
y
"
:
944.53
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}},{
"
id
"
:
"
1667380417184
"
,
"
index
"
:
15
,
"
itemType
"
:
"
rect
"
,
"
fontScale
"
:
1.47109375
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
1.47109375
,
"
dragDot
"
:{
"
x
"
:
941.5
,
"
y
"
:
962.739595488137
},
"
gIdx
"
:
"
0
"
,
"
posX
"
:
853.4997683389092
,
"
posY
"
:
1346.5011758828512
,
"
checkbox
"
:{
"
title
"
:
"
答案
"
,
"
list
"
:[{
"
label
"
:
"
正确
"
,
"
key
"
:
"
isRight
"
}]},
"
rect
"
:{
"
x
"
:
412.97
,
"
y
"
:
975.53
,
"
width
"
:
36.15
,
"
height
"
:
36.15
}}],
"
isDebug
"
:
true
}
...
@@ -514,6 +516,9 @@ cc.Class({
...
@@ -514,6 +516,9 @@ cc.Class({
loadEnd
()
{
loadEnd
()
{
console
.
log
(
'
in loadEnd
'
);
console
.
log
(
'
in loadEnd
'
);
// this.data.isDebug = true;
this
.
initData
();
this
.
initData
();
this
.
initView
();
this
.
initView
();
// this.initMusic();
// this.initMusic();
...
@@ -541,6 +546,7 @@ cc.Class({
...
@@ -541,6 +546,7 @@ cc.Class({
firstItemData
:
null
,
firstItemData
:
null
,
bottomItemData
:
null
,
bottomItemData
:
null
,
animaNodeArr
:
null
,
animaNodeArr
:
null
,
circleAnimaNodeArr
:
null
,
initData
()
{
initData
()
{
console
.
log
(
'
in initData
'
);
console
.
log
(
'
in initData
'
);
...
@@ -557,6 +563,8 @@ cc.Class({
...
@@ -557,6 +563,8 @@ cc.Class({
this
.
animaNodeArr
=
[];
this
.
animaNodeArr
=
[];
this
.
circleAnimaNodeArr
=
[];
this
.
picNodeArr
=
[];
this
.
picNodeArr
=
[];
this
.
initAudioEffect
();
this
.
initAudioEffect
();
...
@@ -1064,6 +1072,32 @@ cc.Class({
...
@@ -1064,6 +1072,32 @@ cc.Class({
return
{
x
:
lastX
,
y
:
lastY
};
return
{
x
:
lastX
,
y
:
lastY
};
},
},
setOneAnswerDataCircle
(
colorRect
,
answerData
)
{
const
rect
=
colorRect
.
ccRect
;
const
dotV2
=
new
cc
.
Vec2
(
rect
.
x
+
rect
.
width
/
2
,
rect
.
y
+
rect
.
height
/
2
);
// const targetLabelText = colorRect.labelText;
// const newRectCheckArr = this.newRectCheckArr;
const
checkArr
=
this
.
circleRectCheckArr
;
for
(
let
i
=
0
;
i
<
checkArr
.
length
;
i
++
)
{
const
checkRect
=
checkArr
[
i
].
ccRect
;
const
key
=
checkArr
[
i
].
data
.
index
+
1
;
// if (labelText.toLowerCase().indexOf(targetLabelText.toLowerCase()) != -1 && rect.intersects(dotRect)) {
if
(
checkRect
.
contains
(
dotV2
))
{
answerData
[
key
]
=
{
isFinish
:
true
};
}
}
},
setOneAnswerDataLink
(
firstPos
,
lastPos
,
answerData
)
{
setOneAnswerDataLink
(
firstPos
,
lastPos
,
answerData
)
{
...
@@ -1451,50 +1485,134 @@ cc.Class({
...
@@ -1451,50 +1485,134 @@ cc.Class({
const
oneTextData
=
textArr
[
i
];
const
oneTextData
=
textArr
[
i
];
const
points
=
oneTextData
.
points
;
const
points
=
oneTextData
.
points
;
const
tempDisNum
=
Math
.
floor
(
points
.
length
/
3
);
const
tempDisNum
=
Math
.
floor
(
points
.
length
/
2
);
const
point1_x
=
points
[
0
];
const
point1_x
=
points
[
0
];
const
point1_y
=
points
[
1
];
const
point1_y
=
points
[
1
];
const
point2_x
=
points
[
tempDisNum
];
const
point2_x
=
points
[
tempDisNum
];
const
point2_y
=
points
[
tempDisNum
+
1
];
const
point2_y
=
points
[
tempDisNum
+
1
];
const
point3_x
=
points
[
tempDisNum
*
2
];
//
const point3_x = points[tempDisNum*2];
const
point3_y
=
points
[
tempDisNum
*
2
+
1
];
//
const point3_y = points[tempDisNum*2 + 1];
let
centerP
=
this
.
locate
(
point1_x
,
point1_y
,
point2_x
,
point2_y
,
point3_x
,
point3_y
);
// let centerP = this.locate(point1_x, point1_y, point2_x, point2_y, point3_x, point3_y);
let
centerPX
=
Number
(
point1_x
)
+
(
point2_x
-
point1_x
)
/
2
;
let
centerPY
=
Number
(
point1_y
)
+
(
point2_y
-
point1_y
)
/
2
;
console
.
log
(
'
centerPX:
'
,
centerPX
);
console
.
log
(
'
centerPY:
'
,
centerPY
);
console
.
log
(
"
~~centerP:
"
,
centerP
)
const
colorRect
=
this
.
getColorDot
(
centerPX
,
-
centerPY
,
0.02
,
0.02
,
"
purple
"
);
this
.
debugDrawLayer
.
addChild
(
colorRect
,
1
);
this
.
setOneAnswerDataCircle
(
colorRect
,
answerData
);
// console.log('points: ', points);
for
(
let
j
=
0
;
j
<
points
.
length
;
j
+=
2
)
{
//
for (let j=0; j<points.length; j+=2) {
const
x
=
points
[
j
]
//centerP.x
//
const x = points[j]//centerP.x
const
y
=
-
points
[
j
+
1
]
//-centerP.y
//
const y = -points[j+1]//-centerP.y
const
w
=
0.01
;
//
const w = 0.01;
const
h
=
0.01
;
//
const h = 0.01;
const
rect
=
{
//
const rect = {
x
,
y
,
//
x, y,
width
:
w
,
//
width: w,
height
:
h
//
height: h
}
//
}
console
.
log
(
'
oneTextData:
'
,
oneTextData
);
const
colorRect
=
this
.
getColorDot
(
rect
.
x
,
rect
.
y
,
w
,
h
,
"
red
"
);
//
const colorRect = this.getColorDot(rect.x, rect.y, w, h, "red");
this
.
debugDrawLayer
.
addChild
(
colorRect
,
1
);
//
this.debugDrawLayer.addChild(colorRect, 1);
this
.
setCirclePosInRectArr
(
colorRect
);
// //
this.setCirclePosInRectArr(colorRect);
}
//
}
}
}
console
.
log
(
'
answerData:
'
,
answerData
);
this
.
showCircleAnswer
(
answerData
);
// this.showUserRightNew(answerData);
// this.showUserRightNew(answerData);
},
},
showCircleAnswer
(
answerData
)
{
if
(
Object
.
keys
(
answerData
).
length
==
0
)
{
return
;
}
for
(
let
i
=
0
;
i
<
this
.
circleAnimaNodeArr
.
length
;
i
++
)
{
const
animaNode
=
this
.
circleAnimaNodeArr
[
i
];
const
key
=
animaNode
.
data
.
circleItem
// i.toString();
console
.
log
(
'
~animaNode.data:
'
,
animaNode
.
data
)
console
.
log
(
'
~key:
'
,
key
)
console
.
log
(
'
~key:
'
,
key
)
if
(
!
animaNode
.
hitCount
)
{
animaNode
.
hitCount
=
0
;
}
if
(
answerData
[
key
]
&&
answerData
[
key
].
isFinish
)
{
console
.
log
(
'
~showLetter
'
)
this
.
showCircle
(
animaNode
);
// this.showLetter(animaNode);
}
else
{
animaNode
.
hitCount
=
0
;
}
}
},
showCircle
(
node
,
isRight
=
true
)
{
console
.
log
(
'
in showCircle 1
'
);
node
.
hitCount
++
;
if
(
node
.
hitCount
<
1
)
{
return
;
}
console
.
log
(
'
in showCircle 2
'
);
if
(
node
.
isShowEnd
)
{
return
;
}
console
.
log
(
'
in showCircle 3
'
);
node
.
isShowEnd
=
true
;
node
.
isRight
=
isRight
;
// node.playRightAnim();
this
.
playRightAnim
(
node
);
if
(
!
this
.
isGameEnd
)
{
this
.
checkGameEnd
(
this
.
circleAnimaNodeArr
);
}
return
;
},
photoEndNewRect
(
data
)
{
photoEndNewRect
(
data
)
{
...
@@ -1556,6 +1674,10 @@ cc.Class({
...
@@ -1556,6 +1674,10 @@ cc.Class({
console
.
log
(
'
~animaNode.data:
'
,
animaNode
.
data
)
console
.
log
(
'
~animaNode.data:
'
,
animaNode
.
data
)
console
.
log
(
'
~key:
'
,
key
)
console
.
log
(
'
~key:
'
,
key
)
if
(
!
animaNode
.
hitCount
)
{
animaNode
.
hitCount
=
0
;
}
if
(
answerData
[
key
]
&&
answerData
[
key
].
isFinish
)
{
if
(
answerData
[
key
]
&&
answerData
[
key
].
isFinish
)
{
console
.
log
(
'
~showLetter
'
)
console
.
log
(
'
~showLetter
'
)
this
.
showLetter
(
animaNode
);
this
.
showLetter
(
animaNode
);
...
@@ -2466,6 +2588,12 @@ cc.Class({
...
@@ -2466,6 +2588,12 @@ cc.Class({
console
.
log
(
'
key:
'
,
key
)
console
.
log
(
'
key:
'
,
key
)
console
.
log
(
'
~key:
'
,
key
)
if
(
!
animaNode
.
hitCount
)
{
animaNode
.
hitCount
=
0
;
}
if
(
answerData
[
key
]
&&
answerData
[
key
].
isFinish
)
{
if
(
answerData
[
key
]
&&
answerData
[
key
].
isFinish
)
{
this
.
showLetter
(
animaNode
);
this
.
showLetter
(
animaNode
);
// this.removeLine(answerData[key].line, block);
// this.removeLine(answerData[key].line, block);
...
@@ -3307,6 +3435,7 @@ cc.Class({
...
@@ -3307,6 +3435,7 @@ cc.Class({
const
rect
=
new
cc
.
Rect
(
node
.
x
-
w
/
2
,
node
.
y
-
h
/
2
,
w
,
h
);
const
rect
=
new
cc
.
Rect
(
node
.
x
-
w
/
2
,
node
.
y
-
h
/
2
,
w
,
h
);
node
.
dotRect
=
rect
;
node
.
dotRect
=
rect
;
node
.
ccRect
=
rect
;
return
node
;
return
node
;
},
},
...
@@ -3872,7 +4001,10 @@ cc.Class({
...
@@ -3872,7 +4001,10 @@ cc.Class({
getPhotoData
(
cb
)
{
getPhotoData
(
cb
)
{
const
tmpData1
=
{
"
result
"
:{
"
text
"
:[
{
"
type
"
:
0
,
"
points
"
:[
0.197
,
0.536
,
0.275
,
0.615
]},
{
"
type
"
:
0
,
"
points
"
:[
0.363
,
0.639
,
0.451
,
0.559
]},
{
"
type
"
:
0
,
"
points
"
:[
0.53
,
0.554
,
0.609
,
0.481
]}
]}};
// const tmpData1 = {"result":{"text":[{"type":0,"points":["0.250000","0.504000","0.411000","0.522000"]}]}}
const
tmpData1
=
{
"
result
"
:{
"
text
"
:[{
"
points
"
:[
0.20666666
,
0.45618558
,
0.21
,
0.45618558
,
0.21333334
,
0.45618558
,
0.21666667
,
0.45618558
,
0.22
,
0.45618558
,
0.22333333
,
0.45618558
,
0.22666667
,
0.45618558
,
0.23
,
0.45618558
,
0.23333333
,
0.45618558
,
0.2
,
0.45876288
,
0.20333333
,
0.45876288
,
0.20666666
,
0.45876288
,
0.21
,
0.45876288
,
0.21333334
,
0.45876288
,
0.21666667
,
0.45876288
,
0.22
,
0.45876288
,
0.22333333
,
0.45876288
,
0.22666667
,
0.45876288
,
0.23
,
0.45876288
,
0.23333333
,
0.45876288
,
0.23666666
,
0.45876288
,
0.24
,
0.45876288
,
0.19
,
0.46134022
,
0.19333333
,
0.46134022
,
0.19666667
,
0.46134022
,
0.2
,
0.46134022
,
0.20333333
,
0.46134022
,
0.20666666
,
0.46134022
,
0.21
,
0.46134022
,
0.21333334
,
0.46134022
,
0.21666667
,
0.46134022
,
0.22
,
0.46134022
,
0.22333333
,
0.46134022
,
0.22666667
,
0.46134022
,
0.23
,
0.46134022
,
0.23333333
,
0.46134022
,
0.23666666
,
0.46134022
,
0.24
,
0.46134022
,
0.24333334
,
0.46134022
,
0.24666667
,
0.46134022
,
0.25
,
0.46134022
,
0.17666666
,
0.46391752
,
0.18333334
,
0.46391752
,
0.18666667
,
0.46391752
,
0.19
,
0.46391752
,
0.19333333
,
0.46391752
,
0.19666667
,
0.46391752
,
0.24333334
,
0.46391752
,
0.24666667
,
0.46391752
,
0.25
,
0.46391752
,
0.25333333
,
0.46391752
,
0.25666666
,
0.46391752
,
0.26333332
,
0.46391752
,
0.17333333
,
0.46649486
,
0.17666666
,
0.46649486
,
0.18
,
0.46649486
,
0.18333334
,
0.46649486
,
0.25666666
,
0.46649486
,
0.26
,
0.46649486
,
0.26333332
,
0.46649486
,
0.26666668
,
0.46649486
,
0.17
,
0.46907216
,
0.17333333
,
0.46907216
,
0.17666666
,
0.46907216
,
0.26333332
,
0.46907216
,
0.26666668
,
0.46907216
,
0.27
,
0.46907216
,
0.16333333
,
0.4716495
,
0.16666667
,
0.4716495
,
0.17
,
0.4716495
,
0.17333333
,
0.4716495
,
0.26666668
,
0.4716495
,
0.27
,
0.4716495
,
0.27333334
,
0.4716495
,
0.27666667
,
0.4716495
,
0.16
,
0.4742268
,
0.16333333
,
0.4742268
,
0.16666667
,
0.4742268
,
0.27333334
,
0.4742268
,
0.27666667
,
0.4742268
,
0.28
,
0.4742268
,
0.15666667
,
0.47680414
,
0.16
,
0.47680414
,
0.16333333
,
0.47680414
,
0.27666667
,
0.47680414
,
0.28
,
0.47680414
,
0.28333333
,
0.47680414
,
0.15666667
,
0.47938144
,
0.16
,
0.47938144
,
0.28
,
0.47938144
,
0.28333333
,
0.47938144
,
0.15333334
,
0.48195878
,
0.15666667
,
0.48195878
,
0.28333333
,
0.48195878
,
0.28666666
,
0.48195878
,
0.14666666
,
0.48453608
,
0.15
,
0.48453608
,
0.15333334
,
0.48453608
,
0.28666666
,
0.48453608
,
0.29
,
0.48453608
,
0.29333332
,
0.48453608
,
0.14666666
,
0.48711342
,
0.15
,
0.48711342
,
0.15333334
,
0.48711342
,
0.28666666
,
0.48711342
,
0.29
,
0.48711342
,
0.29333332
,
0.48711342
,
0.14333333
,
0.48969072
,
0.14666666
,
0.48969072
,
0.15
,
0.48969072
,
0.29
,
0.48969072
,
0.29333332
,
0.48969072
,
0.29666665
,
0.48969072
,
0.14333333
,
0.49226806
,
0.14666666
,
0.49226806
,
0.29333332
,
0.49226806
,
0.29666665
,
0.49226806
,
0.14333333
,
0.49484536
,
0.29666665
,
0.49484536
,
0.14
,
0.4974227
,
0.14333333
,
0.4974227
,
0.29666665
,
0.4974227
,
0.3
,
0.4974227
,
0.14
,
0.5
,
0.3
,
0.5
,
0.13666667
,
0.5025773
,
0.14
,
0.5025773
,
0.3
,
0.5025773
,
0.30333334
,
0.5025773
,
0.13666667
,
0.5051546
,
0.14
,
0.5051546
,
0.3
,
0.5051546
,
0.30333334
,
0.5051546
,
0.13333334
,
0.507732
,
0.13666667
,
0.507732
,
0.14
,
0.507732
,
0.3
,
0.507732
,
0.30333334
,
0.507732
,
0.30666667
,
0.507732
,
0.13333334
,
0.5103093
,
0.13666667
,
0.5103093
,
0.30333334
,
0.5103093
,
0.30666667
,
0.5103093
,
0.13333334
,
0.5128866
,
0.13666667
,
0.5128866
,
0.30333334
,
0.5128866
,
0.30666667
,
0.5128866
,
0.13333334
,
0.5154639
,
0.13666667
,
0.5154639
,
0.30333334
,
0.5154639
,
0.30666667
,
0.5154639
,
0.13333334
,
0.51804125
,
0.13666667
,
0.51804125
,
0.30333334
,
0.51804125
,
0.30666667
,
0.51804125
,
0.13333334
,
0.52061856
,
0.13666667
,
0.52061856
,
0.30333334
,
0.52061856
,
0.30666667
,
0.52061856
,
0.13333334
,
0.52319586
,
0.13666667
,
0.52319586
,
0.30333334
,
0.52319586
,
0.30666667
,
0.52319586
,
0.13
,
0.52577317
,
0.13333334
,
0.52577317
,
0.13666667
,
0.52577317
,
0.30333334
,
0.52577317
,
0.30666667
,
0.52577317
,
0.31
,
0.52577317
,
0.13333334
,
0.52835053
,
0.13666667
,
0.52835053
,
0.30333334
,
0.52835053
,
0.30666667
,
0.52835053
,
0.13333334
,
0.53092784
,
0.13666667
,
0.53092784
,
0.30333334
,
0.53092784
,
0.30666667
,
0.53092784
,
0.13333334
,
0.53350514
,
0.13666667
,
0.53350514
,
0.30333334
,
0.53350514
,
0.30666667
,
0.53350514
,
0.13333334
,
0.53608245
,
0.13666667
,
0.53608245
,
0.30333334
,
0.53608245
,
0.30666667
,
0.53608245
,
0.13333334
,
0.5386598
,
0.13666667
,
0.5386598
,
0.30333334
,
0.5386598
,
0.30666667
,
0.5386598
,
0.13333334
,
0.5412371
,
0.13666667
,
0.5412371
,
0.30333334
,
0.5412371
,
0.30666667
,
0.5412371
,
0.13333334
,
0.5438144
,
0.13666667
,
0.5438144
,
0.14
,
0.5438144
,
0.3
,
0.5438144
,
0.30333334
,
0.5438144
,
0.30666667
,
0.5438144
,
0.13666667
,
0.5463917
,
0.14
,
0.5463917
,
0.3
,
0.5463917
,
0.30333334
,
0.5463917
,
0.13666667
,
0.5489691
,
0.14
,
0.5489691
,
0.3
,
0.5489691
,
0.30333334
,
0.5489691
,
0.14
,
0.5515464
,
0.3
,
0.5515464
,
0.14
,
0.5541237
,
0.14333333
,
0.5541237
,
0.29666665
,
0.5541237
,
0.3
,
0.5541237
,
0.14333333
,
0.556701
,
0.29666665
,
0.556701
,
0.14333333
,
0.55927837
,
0.14666666
,
0.55927837
,
0.29333332
,
0.55927837
,
0.29666665
,
0.55927837
,
0.14333333
,
0.5618557
,
0.14666666
,
0.5618557
,
0.15
,
0.5618557
,
0.29
,
0.5618557
,
0.29333332
,
0.5618557
,
0.29666665
,
0.5618557
,
0.14666666
,
0.564433
,
0.15
,
0.564433
,
0.15333334
,
0.564433
,
0.28666666
,
0.564433
,
0.29
,
0.564433
,
0.29333332
,
0.564433
,
0.14666666
,
0.5670103
,
0.15
,
0.5670103
,
0.15333334
,
0.5670103
,
0.28666666
,
0.5670103
,
0.29
,
0.5670103
,
0.29333332
,
0.5670103
,
0.15333334
,
0.56958765
,
0.15666667
,
0.56958765
,
0.28333333
,
0.56958765
,
0.28666666
,
0.56958765
,
0.15666667
,
0.57216495
,
0.16
,
0.57216495
,
0.28
,
0.57216495
,
0.28333333
,
0.57216495
,
0.15666667
,
0.57474226
,
0.16
,
0.57474226
,
0.16333333
,
0.57474226
,
0.27666667
,
0.57474226
,
0.28
,
0.57474226
,
0.28333333
,
0.57474226
,
0.16
,
0.57731956
,
0.16333333
,
0.57731956
,
0.16666667
,
0.57731956
,
0.27333334
,
0.57731956
,
0.27666667
,
0.57731956
,
0.28
,
0.57731956
,
0.16333333
,
0.5798969
,
0.16666667
,
0.5798969
,
0.17
,
0.5798969
,
0.17333333
,
0.5798969
,
0.26666668
,
0.5798969
,
0.27
,
0.5798969
,
0.27333334
,
0.5798969
,
0.27666667
,
0.5798969
,
0.17
,
0.58247423
,
0.17333333
,
0.58247423
,
0.17666666
,
0.58247423
,
0.26333332
,
0.58247423
,
0.26666668
,
0.58247423
,
0.27
,
0.58247423
,
0.17333333
,
0.58505154
,
0.17666666
,
0.58505154
,
0.18
,
0.58505154
,
0.18333334
,
0.58505154
,
0.25666666
,
0.58505154
,
0.26
,
0.58505154
,
0.26333332
,
0.58505154
,
0.26666668
,
0.58505154
,
0.17666666
,
0.58762884
,
0.18333334
,
0.58762884
,
0.18666667
,
0.58762884
,
0.19
,
0.58762884
,
0.19333333
,
0.58762884
,
0.19666667
,
0.58762884
,
0.24333334
,
0.58762884
,
0.24666667
,
0.58762884
,
0.25
,
0.58762884
,
0.25333333
,
0.58762884
,
0.25666666
,
0.58762884
,
0.26333332
,
0.58762884
,
0.19
,
0.5902062
,
0.19333333
,
0.5902062
,
0.19666667
,
0.5902062
,
0.2
,
0.5902062
,
0.20333333
,
0.5902062
,
0.20666666
,
0.5902062
,
0.21
,
0.5902062
,
0.21333334
,
0.5902062
,
0.21666667
,
0.5902062
,
0.22
,
0.5902062
,
0.22333333
,
0.5902062
,
0.22666667
,
0.5902062
,
0.23
,
0.5902062
,
0.23333333
,
0.5902062
,
0.23666666
,
0.5902062
,
0.24
,
0.5902062
,
0.24333334
,
0.5902062
,
0.24666667
,
0.5902062
,
0.25
,
0.5902062
,
0.2
,
0.5927835
,
0.20333333
,
0.5927835
,
0.20666666
,
0.5927835
,
0.21
,
0.5927835
,
0.21333334
,
0.5927835
,
0.21666667
,
0.5927835
,
0.22
,
0.5927835
,
0.22333333
,
0.5927835
,
0.22666667
,
0.5927835
,
0.23
,
0.5927835
,
0.23333333
,
0.5927835
,
0.23666666
,
0.5927835
,
0.24
,
0.5927835
,
0.20666666
,
0.5953608
,
0.21
,
0.5953608
,
0.21333334
,
0.5953608
,
0.21666667
,
0.5953608
,
0.22
,
0.5953608
,
0.22333333
,
0.5953608
,
0.22666667
,
0.5953608
,
0.23
,
0.5953608
,
0.23333333
,
0.5953608
]}]}}
// const tmpData1 = {"result":{"text":[{"type":1,"points":[0.23666666,0.45360824,0.24,0.45360824,0.22,0.45618558,0.22333333,0.45618558,0.22666667,0.45618558,0.23,0.45618558,0.23333333,0.45618558,0.24333334,0.45618558,0.24666667,0.45618558,0.25,0.45618558,0.25333333,0.45618558,0.25666666,0.45618558,0.26,0.45618558,0.20666666,0.45876288,0.21,0.45876288,0.21333334,0.45876288,0.21666667,0.45876288,0.26333332,0.45876288,0.26666668,0.45876288,0.27,0.45876288,0.27333334,0.45876288,0.19666667,0.46134022,0.2,0.46134022,0.20333333,0.46134022,0.27666667,0.46134022,0.28,0.46134022,0.28333333,0.46134022,0.17666666,0.46391752,0.18,0.46391752,0.18333334,0.46391752,0.18666667,0.46391752,0.19,0.46391752,0.19333333,0.46391752,0.28666666,0.46391752,0.29,0.46391752,0.29333332,0.46391752,0.29666665,0.46391752,0.3,0.46391752,0.30333334,0.46391752,0.30666667,0.46391752,0.31,0.46391752,0.31333333,0.46391752,0.31666666,0.46391752,0.32,0.46391752,0.32333332,0.46391752,0.32666665,0.46391752,0.17,0.46649486,0.17333333,0.46649486,0.28666666,0.46649486,0.33,0.46649486,0.33333334,0.46649486,0.33666667,0.46649486,0.34,0.46649486,0.34333333,0.46649486,0.34666666,0.46649486,0.35,0.46649486,0.35333332,0.46649486,0.35666665,0.46649486,0.36,0.46649486,0.36333334,0.46649486,0.36666667,0.46649486,0.37,0.46649486,0.16666667,0.46907216,0.28666666,0.46907216,0.16333333,0.4716495,0.28666666,0.4716495,0.16333333,0.4742268,0.28666666,0.4742268,0.16333333,0.47680414,0.28666666,0.47680414,0.16,0.47938144,0.28666666,0.47938144,0.16,0.48195878,0.28666666,0.48195878,0.16,0.48453608,0.28666666,0.48453608,0.16,0.48711342,0.29,0.48711342,0.15666667,0.48969072,0.29,0.48969072,0.15333334,0.49226806,0.29,0.49226806,0.15333334,0.49484536,0.29,0.49484536,0.15333334,0.4974227,0.29,0.4974227,0.15,0.5,0.29,0.5,0.15,0.5025773,0.29,0.5025773,0.15,0.5051546,0.29,0.5051546,0.15,0.507732,0.28666666,0.507732,0.15,0.5103093,0.28666666,0.5103093,0.15,0.5128866,0.28666666,0.5128866,0.15,0.5154639,0.28666666,0.5154639,0.15,0.51804125,0.28666666,0.51804125,0.15,0.52061856,0.28666666,0.52061856,0.15,0.52319586,0.28333333,0.52319586,0.15333334,0.52577317,0.28333333,0.52577317,0.15333334,0.52835053,0.28,0.52835053,0.15333334,0.53092784,0.27666667,0.53092784,0.15333334,0.53350514,0.27333334,0.53350514,0.15333334,0.53608245,0.26666668,0.53608245,0.27,0.53608245,0.15333334,0.5386598,0.25666666,0.5386598,0.26,0.5386598,0.26333332,0.5386598,0.15666667,0.5412371,0.25,0.5412371,0.25333333,0.5412371,0.15666667,0.5438144,0.24333334,0.5438144,0.24666667,0.5438144,0.15666667,0.5463917,0.23333333,0.5463917,0.23666666,0.5463917,0.24,0.5463917,0.16,0.5489691,0.23,0.5489691,0.16333333,0.5515464,0.22333333,0.5515464,0.22666667,0.5515464,0.16666667,0.5541237,0.17,0.5541237,0.17333333,0.5541237,0.17666666,0.5541237,0.18,0.5541237,0.18333334,0.5541237,0.18666667,0.5541237,0.19,0.5541237,0.19333333,0.5541237,0.19666667,0.5541237,0.2,0.5541237,0.20333333,0.5541237,0.20666666,0.5541237,0.21,0.5541237,0.21333334,0.5541237,0.21666667,0.5541237,0.22,0.5541237]}]}}
// const tmpData1 = {"result":{"text":[{"type":1,"points":[0.23666666,0.45360824,0.24,0.45360824,0.22,0.45618558,0.22333333,0.45618558,0.22666667,0.45618558,0.23,0.45618558,0.23333333,0.45618558,0.24333334,0.45618558,0.24666667,0.45618558,0.25,0.45618558,0.25333333,0.45618558,0.25666666,0.45618558,0.26,0.45618558,0.20666666,0.45876288,0.21,0.45876288,0.21333334,0.45876288,0.21666667,0.45876288,0.26333332,0.45876288,0.26666668,0.45876288,0.27,0.45876288,0.27333334,0.45876288,0.19666667,0.46134022,0.2,0.46134022,0.20333333,0.46134022,0.27666667,0.46134022,0.28,0.46134022,0.28333333,0.46134022,0.17666666,0.46391752,0.18,0.46391752,0.18333334,0.46391752,0.18666667,0.46391752,0.19,0.46391752,0.19333333,0.46391752,0.28666666,0.46391752,0.29,0.46391752,0.29333332,0.46391752,0.29666665,0.46391752,0.3,0.46391752,0.30333334,0.46391752,0.30666667,0.46391752,0.31,0.46391752,0.31333333,0.46391752,0.31666666,0.46391752,0.32,0.46391752,0.32333332,0.46391752,0.32666665,0.46391752,0.17,0.46649486,0.17333333,0.46649486,0.28666666,0.46649486,0.33,0.46649486,0.33333334,0.46649486,0.33666667,0.46649486,0.34,0.46649486,0.34333333,0.46649486,0.34666666,0.46649486,0.35,0.46649486,0.35333332,0.46649486,0.35666665,0.46649486,0.36,0.46649486,0.36333334,0.46649486,0.36666667,0.46649486,0.37,0.46649486,0.16666667,0.46907216,0.28666666,0.46907216,0.16333333,0.4716495,0.28666666,0.4716495,0.16333333,0.4742268,0.28666666,0.4742268,0.16333333,0.47680414,0.28666666,0.47680414,0.16,0.47938144,0.28666666,0.47938144,0.16,0.48195878,0.28666666,0.48195878,0.16,0.48453608,0.28666666,0.48453608,0.16,0.48711342,0.29,0.48711342,0.15666667,0.48969072,0.29,0.48969072,0.15333334,0.49226806,0.29,0.49226806,0.15333334,0.49484536,0.29,0.49484536,0.15333334,0.4974227,0.29,0.4974227,0.15,0.5,0.29,0.5,0.15,0.5025773,0.29,0.5025773,0.15,0.5051546,0.29,0.5051546,0.15,0.507732,0.28666666,0.507732,0.15,0.5103093,0.28666666,0.5103093,0.15,0.5128866,0.28666666,0.5128866,0.15,0.5154639,0.28666666,0.5154639,0.15,0.51804125,0.28666666,0.51804125,0.15,0.52061856,0.28666666,0.52061856,0.15,0.52319586,0.28333333,0.52319586,0.15333334,0.52577317,0.28333333,0.52577317,0.15333334,0.52835053,0.28,0.52835053,0.15333334,0.53092784,0.27666667,0.53092784,0.15333334,0.53350514,0.27333334,0.53350514,0.15333334,0.53608245,0.26666668,0.53608245,0.27,0.53608245,0.15333334,0.5386598,0.25666666,0.5386598,0.26,0.5386598,0.26333332,0.5386598,0.15666667,0.5412371,0.25,0.5412371,0.25333333,0.5412371,0.15666667,0.5438144,0.24333334,0.5438144,0.24666667,0.5438144,0.15666667,0.5463917,0.23333333,0.5463917,0.23666666,0.5463917,0.24,0.5463917,0.16,0.5489691,0.23,0.5489691,0.16333333,0.5515464,0.22333333,0.5515464,0.22666667,0.5515464,0.16666667,0.5541237,0.17,0.5541237,0.17333333,0.5541237,0.17666666,0.5541237,0.18,0.5541237,0.18333334,0.5541237,0.18666667,0.5541237,0.19,0.5541237,0.19333333,0.5541237,0.19666667,0.5541237,0.2,0.5541237,0.20333333,0.5541237,0.20666666,0.5541237,0.21,0.5541237,0.21333334,0.5541237,0.21666667,0.5541237,0.22,0.5541237]}]}}
// const tmpData1 = {"result":{"text":[{"left":0.22833333909511566,"right":0.3166666626930237,"top":0.5590206384658813,"bottom":0.628608226776123,"score":0.8552894592285156,"content":"Aa"},{"left":0.6816666126251221,"right":0.7666666507720947,"top":0.42257729172706604,"bottom":0.49860823154449463,"score":0.8148108720779419,"content":"Aa"},{"left":0.6983333230018616,"right":0.7666666507720947,"top":0.5564433336257935,"bottom":0.628608226776123,"score":0.7532452344894409,"content":"Aa"}]}}
// const tmpData1 = {"result":{"text":[{"left":0.22833333909511566,"right":0.3166666626930237,"top":0.5590206384658813,"bottom":0.628608226776123,"score":0.8552894592285156,"content":"Aa"},{"left":0.6816666126251221,"right":0.7666666507720947,"top":0.42257729172706604,"bottom":0.49860823154449463,"score":0.8148108720779419,"content":"Aa"},{"left":0.6983333230018616,"right":0.7666666507720947,"top":0.5564433336257935,"bottom":0.628608226776123,"score":0.7532452344894409,"content":"Aa"}]}}
// const tmpData1 = {"result":{"text":[{"left":0.09814612567424774,"right":0.4471101462841034,"top":0.006644518114626408,"bottom":0.15614618360996246,"score":1,"content":"CTrace,write,and say."},{"left":0.10796073824167252,"right":0.5049073100090027,"top":0.1827242523431778,"bottom":0.4518272280693054,"score":0.9702169299125671,"content":"AAAA"},{"left":0.5834242105484009,"right":0.659760057926178,"top":0.17607973515987396,"bottom":0.4485049843788147,"score":0.9523985981941223,"content":"A"},{"left":0.6706652045249939,"right":0.8298800587654114,"top":0.15614618360996246,"bottom":0.43853819370269775,"score":0.9089533090591431,"content":"A"},{"left":0.5866957306861877,"right":0.6521264910697937,"top":0.634551465511322,"bottom":0.8504983186721802,"score":0.8326067328453064,"content":"a"},{"left":0.7699018716812134,"right":0.8276990056037903,"top":0.6411960124969482,"bottom":0.8039867281913757,"score":0.8035371899604797,"content":"a"}]}}
// const tmpData1 = {"result":{"text":[{"left":0.09814612567424774,"right":0.4471101462841034,"top":0.006644518114626408,"bottom":0.15614618360996246,"score":1,"content":"CTrace,write,and say."},{"left":0.10796073824167252,"right":0.5049073100090027,"top":0.1827242523431778,"bottom":0.4518272280693054,"score":0.9702169299125671,"content":"AAAA"},{"left":0.5834242105484009,"right":0.659760057926178,"top":0.17607973515987396,"bottom":0.4485049843788147,"score":0.9523985981941223,"content":"A"},{"left":0.6706652045249939,"right":0.8298800587654114,"top":0.15614618360996246,"bottom":0.43853819370269775,"score":0.9089533090591431,"content":"A"},{"left":0.5866957306861877,"right":0.6521264910697937,"top":0.634551465511322,"bottom":0.8504983186721802,"score":0.8326067328453064,"content":"a"},{"left":0.7699018716812134,"right":0.8276990056037903,"top":0.6411960124969482,"bottom":0.8039867281913757,"score":0.8035371899604797,"content":"a"}]}}
...
@@ -3886,12 +4018,11 @@ cc.Class({
...
@@ -3886,12 +4018,11 @@ cc.Class({
},
},
checkGameEnd
()
{
checkGameEnd
(
arr
)
{
const
arr
=
this
.
animaNodeArr
;
if
(
!
arr
)
{
arr
=
this
.
animaNodeArr
;
}
const
isEnd
=
arr
.
every
(
node
=>
{
const
isEnd
=
arr
.
every
(
node
=>
{
return
node
.
isShowEnd
;
return
node
.
isShowEnd
;
})
})
...
@@ -5558,6 +5689,11 @@ cc.Class({
...
@@ -5558,6 +5689,11 @@ cc.Class({
case
"
1
"
:
case
"
1
"
:
this
.
setOneAnimaSmall
(
item
);
this
.
setOneAnimaSmall
(
item
);
break
;
break
;
case
"
2
"
:
this
.
setOneCircleAnima
(
item
);
break
;
// case "0":
// case "0":
// this.setOneHotZonePic(item);
// this.setOneHotZonePic(item);
// break;
// break;
...
@@ -6097,6 +6233,20 @@ cc.Class({
...
@@ -6097,6 +6233,20 @@ cc.Class({
},
},
setOneWriteAnima
(
data
)
{
const
animaNode
=
this
.
setOneAnimaSmall
(
data
);
this
.
animaNodeArr
.
push
(
animaNode
);
},
setOneCircleAnima
(
data
)
{
const
animaNode
=
this
.
setOneAnimaSmall
(
data
);
this
.
circleAnimaNodeArr
.
push
(
animaNode
);
},
setOneAnimaSmall
(
data
)
{
setOneAnimaSmall
(
data
)
{
...
@@ -6221,7 +6371,6 @@ cc.Class({
...
@@ -6221,7 +6371,6 @@ cc.Class({
// }
// }
// }
// }
animaNode
.
dragonDisplay
=
dragonDisplay
;
animaNode
.
dragonDisplay
=
dragonDisplay
;
this
.
animaNodeArr
.
push
(
animaNode
);
}
}
...
@@ -6242,6 +6391,8 @@ cc.Class({
...
@@ -6242,6 +6391,8 @@ cc.Class({
});
});
});
});
return
animaNode
;
},
},
playRightAnim
(
animaNode
)
{
playRightAnim
(
animaNode
)
{
...
@@ -6253,6 +6404,10 @@ cc.Class({
...
@@ -6253,6 +6404,10 @@ cc.Class({
if
(
dragonDisplay
&&
animationNames
&&
animationNames
.
length
>
0
)
{
if
(
dragonDisplay
&&
animationNames
&&
animationNames
.
length
>
0
)
{
dragonDisplay
.
playAnimation
(
animationNames
[
0
],
1
);
dragonDisplay
.
playAnimation
(
animationNames
[
0
],
1
);
}
}
playAudio
(
this
.
rightClip
,
()
=>
{
})
},
},
setOneHotZonePic
(
data
)
{
setOneHotZonePic
(
data
)
{
...
...
form/src/app/app.module.ts
View file @
5ef6151d
...
@@ -29,6 +29,8 @@ import { CustomActionComponent } from './common/custom-action/custom-action.comp
...
@@ -29,6 +29,8 @@ import { CustomActionComponent } from './common/custom-action/custom-action.comp
import
{
UploadDragonBoneComponent
}
from
'
./common/upload-dragon-bone/upload-dragon-bone.component
'
;
import
{
UploadDragonBoneComponent
}
from
'
./common/upload-dragon-bone/upload-dragon-bone.component
'
;
import
{
SubTemplateComponent
}
from
'
./common/sub-template/sub-template.component
'
;
import
{
SubTemplateComponent
}
from
'
./common/sub-template/sub-template.component
'
;
import
{
FormulaInputComponent
}
from
'
./common/formula-input/formula-input.component
'
;
import
{
FormulaInputComponent
}
from
'
./common/formula-input/formula-input.component
'
;
import
{
MultRectComponent
}
from
'
./common/mult-rect/mult-rect.component
'
;
registerLocaleData
(
zh
);
registerLocaleData
(
zh
);
...
@@ -51,6 +53,7 @@ registerLocaleData(zh);
...
@@ -51,6 +53,7 @@ registerLocaleData(zh);
CustomActionComponent
,
CustomActionComponent
,
UploadDragonBoneComponent
,
UploadDragonBoneComponent
,
FormulaInputComponent
,
FormulaInputComponent
,
MultRectComponent
,
],
],
imports
:
[
imports
:
[
BrowserModule
,
BrowserModule
,
...
...
form/src/app/common/custom-hot-zone/Unit.ts
View file @
5ef6151d
...
@@ -1961,6 +1961,9 @@ export class HotZoneItem extends MySprite {
...
@@ -1961,6 +1961,9 @@ export class HotZoneItem extends MySprite {
isAnimaStyle
=
false
;
isAnimaStyle
=
false
;
rectFillColor
=
'
#ffffff
'
;
rectEdgeColor
=
'
#1bfff7
'
;
private
_itemType
;
private
_itemType
;
private
shapeRect
:
ShapeRect
;
private
shapeRect
:
ShapeRect
;
...
@@ -1980,7 +1983,7 @@ export class HotZoneItem extends MySprite {
...
@@ -1980,7 +1983,7 @@ export class HotZoneItem extends MySprite {
rect
.
x
=
-
w
/
2
;
rect
.
x
=
-
w
/
2
;
rect
.
y
=
-
h
/
2
;
rect
.
y
=
-
h
/
2
;
rect
.
setSize
(
w
,
h
);
rect
.
setSize
(
w
,
h
);
rect
.
fillColor
=
'
#ffffff
'
;
rect
.
fillColor
=
this
.
rectFillColor
;
rect
.
alpha
=
0.2
;
rect
.
alpha
=
0.2
;
this
.
addChild
(
rect
);
this
.
addChild
(
rect
);
}
}
...
@@ -2103,7 +2106,7 @@ export class HotZoneItem extends MySprite {
...
@@ -2103,7 +2106,7 @@ export class HotZoneItem extends MySprite {
this
.
ctx
.
setLineDash
([
5
,
5
]);
this
.
ctx
.
setLineDash
([
5
,
5
]);
this
.
ctx
.
lineWidth
=
2
;
this
.
ctx
.
lineWidth
=
2
;
this
.
ctx
.
strokeStyle
=
'
#1bfff7
'
;
this
.
ctx
.
strokeStyle
=
this
.
rectEdgeColor
;
// this.ctx.fillStyle = '#ffffff';
// this.ctx.fillStyle = '#ffffff';
this
.
ctx
.
beginPath
();
this
.
ctx
.
beginPath
();
...
...
form/src/app/common/custom-hot-zone/custom-hot-zone.component.html
View file @
5ef6151d
...
@@ -129,7 +129,15 @@
...
@@ -129,7 +129,15 @@
<div
*
ngIf=
"customTypeGroupArr[it.gIdx]?.mathLabel"
align=
"center"
style=
"margin-top: 5px; display: flex; align-items: center; justify-content: center;"
>
<div
*
ngIf=
"customTypeGroupArr[it.gIdx]?.mathLabel"
align=
"center"
style=
"margin-top: 5px; display: flex; align-items: center; justify-content: center;"
>
<span
style=
"width: 30%;"
>
{{customTypeGroupArr[it.gIdx].mathLabel + ':'}}
</span>
<span
style=
"width: 30%;"
>
{{customTypeGroupArr[it.gIdx].mathLabel + ':'}}
</span>
<app-formula-input
[(
ngfModel
)]="
it
.
mathLabel
"
></app-formula-input>
<app-formula-input
[(
ngfModel
)]="
it
.
mathLabel
"
></app-formula-input>
</div>
<div
*
ngIf=
"customTypeGroupArr[it.gIdx]?.multRect"
align=
"center"
style=
"margin-top: 5px; display: flex; align-items: center; justify-content: center;"
>
<app-mult-rect
[
rectArr
]="
it
.
multRect
||
[]"
(
save
)="
onMultRectSave
($
event
,
it
)"
>
</app-mult-rect>
</div>
</div>
...
...
form/src/app/common/custom-hot-zone/custom-hot-zone.component.ts
View file @
5ef6151d
...
@@ -130,6 +130,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -130,6 +130,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
'
posY
'
,
'
posY
'
,
'
mathLabel
'
,
'
mathLabel
'
,
'
checkbox
'
,
'
checkbox
'
,
'
multRect
'
]
]
...
@@ -391,6 +392,8 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -391,6 +392,8 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
this
.
setItemCenterDot
(
item
,
saveData
);
this
.
setItemCenterDot
(
item
,
saveData
);
this
.
setItemMultRect
(
item
,
saveData
);
return
item
;
return
item
;
}
}
...
@@ -495,6 +498,12 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -495,6 +498,12 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
}
}
}
}
setItemMultRect
(
item
,
saveData
)
{
if
(
saveData
&&
saveData
.
itemMultRect
)
{
}
}
setItemLabel
(
item
,
saveData
)
{
setItemLabel
(
item
,
saveData
)
{
...
@@ -680,6 +689,10 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -680,6 +689,10 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
}
}
}
}
if
(
group
.
multRect
)
{
this
.
showItemMultRect
();
}
item
.
drag
.
visible
=
group
.
drag
;
item
.
drag
.
visible
=
group
.
drag
;
...
@@ -687,6 +700,10 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -687,6 +700,10 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
item
.
setAnimaStyle
(
group
.
animaSmall
)
item
.
setAnimaStyle
(
group
.
animaSmall
)
}
showItemMultRect
()
{
}
}
showItemDrag
(
item
)
{
showItemDrag
(
item
)
{
...
@@ -736,6 +753,9 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -736,6 +753,9 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
}
}
refreshItem
(
item
)
{
refreshItem
(
item
)
{
//弃用
switch
(
item
.
itemType
)
{
switch
(
item
.
itemType
)
{
case
'
rect
'
:
case
'
rect
'
:
this
.
setRectState
(
item
);
this
.
setRectState
(
item
);
...
@@ -1536,6 +1556,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -1536,6 +1556,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
break
;
break
;
}
}
}
}
copyItem
(
it
)
{
copyItem
(
it
)
{
...
@@ -1813,6 +1834,14 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -1813,6 +1834,14 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
closeAfterPanel
()
{
closeAfterPanel
()
{
this
.
refresh
();
this
.
refresh
();
}
}
onMultRectSave
(
e
,
item
)
{
console
.
log
(
'
in onMultRectSave:
'
,
e
);
item
.
multRect
=
e
;
}
/**
/**
* 刷新 渲染页面
* 刷新 渲染页面
*/
*/
...
...
form/src/app/common/mult-rect/mult-rect.component.html
0 → 100644
View file @
5ef6151d
<div
>
<button
nz-button
(
click
)="
setRectBtnClick
()"
style=
" border-radius: 0.5rem; border: 1px solid #ddd;"
>
<i
nz-icon
nzType=
"tool"
nzTheme=
"outline"
></i>
{{btnName}}
</button>
<!--配置龙骨面板-->
<nz-modal
[(
nzVisible
)]="
panelVisible
"
(
nzAfterClose
)="
panelCancel
()"
nzTitle=
"配置多矩形集合"
(
nzOnCancel
)="
panelCancel
()"
(
nzOnOk
)="
panelOk
()"
nzOkText=
"保存"
>
<div
*
ngFor=
"let r of rectArr; let i = index"
style=
"margin-top:5px; width:100%; height:40px; border-radius: 0.5rem; border: solid 2px #ccc;
display: flex; align-items:center; justify-content:space-between"
>
<div>
<span
style=
"margin-left: 10px; font-weight: 600; font-size: 16px "
>
{{'rect-' + (i+1)}}
</span>
</div>
<div>
<nz-radio-group
[
ngModel
]="
r
.
color
"
(
ngModelChange
)="
radioChange
($
event
,
r
)"
style=
"display: flex; align-items: center; justify-content: center; flex-wrap: wrap;"
>
<div
*
ngFor=
"let colorData of colorArr; let j = index"
style=
"display: flex; "
>
<label
nz-radio
nzValue=
"{{colorData.color}}"
>
{{colorData.name}}
</label>
</div>
</nz-radio-group>
</div>
<div>
<button
nz-button
(
click
)="
deleteRect
(
r
)"
nzType=
"danger"
style=
" margin-right: 5px;"
>
X
</button>
</div>
</div>
<button
nz-button
(
click
)="
addRect
()"
nzType=
"dashed"
style=
"margin-top: 20px; "
>
<i
nz-icon
nzType=
"plus-circle"
nzTheme=
"outline"
></i>
添加矩形
</button>
<!-- <div class="anima-upload-btn">
<span style="margin-right: 10px">上传 ske_json 文件: </span>
<nz-upload [nzShowUploadList]="false" nzAccept="application/json" [nzAction]="uploadUrl" [nzData]="uploadData"
(nzChange)="skeJsonHandleChange($event)">
<button nz-button><i nz-icon nzType="upload"></i><span>Upload</span></button>
</nz-upload>
<i *ngIf="isSkeJsonLoading" style="margin-left: 10px;" nz-icon [nzType]="'loading'"></i>
<span *ngIf="skeJsonData && skeJsonData['name']" style="margin-left: 10px"><u> {{skeJsonData['name']}} </u></span>
</div>
<div class="anima-upload-btn">
<span style="margin-right: 10px">上传 tex_json 文件: </span>
<nz-upload [nzShowUploadList]="false" nzAccept="application/json" [nzAction]="uploadUrl" [nzData]="uploadData"
(nzChange)="texJsonHandleChange($event)">
<button nz-button><i nz-icon nzType="upload"></i><span>Upload</span></button>
</nz-upload>
<i *ngIf="isTexJsonLoading" style="margin-left: 10px;" nz-icon [nzType]="'loading'"></i>
<span *ngIf="texJsonData && texJsonData['name']" style="margin-left: 10px"><u> {{texJsonData['name']}} </u></span>
</div>
<div class="anima-upload-btn">
<span style="margin-right: 10px">上传 tex_png 文件: </span>
<nz-upload [nzShowUploadList]="false" nzAccept="image/*" [nzAction]="uploadUrl" [nzData]="uploadData"
(nzChange)="texPngHandleChange($event)">
<button nz-button><i nz-icon nzType="upload"></i><span>Upload</span></button>
</nz-upload>
<i *ngIf="isTexPngLoading" style="margin-left: 10px;" nz-icon [nzType]="'loading'"></i>
<span *ngIf="texPngData && texPngData['name']" style="margin-left: 10px"><u> {{texPngData['name']}} </u></span>
</div>
<div class="anima-upload-btn" *ngIf="animaNames && animaNames.length > 0">
提示:需包含动画: {{animaNames.toString()}}.
</div> -->
</nz-modal>
</div>
<div
style=
"justify-content:space-between"
>
</div>
\ No newline at end of file
form/src/app/common/mult-rect/mult-rect.component.scss
0 → 100644
View file @
5ef6151d
form/src/app/common/mult-rect/mult-rect.component.ts
0 → 100644
View file @
5ef6151d
import
{
ApplicationRef
,
Component
,
EventEmitter
,
Input
,
OnChanges
,
OnDestroy
,
Output
}
from
'
@angular/core
'
;
import
{
NzMessageService
,
UploadXHRArgs
,
UploadFile
}
from
'
ng-zorro-antd
'
;
@
Component
({
selector
:
'
app-mult-rect
'
,
templateUrl
:
'
./mult-rect.component.html
'
,
styleUrls
:
[
'
./mult-rect.component.scss
'
]
})
export
class
MultRectComponent
implements
OnDestroy
,
OnChanges
{
uploading
=
false
;
progress
=
0
;
@
Input
()
btnName
=
'
配置多矩形集合
'
;
@
Input
()
animaNames
=
[];
@
Input
()
rectArr
=
[];
@
Output
()
save
=
new
EventEmitter
();
@
Output
()
refreshEmitter
=
new
EventEmitter
();
uploadUrl
;
uploadData
;
panelVisible
=
false
;
colorArr
=
[
{
name
:
'
red
'
,
color
:
'
#ff0000
'
},
{
name
:
'
green
'
,
color
:
'
#00ff00
'
},
{
name
:
'
blue
'
,
color
:
'
#0000ff
'
},
{
name
:
'
yellow
'
,
color
:
'
#ffff00
'
},
]
constructor
(
private
appRef
:
ApplicationRef
,
private
nzMessageService
:
NzMessageService
)
{
// this.uploadUrl = (<any> window).courseware.uploadUrl();
// this.uploadData = (<any> window).courseware.uploadData();
// window['air'].getUploadCallback = (url, data) => {
// this.uploadUrl = url;
// this.uploadData = data;
// };
}
ngOnChanges
()
{
}
radioChange
(
e
,
item
)
{
console
.
log
(
'
e:
'
,
e
);
item
.
color
=
e
;
}
addRect
()
{
this
.
rectArr
.
push
(
{
color
:
this
.
colorArr
[
0
].
color
,
width
:
20
,
height
:
20
,
x
:
20
,
y
:
20
,
}
)
}
deleteRect
(
item
)
{
const
index
=
this
.
rectArr
.
indexOf
(
item
);
if
(
index
!=
-
1
)
{
this
.
rectArr
.
splice
(
index
,
1
);
}
}
/**
* 刷新 渲染页面
*/
refresh
()
{
// this.refreshEmitter.emit();
setTimeout
(()
=>
{
this
.
appRef
.
tick
();
},
1
);
}
setRectBtnClick
()
{
this
.
panelVisible
=
true
;
}
panelOk
()
{
this
.
save
.
emit
(
this
.
rectArr
)
this
.
panelVisible
=
false
;
}
panelCancel
()
{
this
.
panelVisible
=
false
;
this
.
refresh
();
}
ngOnDestroy
()
{
}
}
form/src/app/form/form.component.ts
View file @
5ef6151d
...
@@ -22,7 +22,7 @@ import { removeItemFromArr } from '../play/Unit';
...
@@ -22,7 +22,7 @@ import { removeItemFromArr } from '../play/Unit';
export
class
FormComponent
implements
OnInit
,
OnChanges
,
OnDestroy
,
AfterViewInit
{
export
class
FormComponent
implements
OnInit
,
OnChanges
,
OnDestroy
,
AfterViewInit
{
// 储存数据用
// 储存数据用
saveKey
=
"
cc_mz_write_02
_link
"
;
saveKey
=
"
cc_mz_write_02
"
;
// 储存对象
// 储存对象
item
;
item
;
// 公式键盘
// 公式键盘
...
@@ -152,6 +152,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
...
@@ -152,6 +152,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
name
:
'
画圈区域
'
,
name
:
'
画圈区域
'
,
rect
:
true
,
rect
:
true
,
isCopy
:
true
,
isCopy
:
true
,
multRect
:
true
},
},
{
{
...
...
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