Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP72
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
OP72
Commits
db3f83f7
Commit
db3f83f7
authored
Feb 06, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
c08a3bd0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
5 deletions
+37
-5
OP72.meta
assets/OP72.meta
+15
-1
OP72.js
assets/OP72/scene/OP72.js
+22
-4
No files found.
assets/OP72.meta
View file @
db3f83f7
{"ver":"1.1.2","uuid":"45d5418b-ed48-454d-9084-abb7007f0b1e","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
{
\ No newline at end of file
"ver": "1.1.2",
"uuid": "45d5418b-ed48-454d-9084-abb7007f0b1e",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/OP72/scene/OP72.js
View file @
db3f83f7
...
@@ -118,6 +118,8 @@ cc.Class({
...
@@ -118,6 +118,8 @@ cc.Class({
getDefaultData() {
getDefaultData() {
return {"book_id":"Oxford_Phonics_World_1_SB","part_name":"d","page_id":"27","bgItem":{"url":"http://teach.cdn.ireadabc.com/945c6fde28c15a813d8dfc5de8929e41.png","rect":{"x":225.82,"y":0,"width":1127.37,"height":595}},"hotZoneItemArr":[{"id":"1669019994881","index":0,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":657.9249224020805,"posY":238.69032876480316,"rect":{"x":403.62,"y":210.21,"width":56.96,"height":56.96},"pointItem":1,"linkItem":11},{"id":"1669020012193","index":1,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":806.8981997528158,"posY":236.06138857626075,"rect":{"x":552.6,"y":207.58,"width":56.96,"height":56.96},"pointItem":2,"linkItem":7},{"id":"1669020012444","index":2,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":956.9864005734084,"posY":238.44295555716474,"rect":{"x":702.68,"y":209.96,"width":56.96,"height":56.96},"pointItem":3,"linkItem":10},{"id":"1669020012704","index":3,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":659.172295609719,"posY":434.4897830940245,"rect":{"x":404.87,"y":406.01,"width":56.96,"height":56.96},"pointItem":4,"linkItem":12},{"id":"1669020012952","index":4,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":808.1455729604542,"posY":438.6134696978437,"rect":{"x":553.85,"y":410.13,"width":56.96,"height":56.96},"pointItem":5,"linkItem":8},{"id":"1669020013223","index":5,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":958.2337737810468,"posY":438.10821611312053,"rect":{"x":703.92,"y":409.63,"width":56.96,"height":56.96},"pointItem":6,"linkItem":9},{"id":"1669020042992","index":6,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":536.4853543622488,"posY":168.95976336167598,"rect":{"x":282.19,"y":140.48,"width":56.96,"height":56.96},"pointItem":7,"linkItem":2},{"id":"1669020043214","index":7,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":537.2410469367692,"posY":338.2189961179562,"rect":{"x":282.94,"y":309.74,"width":56.96,"height":56.96},"pointItem":8,"linkItem":5},{"id":"1669020043453","index":8,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":538.6121067482268,"posY":509.22379497703054,"rect":{"x":284.31,"y":480.74,"width":56.96,"height":56.96},"pointItem":9,"linkItem":6},{"id":"1669020043689","index":9,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":1084.6807832081663,"posY":166.9563168817971,"rect":{"x":830.37,"y":138.48,"width":56.96,"height":56.96},"pointItem":10,"linkItem":3},{"id":"1669020043963","index":10,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":1086.9281564158046,"posY":340.4663693255946,"rect":{"x":832.62,"y":311.99,"width":56.96,"height":56.96},"pointItem":11,"linkItem":1},{"id":"1669020044583","index":11,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"0","posX":1086.6807832081663,"posY":512.1001083732114,"rect":{"x":832.37,"y":483.62,"width":56.96,"height":56.96},"pointItem":12,"linkItem":4},{"id":"1669020075443","index":12,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"skeJsonData":{"url":"http://teach.cdn.ireadabc.com/3ff24e65b13a30b423fbef52e968e81b.json","name":"db_letter_h_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/a813393f5f7eb5e2f8037f07051b2dc4.json","name":"db_letter_h_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/f8e9048427fbe69fc2bd00f6e7d1d9d6.png","name":"db_letter_h_tex.png"},"dragDot":{"x":789.5,"y":297.5},"gIdx":"1","posX":434.58869297979686,"posY":168.70894367415872,"rect":{"x":106.68,"y":100.79,"width":204.18,"height":135.83},"rectNew":13},{"id":"1669020145895","index":13,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"skeJsonData":{"url":"http://teach.cdn.ireadabc.com/5f00c9ddccc7a8c3c370a596a9518d75.json","name":"db_letter_g_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/f1b9954b5a66fac25f55fbaf2f4f61ee.json","name":"db_letter_g_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/70f2183080ea469b30b90065e9b0c881.png","name":"db_letter_g_tex.png"},"dragDot":{"x":789.5,"y":297.5},"gIdx":"1","posX":434.58869297979686,"posY":337.8479363064986,"rect":{"x":106.68,"y":269.93,"width":204.18,"height":135.83},"rectNew":14},{"id":"1669020146389","index":14,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"skeJsonData":{"url":"http://teach.cdn.ireadabc.com/3ff24e65b13a30b423fbef52e968e81b.json","name":"db_letter_h_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/a813393f5f7eb5e2f8037f07051b2dc4.json","name":"db_letter_h_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/f8e9048427fbe69fc2bd00f6e7d1d9d6.png","name":"db_letter_h_tex.png"},"dragDot":{"x":789.5,"y":297.5},"gIdx":"1","posX":434.8360661874352,"posY":513.3474815808497,"rect":{"x":106.93,"y":445.43,"width":204.18,"height":135.83},"rectNew":15},{"id":"1669020147402","index":15,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"skeJsonData":{"url":"http://teach.cdn.ireadabc.com/5e386a75b3ffb5e44832343272369880.json","name":"db_letter_e_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/4e4532289977137fd220d36779dd9d48.json","name":"db_letter_e_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/65e468c22b2038dee9c08acbe5d51991.png","name":"db_letter_e_tex.png"},"dragDot":{"x":789.5,"y":297.5},"gIdx":"1","posX":1187.704196976596,"posY":168.21419725888188,"rect":{"x":859.78,"y":100.3,"width":204.18,"height":135.83},"rectNew":16},{"id":"1669020147785","index":16,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"skeJsonData":{"url":"http://teach.cdn.ireadabc.com/3ff24e65b13a30b423fbef52e968e81b.json","name":"db_letter_h_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/a813393f5f7eb5e2f8037f07051b2dc4.json","name":"db_letter_h_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/f8e9048427fbe69fc2bd00f6e7d1d9d6.png","name":"db_letter_h_tex.png"},"dragDot":{"x":789.5,"y":297.5},"gIdx":"1","posX":1185.704196976596,"posY":343.2189961179562,"rect":{"x":857.78,"y":275.3,"width":204.18,"height":135.83},"rectNew":17},{"id":"1669020148400","index":17,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"skeJsonData":{"url":"http://teach.cdn.ireadabc.com/3ff24e65b13a30b423fbef52e968e81b.json","name":"db_letter_h_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/a813393f5f7eb5e2f8037f07051b2dc4.json","name":"db_letter_h_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/f8e9048427fbe69fc2bd00f6e7d1d9d6.png","name":"db_letter_h_tex.png"},"dragDot":{"x":789.5,"y":297.5},"gIdx":"1","posX":1188.209450561319,"posY":512.7290485617536,"rect":{"x":860.29,"y":444.81,"width":204.18,"height":135.83},"rectNew":18},{"id":"1669023583328","index":18,"audio_url":"http://teach.cdn.ireadabc.com/96dedfa6e01047a56f4ca30c80c1f36b.mp3","itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"3","posX":539.5,"posY":101.5,"rect":{"x":289.17,"y":76,"width":49.01,"height":51}},{"id":"1669023602806","index":19,"audio_url":"http://teach.cdn.ireadabc.com/b12d881ab6edb24446e407da56f8ed6c.mp3","itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"3","posX":544.4953501465685,"posY":268.4998578433364,"rect":{"x":293.18,"y":243,"width":51,"height":51}},{"id":"1669023603165","index":20,"audio_url":"http://teach.cdn.ireadabc.com/e5f2795a9e52c96a04b0a2a9df7e2f49.mp3","itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"3","posX":541.4953501465685,"posY":441.4998578433364,"rect":{"x":290.18,"y":416,"width":51,"height":51}},{"id":"1669023603708","index":21,"audio_url":"http://teach.cdn.ireadabc.com/f36cb833f90663a3a0f207ba66a16908.mp3","itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"3","posX":1297.4942885234054,"posY":96.49986624668594,"rect":{"x":1046.17,"y":71,"width":51,"height":51}},{"id":"1669023604728","index":22,"audio_url":"http://teach.cdn.ireadabc.com/b4d8bd0b966a6eac4c114a74191d27b5.mp3","itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"3","posX":1294.4953501465684,"posY":270.4998578433364,"rect":{"x":1043.17,"y":245,"width":51,"height":51}},{"id":"1669023605290","index":23,"audio_url":"http://teach.cdn.ireadabc.com/ec1046a9e56806c4590bdb2bbae0be17.mp3","itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":297.5},"gIdx":"3","posX":1297.4942885234054,"posY":439.4993844546437,"rect":{"x":1046.17,"y":414,"width":51,"height":51}}],"typeArr":[{"gIdx":"0","name":"连线"},{"gIdx":"1","name":"手写"}],"bgItem2":{"url":"http://teach.cdn.ireadabc.com/41c1fc314624a08c6901a48013e0146d.png","rect":{"x":162.95,"y":0,"width":1253.11,"height":1621}},"hotZoneItemArr2":[{"id":"1669020267290","index":0,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":647.5,"posY":795.5,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":456.05,"y":767,"width":57,"height":57}},{"id":"1669020306629","index":1,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":812.4951780917278,"posY":796.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":621.05,"y":768,"width":57,"height":57}},{"id":"1669020306847","index":2,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":976.4951780917278,"posY":796.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":785.03,"y":768,"width":57,"height":57}},{"id":"1669020307060","index":3,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":644.4951780917278,"posY":1015.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":453.05,"y":987,"width":57,"height":57}},{"id":"1669020307326","index":4,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":812.4951780917278,"posY":1014.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":621.05,"y":986,"width":57,"height":57}},{"id":"1669020308126","index":5,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":977.4951780917278,"posY":1015.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":786.03,"y":987,"width":57,"height":57}},{"id":"1669020335441","index":6,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":506.4951780917278,"posY":714.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":315.05,"y":686,"width":57,"height":57}},{"id":"1669020335711","index":7,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":509.4951780917278,"posY":908.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":318.05,"y":880,"width":57,"height":57}},{"id":"1669020335972","index":8,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":510.4951780917278,"posY":1095.4990023452028,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":319.05,"y":1067,"width":57,"height":57}},{"id":"1669020336712","index":9,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":1119.4951780917277,"posY":717.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":928.04,"y":689,"width":57,"height":57}},{"id":"1669020336927","index":10,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":1117.4951780917277,"posY":907.4990023452029,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":926.04,"y":879,"width":57,"height":57}},{"id":"1669020337174","index":11,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"0","posX":1112.4951780917277,"posY":1093.4990023452028,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight","value":true}]},"rect":{"x":921.04,"y":1065,"width":57,"height":57}},{"id":"1669020368598","index":12,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"6","labelText":"Hh","posX":401.5,"posY":718.5,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":124.05,"y":644,"width":229,"height":149}},{"id":"1669020410601","index":13,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"6","labelText":"Gg","posX":399.49548660597054,"posY":910.4990989126692,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":122.05,"y":836,"width":229,"height":149}},{"id":"1669020411033","index":14,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"6","labelText":"Hh","posX":403.49548660597054,"posY":1098.499098912669,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":126.05,"y":1024,"width":229,"height":149}},{"id":"1669020411580","index":15,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"6","labelText":"Ee","posX":1231.4954866059707,"posY":720.4990989126692,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":954.04,"y":646,"width":229,"height":149}},{"id":"1669020412145","index":16,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"6","labelText":"Hh","posX":1227.4954866059707,"posY":912.4990989126692,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":950.04,"y":838,"width":229,"height":149}},{"id":"1669020414670","index":17,"itemType":"rect","fontScale":1.23359375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.23359375,"dragDot":{"x":789.5,"y":810.5},"gIdx":"6","labelText":"Hh","posX":1230.4954866059707,"posY":1101.499098912669,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":953.04,"y":1027,"width":229,"height":149}}],"firstGIdx":"1","begin_audio_url":"http://teach.cdn.ireadabc.com/5d96336e117377752e9c89f88401b151.mp3","idle_audio_url":"http://teach.cdn.ireadabc.com/f4358970a4275c2b441127e722d4e11a.mp3","finish_right_audio_url":"http://teach.cdn.ireadabc.com/bff42229df64d52f66408355c0d2ed2e.mp3","change_step_audio_url":"http://teach.cdn.ireadabc.com/822af0678dc62dc2846ff8fa0f773ccc.mp3","idle_2_audio_url":"http://teach.cdn.ireadabc.com/822af0678dc62dc2846ff8fa0f773ccc.mp3","isDebug":false,"isGuide":false,"lineType":"0","circleSize":"1","helpTime":"15"}
return {"lineType":"1","circleSize":"1","helpTime":"-1","book_id":"Oxford_Phonics_World_1_SB","page_id":"5","part_name":"c","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","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/6fcc5fece82a4e910929b31f59987092.png","rect":{"x":0,"y":8.61,"width":2644,"height":975.78}},"hotZoneItemArr":[{"id":"1675326005341","index":0,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326424870466321,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1207,"y":214.44,"width":180,"height":222.9},"rectNew":1},{"id":"1675326065613","index":1,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1479,"y":216.44,"width":180,"height":222.9},"rectNew":2},{"id":"1675326071139","index":2,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1747,"y":213.44,"width":180,"height":222.9},"rectNew":3},{"id":"1675326076494","index":3,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2015,"y":214.44,"width":180,"height":222.9},"rectNew":4},{"id":"1675326084731","index":4,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2287,"y":214.44,"width":180,"height":222.9},"rectNew":5},{"id":"1675326092763","index":5,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076693286619607,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1230.97,"y":677.39,"width":138.05,"height":131},"rectNew":6},{"id":"1675326110402","index":6,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1507.97,"y":682.39,"width":138.05,"height":131},"rectNew":7},{"id":"1675326116677","index":7,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1767.97,"y":675.39,"width":138.05,"height":131},"rectNew":8},{"id":"1675326122482","index":8,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2041.97,"y":680.39,"width":138.05,"height":131},"rectNew":9},{"id":"1675326126995","index":9,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2309.97,"y":683.39,"width":138.05,"height":131},"rectNew":10}],"itemCombineGroup":[],"typeArr":[{"gIdx":"6","name":"书写"}],"bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/8976133c505f1fd16e6a73488f16e15a.jpg","rect":{"x":241.43,"y":0,"width":1834.13,"height":2373}},"hotZoneItemArr2":[{"id":"1675326142582","index":0,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1347,"posY":424,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":881.04,"y":288.27,"width":116.01,"height":168.75}},{"id":"1675326166174","index":1,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1540.9999448938129,"posY":423.9989841294181,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1049.78,"y":288.27,"width":119.53,"height":168.75}},{"id":"1675326199138","index":2,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1734.9994752932607,"posY":424.9989841294181,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1220.29,"y":289.15,"width":119.53,"height":168.75}},{"id":"1675326207003","index":3,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1929.999010484551,"posY":425.99898173349686,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1391.67,"y":290.03,"width":119.53,"height":168.75}},{"id":"1675326214526","index":4,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":2124.9985432799203,"posY":427.99897933757575,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1563.05,"y":291.79,"width":119.53,"height":168.75}},{"id":"1675326221585","index":5,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1346.9980760752896,"posY":718.9989745457333,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":879.28,"y":568.64,"width":119.53,"height":126.56}},{"id":"1675326233876","index":6,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1544.999844265123,"posY":721.9982677489841,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1053.3,"y":571.28,"width":119.53,"height":126.56}},{"id":"1675326239965","index":7,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1735.9993818523346,"posY":721.9982725408264,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1221.16,"y":571.28,"width":119.53,"height":126.56}},{"id":"1675326260191","index":8,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1932.9990080886298,"posY":723.9982701449053,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1394.31,"y":573.03,"width":119.53,"height":126.56}},{"id":"1675326272747","index":9,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":2129.9985360921564,"posY":721.998265353063,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1567.45,"y":571.28,"width":119.53,"height":126.56}},{"id":"1675327900589","index":10,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1186.5},"gIdx":"2","posX":1191.5,"posY":478.5,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":134.57,"y":166,"width":1631,"height":625}}],"isDebug":true}
return {"lineType":"1","circleSize":"1","helpTime":"-1","book_id":"Oxford_Phonics_World_1_SB","page_id":"5","part_name":"c","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","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/6fcc5fece82a4e910929b31f59987092.png","rect":{"x":0,"y":8.61,"width":2644,"height":975.78}},"hotZoneItemArr":[{"id":"1675326005341","index":0,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326424870466321,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1207,"y":214.44,"width":180,"height":222.9},"rectNew":1},{"id":"1675326065613","index":1,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1479,"y":216.44,"width":180,"height":222.9},"rectNew":2},{"id":"1675326071139","index":2,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1747,"y":213.44,"width":180,"height":222.9},"rectNew":3},{"id":"1675326076494","index":3,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2015,"y":214.44,"width":180,"height":222.9},"rectNew":4},{"id":"1675326084731","index":4,"pic_url":"http://staging-teach.cdn.ireadabc.com/5382004cb61a5c292e23c22bca49ffb0.png","itemType":"pic","fontScale":2.065625,"imgScale":0.9326359832635983,"imgSizeW":193,"imgSizeH":239,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2287,"y":214.44,"width":180,"height":222.9},"rectNew":5},{"id":"1675326092763","index":5,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076693286619607,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1230.97,"y":677.39,"width":138.05,"height":131},"rectNew":6},{"id":"1675326110402","index":6,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1507.97,"y":682.39,"width":138.05,"height":131},"rectNew":7},{"id":"1675326116677","index":7,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":1767.97,"y":675.39,"width":138.05,"height":131},"rectNew":8},{"id":"1675326122482","index":8,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2041.97,"y":680.39,"width":138.05,"height":131},"rectNew":9},{"id":"1675326126995","index":9,"pic_url":"http://staging-teach.cdn.ireadabc.com/a2a0f8a0f2e2ccfe0da011f46890cd97.png","itemType":"pic","fontScale":2.065625,"imgScale":1.0076642335766424,"imgSizeW":137,"imgSizeH":130,"mapScale":2.065625,"dragDot":{"x":1322,"y":496.5},"gIdx":"6","rect":{"x":2309.97,"y":683.39,"width":138.05,"height":131},"rectNew":10}],"itemCombineGroup":[],"typeArr":[{"gIdx":"6","name":"书写"}],"bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/8976133c505f1fd16e6a73488f16e15a.jpg","rect":{"x":241.43,"y":0,"width":1834.13,"height":2373}},"hotZoneItemArr2":[{"id":"1675326142582","index":0,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1347,"posY":424,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":881.04,"y":288.27,"width":116.01,"height":168.75}},{"id":"1675326166174","index":1,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1540.9999448938129,"posY":423.9989841294181,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1049.78,"y":288.27,"width":119.53,"height":168.75}},{"id":"1675326199138","index":2,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1734.9994752932607,"posY":424.9989841294181,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1220.29,"y":289.15,"width":119.53,"height":168.75}},{"id":"1675326207003","index":3,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":1929.999010484551,"posY":425.99898173349686,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1391.67,"y":290.03,"width":119.53,"height":168.75}},{"id":"1675326214526","index":4,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"A","posX":2124.9985432799203,"posY":427.99897933757575,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1563.05,"y":291.79,"width":119.53,"height":168.75}},{"id":"1675326221585","index":5,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1346.9980760752896,"posY":718.9989745457333,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":879.28,"y":568.64,"width":119.53,"height":126.56}},{"id":"1675326233876","index":6,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1544.999844265123,"posY":721.9982677489841,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1053.3,"y":571.28,"width":119.53,"height":126.56}},{"id":"1675326239965","index":7,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1735.9993818523346,"posY":721.9982725408264,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1221.16,"y":571.28,"width":119.53,"height":126.56}},{"id":"1675326260191","index":8,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":1932.9990080886298,"posY":723.9982701449053,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1394.31,"y":573.03,"width":119.53,"height":126.56}},{"id":"1675326272747","index":9,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1183.03706505295},"gIdx":"6","labelText":"a","posX":2129.9985360921564,"posY":721.998265353063,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":1567.45,"y":571.28,"width":119.53,"height":126.56}},{"id":"1675327900589","index":10,"itemType":"rect","fontScale":1.81015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.81015625,"dragDot":{"x":1158.5,"y":1186.5},"gIdx":"2","posX":1191.5,"posY":478.5,"checkbox":{"title":"答案","list":[{"label":"正确","key":"isRight"}]},"rect":{"x":134.57,"y":166,"width":1631,"height":625}}],"isDebug":true}
...
@@ -1101,6 +1103,11 @@ cc.Class({
...
@@ -1101,6 +1103,11 @@ cc.Class({
// case "1":
// case "1":
// // 手写
// // 手写
// if (partRegions && partRegions.length > 0) {
// this.partRegions = partRegions;
// } else {
// // para.write_regions = writeRegions;
// }
// this.curCheckGroup = this.CHECK_TYPE_WRITE;
// this.curCheckGroup = this.CHECK_TYPE_WRITE;
// break;
// break;
...
@@ -1123,6 +1130,12 @@ cc.Class({
...
@@ -1123,6 +1130,12 @@ cc.Class({
// case "6":
// case "6":
// // 手写图片
// // 手写图片
// if (partRegions && partRegions.length > 0) {
// this.partRegions = partRegions;
// } else {
// }
// this.curCheckGroup = this.CHECK_TYPE_WRITE;
// this.curCheckGroup = this.CHECK_TYPE_WRITE;
// break;
// break;
// }
// }
...
@@ -1191,6 +1204,7 @@ cc.Class({
...
@@ -1191,6 +1204,7 @@ cc.Class({
if (partRegions && partRegions.length > 0) {
if (partRegions && partRegions.length > 0) {
para.write_regions = partRegions;
para.write_regions = partRegions;
this.partRegions = partRegions;
} else {
} else {
para.write_regions = writeRegions;
para.write_regions = writeRegions;
}
}
...
@@ -1223,6 +1237,7 @@ cc.Class({
...
@@ -1223,6 +1237,7 @@ cc.Class({
if (partRegions && partRegions.length > 0) {
if (partRegions && partRegions.length > 0) {
para.write_regions = partRegions;
para.write_regions = partRegions;
this.partRegions = partRegions;
} else {
} else {
para.write_regions = writeRegions;
para.write_regions = writeRegions;
}
}
...
@@ -2444,9 +2459,7 @@ cc.Class({
...
@@ -2444,9 +2459,7 @@ cc.Class({
const answerData = {};
const answerData = {};
// const textArr2 = this.getArrByCharacters(textArr);
// console.log('textArr: ', textArr);
// console.log('textArr2: ', textArr2);
const checkOneByData = (oneData) => {
const checkOneByData = (oneData) => {
...
@@ -2485,7 +2498,7 @@ cc.Class({
...
@@ -2485,7 +2498,7 @@ cc.Class({
for (let i=0; i<textArr.length; i++) {
for (let i=0; i<textArr.length; i++) {
const oneTextData = textArr[i];
const oneTextData = textArr[i];
if (oneTextData.characters) {
if (
this.partRegions &&
oneTextData.characters) {
console.log('~~ oneTextData: ', oneTextData);
console.log('~~ oneTextData: ', oneTextData);
const tempArr = this.getArrByCharacters(oneTextData);
const tempArr = this.getArrByCharacters(oneTextData);
console.log('tempArr~: ', tempArr);
console.log('tempArr~: ', tempArr);
...
@@ -5230,6 +5243,11 @@ cc.Class({
...
@@ -5230,6 +5243,11 @@ cc.Class({
getPhotoData(cb) {
getPhotoData(cb) {
cb({"result":{"text":[{"left":0.0989999994635582,"right":0.23233333230018616,"top":0.4060206413269043,"bottom":0.4794742465019226,"score":0.9421201944351196,"content":"Hh","characters":[{"character":"H","centerLoc":[0.16066667,0.44339177],"poly":[0.13233334,0.41117528,0.18900001,0.4743196]},{"character":"h","centerLoc":[0.20566666,0.45627835],"poly":[0.18900001,0.43952578,0.22233334,0.4743196]}]},{"left":0.10200000554323196,"right":0.2670000195503235,"top":0.5275979042053223,"bottom":0.6062061786651611,"score":0.9161376953125,"content":"Grg","characters":[{"character":"G","centerLoc":[0.14533333,0.56496906],"poly":[0.12866667,0.5327526,0.162,0.5958969]},{"character":"r","centerLoc":[0.18033335,0.5791443],"poly":[0.16533333,0.55594844,0.197,0.6036288]},{"character":"g","centerLoc":[0.21366668,0.57785565],"poly":[0.20199999,0.55079377,0.23033334,0.6049175]}]},{"left":0.10100000351667404,"right":0.281000018119812,"top":0.6371546387672424,"bottom":0.7170515656471252,"score":0.9771819114685059,"content":"Hh","characters":[{"character":"H","centerLoc":[0.17266667,0.67839175],"poly":[0.14433333,0.6474639,0.19933334,0.7093196]},{"character":"h","centerLoc":[0.231,0.6745258],"poly":[0.21266666,0.64359796,0.25266668,0.70545363]}]},{"left":0.7609999775886536,"right":0.9226666688919067,"top":0.39899998903274536,"bottom":0.48147422075271606,"score":0.9731637835502625,"content":"Ee","characters":[{"character":"E","centerLoc":[0.81766665,0.43765977],"poly":[0.7926667,0.40544328,0.84599996,0.4698763]},{"character":"e","centerLoc":[0.876,0.44796905],"poly":[0.8526666,0.43121648,0.89766663,0.4660103]}]},{"left":0.7580000162124634,"right":0.9263333678245544,"top":0.5170000195503235,"bottom":0.5968969464302063,"score":0.9819701910018921,"content":"Hh","characters":[{"character":"H","centerLoc":[0.828,0.55308247],"poly":[0.79300004,0.524732,0.86300004,0.58272165]},{"character":"h","centerLoc":[0.893,0.55565983],"poly":[0.87633336,0.5273093,0.9113333,0.58272165]}]},{"left":0.7609999775886536,"right":0.9210000038146973,"top":0.6340000033378601,"bottom":0.7061649560928345,"score":0.9801682829856873,"content":"Hh","characters":[{"character":"H","centerLoc":[0.82266665,0.6687938],"poly":[0.79099995,0.641732,0.85599995,0.698433]},{"character":"h","centerLoc":[0.8893333,0.6687938],"poly":[0.87266666,0.641732,0.9093333,0.694567]}]}]}})
return;
cb({ "result" : { "text" : [ { "bottom" : 0.11768041551113129, "score" : 1.2391432982652155e+28, "characters" : [ { "character" : "T", "centerLoc" : [ 0.14133332669734955, 0.094484537839889526 ], "poly" : [ 0.13466666638851166, 0.085463918745517731, 0.14800000190734863, 0.10350515693426132 ] }, { "character" : "r", "centerLoc" : [ 0.15466666221618652, 0.095773197710514069 ], "poly" : [ 0.14800000190734863, 0.086752578616142273, 0.16300000250339508, 0.10479381680488586 ] }, { "character" : "a", "centerLoc" : [ 0.16966666281223297, 0.097061857581138611 ], "poly" : [ 0.16300000250339508, 0.0906185582280159, 0.17800000309944153, 0.10350515693426132 ] }, { "character" : "c", "centerLoc" : [ 0.18633332848548889, 0.098350517451763153 ], "poly" : [ 0.179666668176651, 0.091907218098640442, 0.19300000369548798, 0.10479381680488586 ] }, { "character" : "e", "centerLoc" : [ 0.19966666400432587, 0.098350517451763153 ], "poly" : [ 0.19300000369548798, 0.091907218098640442, 0.20800000429153442, 0.10479381680488586 ] }, { "character" : ",", "centerLoc" : [ 0.21799999475479126, 0.099639177322387695 ], "poly" : [ 0.20800000429153442, 0.094484537839889526, 0.22800000011920929, 0.10608247667551041 ] }, { "character" : "w", "centerLoc" : [ 0.23633332550525665, 0.099639177322387695 ], "poly" : [ 0.22800000011920929, 0.093195877969264984, 0.24633333086967468, 0.10608247667551041 ] }, { "character" : "r", "centerLoc" : [ 0.24966666102409363, 0.098350517451763153 ], "poly" : [ 0.24633333086967468, 0.093195877969264984, 0.25466665625572205, 0.10479381680488586 ] }, { "character" : "i", "centerLoc" : [ 0.25966665148735046, 0.097061857581138611 ], "poly" : [ 0.25466665625572205, 0.089329898357391357, 0.26633334159851074, 0.10608247667551041 ] }, { "character" : "t", "centerLoc" : [ 0.27300000190734863, 0.098350517451763153 ], "poly" : [ 0.26633334159851074, 0.0906185582280159, 0.27966666221618652, 0.10608247667551041 ] }, { "character" : "e", "centerLoc" : [ 0.28466665744781494, 0.098350517451763153 ], "poly" : [ 0.27966666221618652, 0.091907218098640442, 0.29133331775665283, 0.10608247667551041 ] }, { "character" : ",", "centerLoc" : [ 0.29966667294502258, 0.10221649706363678 ], "poly" : [ 0.29133331775665283, 0.099639177322387695, 0.30799999833106995, 0.10479381680488586 ] }, { "character" : "a", "centerLoc" : [ 0.31633332371711731, 0.098350517451763153 ], "poly" : [ 0.30799999833106995, 0.091907218098640442, 0.32633334398269653, 0.10479381680488586 ] }, { "character" : "n", "centerLoc" : [ 0.33799999952316284, 0.098350517451763153 ], "poly" : [ 0.32800000905990601, 0.091907218098640442, 0.34799998998641968, 0.10479381680488586 ] }, { "character" : "d", "centerLoc" : [ 0.3529999852180481, 0.095773197710514069 ], "poly" : [ 0.34799998998641968, 0.086752578616142273, 0.35966667532920837, 0.10479381680488586 ] }, { "character" : " ", "centerLoc" : [ 0.36300000548362732, 0.093195877969264984 ], "poly" : [ 0.35966667532920837, 0.086752578616142273, 0.36633333563804626, 0.10092783719301224 ] }, { "character" : "s", "centerLoc" : [ 0.37466666102409363, 0.097061857581138611 ], "poly" : [ 0.36800000071525574, 0.0906185582280159, 0.38299998641014099, 0.10350515693426132 ] }, { "character" : "a", "centerLoc" : [ 0.38966667652130127, 0.097061857581138611 ], "poly" : [ 0.38299998641014099, 0.0906185582280159, 0.39633333683013916, 0.10350515693426132 ] }, { "character" : "y", "centerLoc" : [ 0.406333327293396, 0.098350517451763153 ], "poly" : [ 0.39966666698455811, 0.0906185582280159, 0.41466665267944336, 0.10737113654613495 ] }, { "character" : ".", "centerLoc" : [ 0.41966667771339417, 0.099639177322387695 ], "poly" : [ 0.41466665267944336, 0.098350517451763153, 0.42466667294502258, 0.10221649706363678 ] } ], "content" : "Trace,write,and say.", "left" : 0.072999998927116394, "top" : 0.076443299651145935, "right" : 0.43133333325386047 }, { "bottom" : 0.19757731258869171, "score" : 1.2391432982652155e+28, "characters" : [ { "character" : "A", "centerLoc" : [ 0.1379999965429306, 0.15505154430866241 ], "poly" : [ 0.11133333295583725, 0.12541237473487854, 0.16633333265781403, 0.18726804852485657 ] }, { "character" : "A", "centerLoc" : [ 0.23133333027362823, 0.16020618379116058 ], "poly" : [ 0.19799999892711639, 0.12927834689617157, 0.2630000114440918, 0.19242268800735474 ] }, { "character" : "A", "centerLoc" : [ 0.32966667413711548, 0.15505154430866241 ], "poly" : [ 0.29133331775665283, 0.12025773525238037, 0.36800000071525574, 0.19242268800735474 ] }, { "character" : "A", "centerLoc" : [ 0.41800001263618469, 0.15634021162986755 ], "poly" : [ 0.38633334636688232, 0.124123714864254, 0.45466667413711548, 0.19242268800735474 ] }, { "character" : "A", "centerLoc" : [ 0.51466667652130127, 0.15634021162986755 ], "poly" : [ 0.4779999852180481, 0.124123714864254, 0.5496666431427002, 0.18984536826610565 ] }, { "character" : "A", "centerLoc" : [ 0.6029999852180481, 0.15376289188861847 ], "poly" : [ 0.57300001382827759, 0.12154639512300491, 0.63300001621246338, 0.18726804852485657 ] }, { "character" : "A", "centerLoc" : [ 0.69466668367385864, 0.15634021162986755 ], "poly" : [ 0.66299998760223389, 0.124123714864254, 0.73133331537246704, 0.18855670094490051 ] }, { "character" : "A", "centerLoc" : [ 0.79133331775665283, 0.15891753137111664 ], "poly" : [ 0.74966669082641602, 0.12154639512300491, 0.8346666693687439, 0.19628866016864777 ] } ], "content" : "AAAAAAAA", "left" : 0.082999996840953827, "top" : 0.1151030957698822, "right" : 0.86299997568130493 }, { "bottom" : 0.29938143491744995, "score" : 1.2391432982652155e+28, "characters" : [ { "character" : "0", "centerLoc" : [ 0.80299997329711914, 0.27103093266487122 ], "poly" : [ 0.76800000667572021, 0.2491237074136734, 0.83633333444595337, 0.29164949059486389 ] }, { "character" : "b", "centerLoc" : [ 0.70300000905990601, 0.27231958508491516 ], "poly" : [ 0.66466665267944336, 0.24783505499362946, 0.73799997568130493, 0.29809278249740601 ] }, { "character" : "b", "centerLoc" : [ 0.61633330583572388, 0.26974228024482727 ], "poly" : [ 0.58300000429153442, 0.24654638767242432, 0.64800000190734863, 0.28907215595245361 ] }, { "character" : "b", "centerLoc" : [ 0.51133334636688232, 0.26845359802246094 ], "poly" : [ 0.46966665983200073, 0.24654638767242432, 0.55133330821990967, 0.29036083817481995 ] }, { "character" : "p", "centerLoc" : [ 0.42133334279060364, 0.26716494560241699 ], "poly" : [ 0.38966667652130127, 0.24525773525238037, 0.45300000905990601, 0.28907215595245361 ] }, { "character" : " ", "centerLoc" : [ 0.36300000548362732, 0.27360823750495911 ], "poly" : [ 0.33966666460037231, 0.25170102715492249, 0.38633334636688232, 0.29422679543495178 ] }, { "character" : "b", "centerLoc" : [ 0.31633332371711731, 0.26974228024482727 ], "poly" : [ 0.29300001263618469, 0.2491237074136734, 0.33966666460037231, 0.29036083817481995 ] }, { "character" : " ", "centerLoc" : [ 0.281333327293396, 0.27103093266487122 ], "poly" : [ 0.26800000667572021, 0.25427836179733276, 0.29300001263618469, 0.28778350353240967 ] }, { "character" : ".", "centerLoc" : [ 0.25299999117851257, 0.27103093266487122 ], "poly" : [ 0.23633332550525665, 0.25427836179733276, 0.26800000667572021, 0.28778350353240967 ] }, { "character" : "o", "centerLoc" : [ 0.22133332490921021, 0.27103093266487122 ], "poly" : [ 0.20299999415874481, 0.25298967957496643, 0.23633332550525665, 0.29036083817481995 ] }, { "character" : ".", "centerLoc" : [ 0.18133333325386047, 0.26716494560241699 ], "poly" : [ 0.15966667234897614, 0.23752577602863312, 0.20299999415874481, 0.29680413007736206 ] }, { "character" : "D", "centerLoc" : [ 0.13633333146572113, 0.26974228024482727 ], "poly" : [ 0.11299999803304672, 0.25041237473487854, 0.15966667234897614, 0.28649485111236572 ] } ], "content" : "0bbbp b .o.D", "left" : 0.097999997437000275, "top" : 0.23752577602863312, "right" : 0.85466665029525757 } ] }})
cb({ "result" : { "text" : [ { "bottom" : 0.11768041551113129, "score" : 1.2391432982652155e+28, "characters" : [ { "character" : "T", "centerLoc" : [ 0.14133332669734955, 0.094484537839889526 ], "poly" : [ 0.13466666638851166, 0.085463918745517731, 0.14800000190734863, 0.10350515693426132 ] }, { "character" : "r", "centerLoc" : [ 0.15466666221618652, 0.095773197710514069 ], "poly" : [ 0.14800000190734863, 0.086752578616142273, 0.16300000250339508, 0.10479381680488586 ] }, { "character" : "a", "centerLoc" : [ 0.16966666281223297, 0.097061857581138611 ], "poly" : [ 0.16300000250339508, 0.0906185582280159, 0.17800000309944153, 0.10350515693426132 ] }, { "character" : "c", "centerLoc" : [ 0.18633332848548889, 0.098350517451763153 ], "poly" : [ 0.179666668176651, 0.091907218098640442, 0.19300000369548798, 0.10479381680488586 ] }, { "character" : "e", "centerLoc" : [ 0.19966666400432587, 0.098350517451763153 ], "poly" : [ 0.19300000369548798, 0.091907218098640442, 0.20800000429153442, 0.10479381680488586 ] }, { "character" : ",", "centerLoc" : [ 0.21799999475479126, 0.099639177322387695 ], "poly" : [ 0.20800000429153442, 0.094484537839889526, 0.22800000011920929, 0.10608247667551041 ] }, { "character" : "w", "centerLoc" : [ 0.23633332550525665, 0.099639177322387695 ], "poly" : [ 0.22800000011920929, 0.093195877969264984, 0.24633333086967468, 0.10608247667551041 ] }, { "character" : "r", "centerLoc" : [ 0.24966666102409363, 0.098350517451763153 ], "poly" : [ 0.24633333086967468, 0.093195877969264984, 0.25466665625572205, 0.10479381680488586 ] }, { "character" : "i", "centerLoc" : [ 0.25966665148735046, 0.097061857581138611 ], "poly" : [ 0.25466665625572205, 0.089329898357391357, 0.26633334159851074, 0.10608247667551041 ] }, { "character" : "t", "centerLoc" : [ 0.27300000190734863, 0.098350517451763153 ], "poly" : [ 0.26633334159851074, 0.0906185582280159, 0.27966666221618652, 0.10608247667551041 ] }, { "character" : "e", "centerLoc" : [ 0.28466665744781494, 0.098350517451763153 ], "poly" : [ 0.27966666221618652, 0.091907218098640442, 0.29133331775665283, 0.10608247667551041 ] }, { "character" : ",", "centerLoc" : [ 0.29966667294502258, 0.10221649706363678 ], "poly" : [ 0.29133331775665283, 0.099639177322387695, 0.30799999833106995, 0.10479381680488586 ] }, { "character" : "a", "centerLoc" : [ 0.31633332371711731, 0.098350517451763153 ], "poly" : [ 0.30799999833106995, 0.091907218098640442, 0.32633334398269653, 0.10479381680488586 ] }, { "character" : "n", "centerLoc" : [ 0.33799999952316284, 0.098350517451763153 ], "poly" : [ 0.32800000905990601, 0.091907218098640442, 0.34799998998641968, 0.10479381680488586 ] }, { "character" : "d", "centerLoc" : [ 0.3529999852180481, 0.095773197710514069 ], "poly" : [ 0.34799998998641968, 0.086752578616142273, 0.35966667532920837, 0.10479381680488586 ] }, { "character" : " ", "centerLoc" : [ 0.36300000548362732, 0.093195877969264984 ], "poly" : [ 0.35966667532920837, 0.086752578616142273, 0.36633333563804626, 0.10092783719301224 ] }, { "character" : "s", "centerLoc" : [ 0.37466666102409363, 0.097061857581138611 ], "poly" : [ 0.36800000071525574, 0.0906185582280159, 0.38299998641014099, 0.10350515693426132 ] }, { "character" : "a", "centerLoc" : [ 0.38966667652130127, 0.097061857581138611 ], "poly" : [ 0.38299998641014099, 0.0906185582280159, 0.39633333683013916, 0.10350515693426132 ] }, { "character" : "y", "centerLoc" : [ 0.406333327293396, 0.098350517451763153 ], "poly" : [ 0.39966666698455811, 0.0906185582280159, 0.41466665267944336, 0.10737113654613495 ] }, { "character" : ".", "centerLoc" : [ 0.41966667771339417, 0.099639177322387695 ], "poly" : [ 0.41466665267944336, 0.098350517451763153, 0.42466667294502258, 0.10221649706363678 ] } ], "content" : "Trace,write,and say.", "left" : 0.072999998927116394, "top" : 0.076443299651145935, "right" : 0.43133333325386047 }, { "bottom" : 0.19757731258869171, "score" : 1.2391432982652155e+28, "characters" : [ { "character" : "A", "centerLoc" : [ 0.1379999965429306, 0.15505154430866241 ], "poly" : [ 0.11133333295583725, 0.12541237473487854, 0.16633333265781403, 0.18726804852485657 ] }, { "character" : "A", "centerLoc" : [ 0.23133333027362823, 0.16020618379116058 ], "poly" : [ 0.19799999892711639, 0.12927834689617157, 0.2630000114440918, 0.19242268800735474 ] }, { "character" : "A", "centerLoc" : [ 0.32966667413711548, 0.15505154430866241 ], "poly" : [ 0.29133331775665283, 0.12025773525238037, 0.36800000071525574, 0.19242268800735474 ] }, { "character" : "A", "centerLoc" : [ 0.41800001263618469, 0.15634021162986755 ], "poly" : [ 0.38633334636688232, 0.124123714864254, 0.45466667413711548, 0.19242268800735474 ] }, { "character" : "A", "centerLoc" : [ 0.51466667652130127, 0.15634021162986755 ], "poly" : [ 0.4779999852180481, 0.124123714864254, 0.5496666431427002, 0.18984536826610565 ] }, { "character" : "A", "centerLoc" : [ 0.6029999852180481, 0.15376289188861847 ], "poly" : [ 0.57300001382827759, 0.12154639512300491, 0.63300001621246338, 0.18726804852485657 ] }, { "character" : "A", "centerLoc" : [ 0.69466668367385864, 0.15634021162986755 ], "poly" : [ 0.66299998760223389, 0.124123714864254, 0.73133331537246704, 0.18855670094490051 ] }, { "character" : "A", "centerLoc" : [ 0.79133331775665283, 0.15891753137111664 ], "poly" : [ 0.74966669082641602, 0.12154639512300491, 0.8346666693687439, 0.19628866016864777 ] } ], "content" : "AAAAAAAA", "left" : 0.082999996840953827, "top" : 0.1151030957698822, "right" : 0.86299997568130493 }, { "bottom" : 0.29938143491744995, "score" : 1.2391432982652155e+28, "characters" : [ { "character" : "0", "centerLoc" : [ 0.80299997329711914, 0.27103093266487122 ], "poly" : [ 0.76800000667572021, 0.2491237074136734, 0.83633333444595337, 0.29164949059486389 ] }, { "character" : "b", "centerLoc" : [ 0.70300000905990601, 0.27231958508491516 ], "poly" : [ 0.66466665267944336, 0.24783505499362946, 0.73799997568130493, 0.29809278249740601 ] }, { "character" : "b", "centerLoc" : [ 0.61633330583572388, 0.26974228024482727 ], "poly" : [ 0.58300000429153442, 0.24654638767242432, 0.64800000190734863, 0.28907215595245361 ] }, { "character" : "b", "centerLoc" : [ 0.51133334636688232, 0.26845359802246094 ], "poly" : [ 0.46966665983200073, 0.24654638767242432, 0.55133330821990967, 0.29036083817481995 ] }, { "character" : "p", "centerLoc" : [ 0.42133334279060364, 0.26716494560241699 ], "poly" : [ 0.38966667652130127, 0.24525773525238037, 0.45300000905990601, 0.28907215595245361 ] }, { "character" : " ", "centerLoc" : [ 0.36300000548362732, 0.27360823750495911 ], "poly" : [ 0.33966666460037231, 0.25170102715492249, 0.38633334636688232, 0.29422679543495178 ] }, { "character" : "b", "centerLoc" : [ 0.31633332371711731, 0.26974228024482727 ], "poly" : [ 0.29300001263618469, 0.2491237074136734, 0.33966666460037231, 0.29036083817481995 ] }, { "character" : " ", "centerLoc" : [ 0.281333327293396, 0.27103093266487122 ], "poly" : [ 0.26800000667572021, 0.25427836179733276, 0.29300001263618469, 0.28778350353240967 ] }, { "character" : ".", "centerLoc" : [ 0.25299999117851257, 0.27103093266487122 ], "poly" : [ 0.23633332550525665, 0.25427836179733276, 0.26800000667572021, 0.28778350353240967 ] }, { "character" : "o", "centerLoc" : [ 0.22133332490921021, 0.27103093266487122 ], "poly" : [ 0.20299999415874481, 0.25298967957496643, 0.23633332550525665, 0.29036083817481995 ] }, { "character" : ".", "centerLoc" : [ 0.18133333325386047, 0.26716494560241699 ], "poly" : [ 0.15966667234897614, 0.23752577602863312, 0.20299999415874481, 0.29680413007736206 ] }, { "character" : "D", "centerLoc" : [ 0.13633333146572113, 0.26974228024482727 ], "poly" : [ 0.11299999803304672, 0.25041237473487854, 0.15966667234897614, 0.28649485111236572 ] } ], "content" : "0bbbp b .o.D", "left" : 0.097999997437000275, "top" : 0.23752577602863312, "right" : 0.85466665029525757 } ] }})
return;
return;
...
...
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