Commit 94323bf8 authored by limingzhe's avatar limingzhe

fix: debug

parent 4771c393
{"ver":"1.1.2","uuid":"e9f579c0-59b7-4567-93ad-5b17f799e827","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": "e9f579c0-59b7-4567-93ad-5b17f799e827",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
...@@ -93,6 +93,7 @@ cc.Class({ ...@@ -93,6 +93,7 @@ cc.Class({
getDefaultData() { getDefaultData() {
return {"write_big_0_audio_url":"http://teach.cdn.ireadabc.com/408c71e718e626d16df25239fdd71163.mp3","write_big_1_audio_url":"http://teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3","write_big_2_audio_url":"http://teach.cdn.ireadabc.com/87294765bb8f37041744dc48d876c052.mp3","write_small_0_audio_url":"http://teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3","write_small_2_audio_url":"http://teach.cdn.ireadabc.com/9ccf4a2c0bf3e3baf66bddd4a0abb620.mp3","write_small_1_audio_url":"http://teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3","finish_audio_url":"http://teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3","tip_audio_url":"http://teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3","letter":"C","animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/4dd75bd1c8b9f556b580f5d256fecfb7.json","name":"C大彩_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/725d676582a580ae2cee26652712efd6.json","name":"C大彩_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/5780883b33891b445070dcd67232ca98.png","name":"C大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/8d6671efb002131453b527eeed3bf97f.json","name":"C大黑_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/73fe384407514cdb6367e836a45cfa03.json","name":"C大黑_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/ef6a958b04c1fed3a47881a592483df7.png","name":"C大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/66d8a9651b82fa83d8d3e1bbe8ffeeb6.json","name":"C小彩_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/2d25d66f78bc30c7782274f97c263303.json","name":"C小彩_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/ddddad84a4723ab74bd37f6fca21b4fe.png","name":"C小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"http://teach.cdn.ireadabc.com/d1dd83aed85d64945dfc13f6a14d0020.json","name":"C小黑_ske.json"},"texJsonData":{"url":"http://teach.cdn.ireadabc.com/92be77c123e33cab47275d1437dd28df.json","name":"C小黑_tex.json"},"texPngData":{"url":"http://teach.cdn.ireadabc.com/44a6134566cb62daca7dc5a2c2ebb449.png","name":"C小黑_tex.png"}}],"bg_pic_url":"http://teach.cdn.ireadabc.com/520b8785f6b253aef7ced8941711c1cf.png","dot_big_1_url":"http://teach.cdn.ireadabc.com/f58a94261f588126b877f6bfc4382e5c.png","dot_big_2_url":"http://teach.cdn.ireadabc.com/f58a94261f588126b877f6bfc4382e5c.png","dot_small_1_url":"http://teach.cdn.ireadabc.com/e6d93412e4a0b3fb49a6d3c73368ddf7.png","dot_small_2_url":"http://teach.cdn.ireadabc.com/e6d93412e4a0b3fb49a6d3c73368ddf7.png","page_id":"9","part_name":"c","book_id":"opw1","bgItem2":{"url":"http://teach.cdn.ireadabc.com/7975e4a930fe51033b0e1321260d4046.png","rect":{"x":108.53,"y":0,"width":936.93,"height":1212}},"hotZoneItemArr2":[{"id":"1667983507722","index":0,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"3","labelText":"Trace w a say","posX":367,"posY":120,"rect":{"x":123.47,"y":101,"width":270,"height":38}},{"id":"1667983545642","index":1,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"5","labelText":"C","posX":233.00411743931176,"posY":190.00048861314352,"rect":{"x":85.47,"y":149,"width":78,"height":82}},{"id":"1667983648436","index":2,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_0_b","posX":415.005000012791,"posY":191.00155025950244,"rect":{"x":270.48,"y":150,"width":71.99,"height":82}},{"id":"1667983754171","index":3,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_1_b","posX":503.00958559977425,"posY":192.00048861314352,"rect":{"x":358.48,"y":151,"width":71.99,"height":82}},{"id":"1667983783176","index":4,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_2_b","posX":592.009810719966,"posY":193.00049117132752,"rect":{"x":447.48,"y":152,"width":71.99,"height":82}},{"id":"1667983805194","index":5,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_3_b","posX":680.0100383983419,"posY":193.0004937295115,"rect":{"x":535.49,"y":152,"width":71.99,"height":82}},{"id":"1667983832332","index":6,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_4_b","posX":767.0102635185336,"posY":193.0004937295115,"rect":{"x":622.5,"y":152,"width":71.99,"height":82}},{"id":"1667983858989","index":7,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_5_b","posX":852.0204861061233,"posY":193.0004937295115,"rect":{"x":707.51,"y":152,"width":71.99,"height":82}},{"id":"1667983874768","index":8,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"C_6_b","posX":942.0407036029267,"posY":194.0004937295115,"rect":{"x":797.52,"y":153,"width":71.99,"height":82}},{"id":"1667984313677","index":9,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_0_s","posX":416.0509338650684,"posY":325.0004962876955,"rect":{"x":281.52,"y":299,"width":52,"height":52}},{"id":"1667984371817","index":10,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_1_s","posX":503.05458827307643,"posY":324.00083140979916,"rect":{"x":368.52,"y":298,"width":52,"height":52}},{"id":"1667984395135","index":11,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_2_s","posX":592.0548108350843,"posY":325.00082885161515,"rect":{"x":457.52,"y":299,"width":52,"height":52}},{"id":"1667984433522","index":12,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_3_s","posX":678.0550385134601,"posY":325.00083140979916,"rect":{"x":543.52,"y":299,"width":52,"height":52}},{"id":"1667984454505","index":13,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_4_s","posX":763.0552585172838,"posY":326.00083140979916,"rect":{"x":628.53,"y":300,"width":52,"height":52}},{"id":"1667984468040","index":14,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_5_s","posX":851.0654759885056,"posY":325.00083396798317,"rect":{"x":716.54,"y":299,"width":52,"height":52}},{"id":"1667984480032","index":15,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"1","labelText":"c_6_s","posX":937.0757011342791,"posY":326.00083140979916,"rect":{"x":802.55,"y":300,"width":52,"height":52}},{"id":"1667984500595","index":16,"itemType":"rect","fontScale":0.9015625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":0.9015625,"dragDot":{"x":577,"y":606},"gIdx":"2","posX":582,"posY":241,"rect":{"x":41.47,"y":83,"width":864,"height":316}}],"isDebug":true}
return {"animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/3854b249ba08fe0d7f7be94308eda238.json","name":"D大彩_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/047c4030ce0956e7fa491bb10efa99d0.json","name":"D大彩_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/fdeefde6344de8b50de4c1e97532de46.png","name":"D大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/4a73aa0ed1abe9fe59cbc9396164ab0b.json","name":"D大黑_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/264182a83f00f862662611adde7afc05.json","name":"D大黑_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/444b96de33fb48ab6a488b058d81449d.png","name":"D大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/4fbe3832ff08127bb2899c525f3c0918.json","name":"D小彩_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/958bfb6722f4bf5f2b5d975e420cf23c.json","name":"D小彩_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/489483bb7b433044f5736ac1f05d4bf2.png","name":"D小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/f88764f49c73d2bdc7ab21d3f3f3c4bc.json","name":"D小黑_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/403916dcfd80ce24069eddce10e0124c.json","name":"D小黑_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/840b55ebf6ae75ec7cf011c48f3189ec.png","name":"D小黑_tex.png"}}],"write_big_0_audio_url":"https://staging-teach.cdn.ireadabc.com/d4c2f72fd4238c48c1b19d747d0ce382.mp3","write_big_1_audio_url":"https://staging-teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3","write_big_2_audio_url":"https://staging-teach.cdn.ireadabc.com/a5652eadaf165869b2b551530921bb0d.mp3","write_small_0_audio_url":"https://staging-teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3","write_small_1_audio_url":"https://staging-teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3","write_small_2_audio_url":"https://staging-teach.cdn.ireadabc.com/15147c1c4ae733303566baf84fae2840.mp3","finish_audio_url":"https://staging-teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3","tip_audio_url":"https://staging-teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3","letter":"A","dot_small_2_url":"https://staging-teach.cdn.ireadabc.com/8a8cbc71ad861b372418f36aef32a8cd.png","dot_small_1_url":"https://staging-teach.cdn.ireadabc.com/80221b2a4b62f57c33c7e6491f372077.png","dot_big_1_url":"https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png","dot_big_2_url":"https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png","bg_pic_url":"http://staging-teach.cdn.ireadabc.com/7e2e266a6e2e596103ac973e0a22d3ac.jpg","bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/e94766af9c75bcdc8308a914929afc74.png","rect":{"x":172.26,"y":0,"width":1367.48,"height":1769}},"hotZoneItemArr2":[{"id":"1666840073802","index":0,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"3","labelText":"rac w a say","posX":803.5,"posY":249.5,"rect":{"x":182.53,"y":152.34,"width":391.64,"height":42.43}},{"id":"1666840147464","index":1,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"5","labelText":"A","posX":522.5,"posY":398.5,"rect":{"x":138.71,"y":220.52,"width":88.35,"height":113.39}},{"id":"1666840195993","index":2,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_0_b","posX":899.5,"posY":401.5,"rect":{"x":403.75,"y":223.99,"width":82.78,"height":110.61}},{"id":"1666840237362","index":3,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_1_b","posX":1082.4997014371008,"posY":398.5003494839767,"rect":{"x":531.05,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840289442","index":4,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_2_b","posX":"1265","posY":398.5003494839767,"rect":{"x":658,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840378939","index":5,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_3_b","posX":"1448","posY":398.5003494839767,"rect":{"x":785.3,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840417298","index":6,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_4_b","posX":"1632","posY":398.5003494839767,"rect":{"x":913.3,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840451040","index":7,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_5_b","posX":1814.0003364272902,"posY":398.5003468726394,"rect":{"x":1039.91,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840547094","index":8,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_6_b","posX":1999.0004974597578,"posY":398.5003468726394,"rect":{"x":1168.6,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840559646","index":9,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_0_s","posX":901.000658492225,"posY":683.5003468726394,"rect":{"x":412.79,"y":445.21,"width":66.78,"height":60.52}},{"id":"1666840588967","index":10,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_1_s","posX":1082.9997027427694,"posY":682.500594949684,"rect":{"x":539.4,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840599411","index":11,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_2_s","posX":1260.9998611638996,"posY":683.5005940792382,"rect":{"x":663.22,"y":445.21,"width":66.78,"height":60.52}},{"id":"1666840612277","index":12,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_3_s","posX":1444.0000161032467,"posY":684.500594949684,"rect":{"x":790.52,"y":445.9,"width":66.78,"height":60.52}},{"id":"1666840622998","index":13,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_4_s","posX":1631.0001753948227,"posY":682.5005958201295,"rect":{"x":920.6,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840636543","index":14,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_5_s","posX":1811.0003381681818,"posY":682.5005940792382,"rect":{"x":1045.82,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840652074","index":15,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_6_s","posX":1993.0004948484204,"posY":684.5005940792382,"rect":{"x":1172.42,"y":445.9,"width":66.78,"height":60.52}},{"id":"1666840663151","index":16,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"2","posX":1249.5,"posY":520.5,"rect":{"x":59.41,"y":134.26,"width":1258.4,"height":455.64}}],"page_id":"5","book_id":"opw1","part_name":"c"} return {"animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/3854b249ba08fe0d7f7be94308eda238.json","name":"D大彩_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/047c4030ce0956e7fa491bb10efa99d0.json","name":"D大彩_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/fdeefde6344de8b50de4c1e97532de46.png","name":"D大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/4a73aa0ed1abe9fe59cbc9396164ab0b.json","name":"D大黑_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/264182a83f00f862662611adde7afc05.json","name":"D大黑_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/444b96de33fb48ab6a488b058d81449d.png","name":"D大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/4fbe3832ff08127bb2899c525f3c0918.json","name":"D小彩_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/958bfb6722f4bf5f2b5d975e420cf23c.json","name":"D小彩_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/489483bb7b433044f5736ac1f05d4bf2.png","name":"D小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/f88764f49c73d2bdc7ab21d3f3f3c4bc.json","name":"D小黑_ske.json"},"texJsonData":{"url":"https://staging-teach.cdn.ireadabc.com/403916dcfd80ce24069eddce10e0124c.json","name":"D小黑_tex.json"},"texPngData":{"url":"https://staging-teach.cdn.ireadabc.com/840b55ebf6ae75ec7cf011c48f3189ec.png","name":"D小黑_tex.png"}}],"write_big_0_audio_url":"https://staging-teach.cdn.ireadabc.com/d4c2f72fd4238c48c1b19d747d0ce382.mp3","write_big_1_audio_url":"https://staging-teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3","write_big_2_audio_url":"https://staging-teach.cdn.ireadabc.com/a5652eadaf165869b2b551530921bb0d.mp3","write_small_0_audio_url":"https://staging-teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3","write_small_1_audio_url":"https://staging-teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3","write_small_2_audio_url":"https://staging-teach.cdn.ireadabc.com/15147c1c4ae733303566baf84fae2840.mp3","finish_audio_url":"https://staging-teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3","tip_audio_url":"https://staging-teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3","letter":"A","dot_small_2_url":"https://staging-teach.cdn.ireadabc.com/8a8cbc71ad861b372418f36aef32a8cd.png","dot_small_1_url":"https://staging-teach.cdn.ireadabc.com/80221b2a4b62f57c33c7e6491f372077.png","dot_big_1_url":"https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png","dot_big_2_url":"https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png","bg_pic_url":"http://staging-teach.cdn.ireadabc.com/7e2e266a6e2e596103ac973e0a22d3ac.jpg","bgItem2":{"url":"http://staging-teach.cdn.ireadabc.com/e94766af9c75bcdc8308a914929afc74.png","rect":{"x":172.26,"y":0,"width":1367.48,"height":1769}},"hotZoneItemArr2":[{"id":"1666840073802","index":0,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"3","labelText":"rac w a say","posX":803.5,"posY":249.5,"rect":{"x":182.53,"y":152.34,"width":391.64,"height":42.43}},{"id":"1666840147464","index":1,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"5","labelText":"A","posX":522.5,"posY":398.5,"rect":{"x":138.71,"y":220.52,"width":88.35,"height":113.39}},{"id":"1666840195993","index":2,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_0_b","posX":899.5,"posY":401.5,"rect":{"x":403.75,"y":223.99,"width":82.78,"height":110.61}},{"id":"1666840237362","index":3,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_1_b","posX":1082.4997014371008,"posY":398.5003494839767,"rect":{"x":531.05,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840289442","index":4,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_2_b","posX":"1265","posY":398.5003494839767,"rect":{"x":658,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840378939","index":5,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_3_b","posX":"1448","posY":398.5003494839767,"rect":{"x":785.3,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840417298","index":6,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_4_b","posX":"1632","posY":398.5003494839767,"rect":{"x":913.3,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840451040","index":7,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_5_b","posX":1814.0003364272902,"posY":398.5003468726394,"rect":{"x":1039.91,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840547094","index":8,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"A_6_b","posX":1999.0004974597578,"posY":398.5003468726394,"rect":{"x":1168.6,"y":221.91,"width":82.78,"height":110.61}},{"id":"1666840559646","index":9,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_0_s","posX":901.000658492225,"posY":683.5003468726394,"rect":{"x":412.79,"y":445.21,"width":66.78,"height":60.52}},{"id":"1666840588967","index":10,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_1_s","posX":1082.9997027427694,"posY":682.500594949684,"rect":{"x":539.4,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840599411","index":11,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_2_s","posX":1260.9998611638996,"posY":683.5005940792382,"rect":{"x":663.22,"y":445.21,"width":66.78,"height":60.52}},{"id":"1666840612277","index":12,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_3_s","posX":1444.0000161032467,"posY":684.500594949684,"rect":{"x":790.52,"y":445.9,"width":66.78,"height":60.52}},{"id":"1666840622998","index":13,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_4_s","posX":1631.0001753948227,"posY":682.5005958201295,"rect":{"x":920.6,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840636543","index":14,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_5_s","posX":1811.0003381681818,"posY":682.5005940792382,"rect":{"x":1045.82,"y":444.51,"width":66.78,"height":60.52}},{"id":"1666840652074","index":15,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"1","labelText":"a_6_s","posX":1993.0004948484204,"posY":684.5005940792382,"rect":{"x":1172.42,"y":445.9,"width":66.78,"height":60.52}},{"id":"1666840663151","index":16,"itemType":"rect","fontScale":1.3375,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.3375,"dragDot":{"x":856,"y":875.97907444668},"gIdx":"2","posX":1249.5,"posY":520.5,"rect":{"x":59.41,"y":134.26,"width":1258.4,"height":455.64}}],"page_id":"5","book_id":"opw1","part_name":"c"}
// return {"write_big_0_audio_url":"https://teach.cdn.ireadabc.com/d1dc9853d03d0237f0d2206dcf7f62e9.mp3","write_big_1_audio_url":"https://teach.cdn.ireadabc.com/eb0054aa1415046dfa35ed31a3a7e35c.mp3","tip_audio_url":"https://teach.cdn.ireadabc.com/52824b6c66664de8ee7b3bef3af5593f.mp3","finish_audio_url":"https://staging-teach.cdn.ireadabc.com/750a7079ea924a9260cebf649645b87c.mp3","write_small_0_audio_url":"https://teach.cdn.ireadabc.com/b2ce05a59cbdcaef5d85e56c6ffdcc20.mp3","write_small_1_audio_url":"https://teach.cdn.ireadabc.com/eb0054aa1415046dfa35ed31a3a7e35c.mp3","write_small_2_audio_url":"https://teach.cdn.ireadabc.com/908269df525600b866042ab473a0b879.mp3","write_big_2_audio_url":"https://teach.cdn.ireadabc.com/0fd3a090c37a2c11bb8503908a1326f2.mp3","letter":"A","animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/cdee11a12d4bf498bd3f0931bfe858cf.json","name":"A大彩_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/ae2b83555093e3a739fcef9f107f52bb.json","name":"A大彩_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/db4a8c0d718e998f8fd3983aaf39e8d5.png","name":"A大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/14c5231012b4a1f3ac898ca6f83bc213.json","name":"A大黑_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/a9e874a147023e0944cf89c351661218.json","name":"A大黑_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/8e12ae87d2c1a7bb6fc320272a930d9b.png","name":"A大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/8c0ccddb1d49eb555846c006244b27dc.json","name":"A小彩_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/667e32080f139a09ab434a698dccc18b.json","name":"A小彩_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/65abc1cc2e73a2b9bbaffa497d81e5a4.png","name":"A小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/356e9e26a2a74c57791fff7471142d54.json","name":"A小黑_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/9a262fdad701a170994510e1562baa76.json","name":"A小黑_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/500b883b3c0c0613a6de963f3deb7f72.png","name":"A小黑_tex.png"}}],"bg_pic_url":"https://teach.cdn.ireadabc.com/520b8785f6b253aef7ced8941711c1cf.png","dot_big_1_url":"https://teach.cdn.ireadabc.com/125b10277b51185a8238f0ad2d399e3e.png","dot_big_2_url":"https://teach.cdn.ireadabc.com/e61ae4cb1ce8dfbec37f153980233d6b.png","dot_small_1_url":"https://teach.cdn.ireadabc.com/9b5c4f22242cff975aa6189235e4caf9.png","dot_small_2_url":"https://teach.cdn.ireadabc.com/cd32e56db4dc9fadea2ad52aa0c93066.png"}; // return {"write_big_0_audio_url":"https://teach.cdn.ireadabc.com/d1dc9853d03d0237f0d2206dcf7f62e9.mp3","write_big_1_audio_url":"https://teach.cdn.ireadabc.com/eb0054aa1415046dfa35ed31a3a7e35c.mp3","tip_audio_url":"https://teach.cdn.ireadabc.com/52824b6c66664de8ee7b3bef3af5593f.mp3","finish_audio_url":"https://staging-teach.cdn.ireadabc.com/750a7079ea924a9260cebf649645b87c.mp3","write_small_0_audio_url":"https://teach.cdn.ireadabc.com/b2ce05a59cbdcaef5d85e56c6ffdcc20.mp3","write_small_1_audio_url":"https://teach.cdn.ireadabc.com/eb0054aa1415046dfa35ed31a3a7e35c.mp3","write_small_2_audio_url":"https://teach.cdn.ireadabc.com/908269df525600b866042ab473a0b879.mp3","write_big_2_audio_url":"https://teach.cdn.ireadabc.com/0fd3a090c37a2c11bb8503908a1326f2.mp3","letter":"A","animArr":[{"key":"letter_big_0","title":"大写彩色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/cdee11a12d4bf498bd3f0931bfe858cf.json","name":"A大彩_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/ae2b83555093e3a739fcef9f107f52bb.json","name":"A大彩_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/db4a8c0d718e998f8fd3983aaf39e8d5.png","name":"A大彩_tex.png"}},{"key":"letter_big_1","title":"大写黑色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/14c5231012b4a1f3ac898ca6f83bc213.json","name":"A大黑_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/a9e874a147023e0944cf89c351661218.json","name":"A大黑_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/8e12ae87d2c1a7bb6fc320272a930d9b.png","name":"A大黑_tex.png"}},{"key":"letter_small_0","title":"小写彩色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/8c0ccddb1d49eb555846c006244b27dc.json","name":"A小彩_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/667e32080f139a09ab434a698dccc18b.json","name":"A小彩_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/65abc1cc2e73a2b9bbaffa497d81e5a4.png","name":"A小彩_tex.png"}},{"key":"letter_small_1","title":"小写黑色动画","skeJsonData":{"url":"https://teach.cdn.ireadabc.com/356e9e26a2a74c57791fff7471142d54.json","name":"A小黑_ske.json"},"texJsonData":{"url":"https://teach.cdn.ireadabc.com/9a262fdad701a170994510e1562baa76.json","name":"A小黑_tex.json"},"texPngData":{"url":"https://teach.cdn.ireadabc.com/500b883b3c0c0613a6de963f3deb7f72.png","name":"A小黑_tex.png"}}],"bg_pic_url":"https://teach.cdn.ireadabc.com/520b8785f6b253aef7ced8941711c1cf.png","dot_big_1_url":"https://teach.cdn.ireadabc.com/125b10277b51185a8238f0ad2d399e3e.png","dot_big_2_url":"https://teach.cdn.ireadabc.com/e61ae4cb1ce8dfbec37f153980233d6b.png","dot_small_1_url":"https://teach.cdn.ireadabc.com/9b5c4f22242cff975aa6189235e4caf9.png","dot_small_2_url":"https://teach.cdn.ireadabc.com/cd32e56db4dc9fadea2ad52aa0c93066.png"};
}, },
...@@ -488,12 +489,15 @@ cc.Class({ ...@@ -488,12 +489,15 @@ cc.Class({
startTesting() { startTesting() {
if (!this.debugBgImg || !this.firstAudioEnd) {
// setInterval(() => { return;
}
// // setInterval(() => {
// this.getPhotoData((data) => { // this.getPhotoData((data) => {
// this.photoEnd(data); // this.photoEnd(data);
// }); // });
// }, 30); // // }, 30);
// return; // return;
...@@ -1313,6 +1317,7 @@ cc.Class({ ...@@ -1313,6 +1317,7 @@ cc.Class({
console.log( 'this.canTouch = true 1 '); console.log( 'this.canTouch = true 1 ');
this.canTouch = true; this.canTouch = true;
this.firstAudioEnd = true;
this.startTesting(); this.startTesting();
// this.showLetterAnim(); // this.showLetterAnim();
...@@ -1979,27 +1984,27 @@ cc.Class({ ...@@ -1979,27 +1984,27 @@ cc.Class({
if (this.debugLayer.parent && this.debugLayer.active) { // if (this.debugLayer.parent && this.debugLayer.active) {
if (this.isCanDraw) { // if (this.isCanDraw) {
return; // return;
} // }
this.isCanDraw = true; // this.isCanDraw = true;
delayCall(0.1, () => { // delayCall(0.1, () => {
this.isCanDraw = false; // this.isCanDraw = false;
}) // })
} // }
this.pushNodePoolArr(); // this.pushNodePoolArr();
if (!this.canTouch && isPool == false) { // if (!this.canTouch && isPool == false) {
this.dataPool.push(data); // this.dataPool.push(data);
console.log('! cantouch') // console.log('! cantouch')
return; // return;
} // }
// this.changeBboxPos(data); // this.changeBboxPos(data);
...@@ -3218,6 +3223,7 @@ cc.Class({ ...@@ -3218,6 +3223,7 @@ cc.Class({
// console.log(' unitW ~~~ ', unitW); // console.log(' unitW ~~~ ', unitW);
// console.log(' unitH ~~~ ', unitH); // console.log(' unitH ~~~ ', unitH);
console.log("centerItemArr: ", centerItemArr);
const dotArr = []; const dotArr = [];
for (let i=0; i<this.centerItemArr.length; i++) { for (let i=0; i<this.centerItemArr.length; i++) {
...@@ -3268,7 +3274,6 @@ cc.Class({ ...@@ -3268,7 +3274,6 @@ cc.Class({
const tempWordArr = this.getTempWordArr(wordDataArr[i],['']); // wordDataArr[i].word; const tempWordArr = this.getTempWordArr(wordDataArr[i],['']); // wordDataArr[i].word;
for (let k=0; k<tempWordArr.length; k++) { for (let k=0; k<tempWordArr.length; k++) {
...@@ -3305,7 +3310,10 @@ cc.Class({ ...@@ -3305,7 +3310,10 @@ cc.Class({
console.log('colorRect: ', colorRect);
console.log('dotArr: ', dotArr);
console.log('answerData: ', answerData.toString());
console.log('wordDataArr[i]: ', wordDataArr[i].toString());
this.setOneAnswerData(colorRect, dotArr, answerData, wordDataArr[i]); this.setOneAnswerData(colorRect, dotArr, answerData, wordDataArr[i]);
...@@ -3584,24 +3592,42 @@ cc.Class({ ...@@ -3584,24 +3592,42 @@ cc.Class({
// console.log('dotArr: ', dotArr) // console.log('dotArr: ', dotArr)
// console.log('answerData: ', answerData) // console.log('answerData: ', answerData)
const specialLetterArr = [
'c', 'C',
'k', 'K',
'o', "O",
'p', 'P',
's', 'S',
'u', 'U',
'v', 'V',
'w', 'W',
'x', 'X',
'z', 'Z',
]
const rect = colorRect.ccRect; const rect = colorRect.ccRect;
const targetLabelText = colorRect.labelText; let targetLabelText = colorRect.labelText;
for (let i=0; i<dotArr.length; i++) { for (let i=0; i<dotArr.length; i++) {
const {dotRect, labelText, key} = dotArr[i]; let {dotRect, labelText, key} = dotArr[i];
// console.log('targetLabelText.toLowerCase() : ', targetLabelText.toLowerCase() ); // console.log('targetLabelText.toLowerCase() : ', targetLabelText.toLowerCase() );
// console.log('labelText.toLowerCase() : ', labelText.toLowerCase() ); // console.log('labelText.toLowerCase() : ', labelText.toLowerCase() );
// console.log('rect.intersects(dotRect) : ', rect.intersects(dotRect) ); // console.log('rect.intersects(dotRect) : ', rect.intersects(dotRect) );
if (specialLetterArr.indexOf(labelText) != -1 ) {
labelText = labelText.toLowerCase();
targetLabelText = targetLabelText.toLowerCase();
// console.log(' in small letter');
}
if (labelText.indexOf(targetLabelText) != -1 && dotRect.intersects(rect)) { if (labelText.indexOf(targetLabelText) != -1 && dotRect.intersects(rect)) {
// if (labelText.indexOf(targetLabelText) != -1 && rect.intersects(dotRect)) { // if (labelText.indexOf(targetLabelText) != -1 && rect.intersects(dotRect)) {
// if (labelText.toLowerCase().indexOf(targetLabelText.toLowerCase()) != -1 && rect.intersects(dotRect)) { // if (labelText.toLowerCase().indexOf(targetLabelText.toLowerCase()) != -1 && rect.intersects(dotRect)) {
const len = targetLabelText.trim().length; const len = targetLabelText.trim().length;
// console.log('len: ', len); console.log('len: ', len);
if (!answerData[key]) { if (!answerData[key]) {
answerData[key] = {colorRect, count: len}; answerData[key] = {colorRect, count: len};
...@@ -3871,110 +3897,9 @@ cc.Class({ ...@@ -3871,110 +3897,9 @@ cc.Class({
getPhotoData(cb) { getPhotoData(cb) {
const tmpData1 = {"result":{"text":[{"left":0.07899999618530273,"right":0.42899999022483826,"top":0.07959794253110886,"bottom":0.11568041145801544,"score":0.992110013961792,"content":"CTrace,write,and say.","characters":[{"character":"C","centerLoc":[0.10733333,0.09635052],"poly":[0.09066667,0.07959794,0.12566666,0.07959794,0.12566666,0.11310309,0.09066667,0.11310309]},{"character":"T","centerLoc":[0.139,0.09506186],"poly":[0.13233334,0.08604124,0.14733332,0.08604124,0.14733332,0.10408248,0.13233334,0.10408248]},{"character":"r","centerLoc":[0.15233333,0.09635052],"poly":[0.14733332,0.09119588,0.15900001,0.09119588,0.15900001,0.10279381,0.14733332,0.10279381]},{"character":"a","centerLoc":[0.169,0.09763918],"poly":[0.16066667,0.09119588,0.17733334,0.09119588,0.17733334,0.10408248,0.16066667,0.10408248]},{"character":"c","centerLoc":[0.18566667,0.09763918],"poly":[0.17733334,0.09119588,0.194,0.09119588,0.194,0.10408248,0.17733334,0.10408248]},{"character":"e","centerLoc":[0.20066667,0.09763918],"poly":[0.194,0.09248454,0.209,0.09248454,0.209,0.10408248,0.194,0.10408248]},{"character":",","centerLoc":[0.219,0.09892784],"poly":[0.21066667,0.09248454,0.229,0.09248454,0.229,0.10537113,0.21066667,0.10537113]},{"character":"w","centerLoc":[0.23733333,0.09763918],"poly":[0.229,0.09248454,0.24566667,0.09248454,0.24566667,0.10408248,0.229,0.10408248]},{"character":"r","centerLoc":[0.25066668,0.09763918],"poly":[0.24566667,0.09248454,0.25733334,0.09248454,0.25733334,0.10408248,0.24566667,0.10408248]},{"character":"i","centerLoc":[0.26233333,0.09635052],"poly":[0.25733334,0.08861856,0.269,0.08861856,0.269,0.10408248,0.25733334,0.10408248]},{"character":"t","centerLoc":[0.274,0.09635052],"poly":[0.269,0.08861856,0.28066665,0.08861856,0.28066665,0.10408248,0.269,0.10408248]},{"character":"e","centerLoc":[0.28566664,0.09763918],"poly":[0.28066665,0.09248454,0.29233333,0.09248454,0.29233333,0.10408248,0.28066665,0.10408248]},{"character":",","centerLoc":[0.30066666,0.10150516],"poly":[0.29233333,0.09763918,0.309,0.09763918,0.309,0.1066598,0.29233333,0.1066598]},{"character":"a","centerLoc":[0.31733334,0.09892784],"poly":[0.309,0.09248454,0.32733333,0.09248454,0.32733333,0.10537113,0.309,0.10537113]},{"character":"n","centerLoc":[0.33566666,0.09892784],"poly":[0.32733333,0.09248454,0.34566668,0.09248454,0.34566668,0.10537113,0.32733333,0.10537113]},{"character":"d","centerLoc":[0.35233334,0.09635052],"poly":[0.34566668,0.08861856,0.36066666,0.08861856,0.36066666,0.10537113,0.34566668,0.10537113]},{"character":" ","centerLoc":[0.36566666,0.09506186],"poly":[0.36233333,0.08861856,0.369,0.08861856,0.369,0.10279381,0.36233333,0.10279381]},{"character":"s","centerLoc":[0.37566668,0.09892784],"poly":[0.369,0.09248454,0.384,0.09248454,0.384,0.10537113,0.369,0.10537113]},{"character":"a","centerLoc":[0.39066666,0.10021649],"poly":[0.384,0.09119588,0.399,0.09119588,0.399,0.10923712,0.384,0.10923712]},{"character":"y","centerLoc":[0.40566668,0.10150516],"poly":[0.399,0.09248454,0.41233334,0.09248454,0.41233334,0.11052577,0.399,0.11052577]},{"character":".","centerLoc":[0.41733333,0.10279381],"poly":[0.41233334,0.10021649,0.424,0.10021649,0.424,0.10537113,0.41233334,0.10537113]}]},{"left":0.07566666603088379,"right":0.9523333311080933,"top":0.11052577197551727,"bottom":0.19557732343673706,"score":0.9962258338928223,"content":"CcccCCCCC","characters":[{"character":"C","centerLoc":[0.134,0.14918557],"poly":[0.10566667,0.11052577,0.16566667,0.11052577,0.16566667,0.19042268,0.10566667,0.19042268]},{"character":"c","centerLoc":[0.229,0.15562886],"poly":[0.19233333,0.12470104,0.27066666,0.12470104,0.27066666,0.19042268,0.19233333,0.19042268]},{"character":"c","centerLoc":[0.324,0.15562886],"poly":[0.28566664,0.12470104,0.36233333,0.12470104,0.36233333,0.19042268,0.28566664,0.19042268]},{"character":"c","centerLoc":[0.419,0.14918557],"poly":[0.38066667,0.11052577,0.45566666,0.11052577,0.45566666,0.19042268,0.38066667,0.19042268]},{"character":"C","centerLoc":[0.519,0.15562886],"poly":[0.48733333,0.12212372,0.5506667,0.12212372,0.5506667,0.19042268,0.48733333,0.19042268]},{"character":"C","centerLoc":[0.61399996,0.15562886],"poly":[0.58566666,0.12212372,0.6423334,0.12212372,0.6423334,0.19042268,0.58566666,0.19042268]},{"character":"C","centerLoc":[0.70566666,0.15305156],"poly":[0.674,0.1195464,0.7406666,0.1195464,0.7406666,0.19042268,0.674,0.19042268]},{"character":"C","centerLoc":[0.8006667,0.15176289],"poly":[0.7723334,0.11696908,0.8323333,0.11696908,0.8323333,0.18784536,0.7723334,0.18784536]},{"character":"C","centerLoc":[0.8923334,0.15305156],"poly":[0.8573333,0.11696908,0.929,0.11696908,0.929,0.19042268,0.8573333,0.19042268]}]},{"left":0.10400000214576721,"right":0.9423333406448364,"top":0.24068041145801544,"bottom":0.29609280824661255,"score":0.9850702285766602,"content":"CCCCCCCCC","characters":[{"character":"C","centerLoc":[0.14566666,0.26903093],"poly":[0.12733334,0.24970104,0.164,0.24970104,0.164,0.28707218,0.12733334,0.28707218]},{"character":"C","centerLoc":[0.23566666,0.26903093],"poly":[0.209,0.24970104,0.264,0.24970104,0.264,0.28707218,0.209,0.28707218]},{"character":"C","centerLoc":[0.32566667,0.26903093],"poly":[0.30233333,0.24970104,0.34733334,0.24970104,0.34733334,0.28707218,0.30233333,0.28707218]},{"character":"C","centerLoc":[0.41733333,0.26903093],"poly":[0.39733332,0.24970104,0.43733335,0.24970104,0.43733335,0.28707218,0.39733332,0.28707218]},{"character":"C","centerLoc":[0.53400004,0.26903093],"poly":[0.489,0.24970104,0.579,0.24970104,0.579,0.28707218,0.489,0.28707218]},{"character":"C","centerLoc":[0.62399995,0.26903093],"poly":[0.579,0.24970104,0.6706667,0.24970104,0.6706667,0.28707218,0.579,0.28707218]},{"character":"C","centerLoc":[0.70066667,0.26516497],"poly":[0.6706667,0.24583505,0.73399997,0.24583505,0.73399997,0.28578353,0.6706667,0.28578353]},{"character":"C","centerLoc":[0.794,0.26516497],"poly":[0.73399997,0.24583505,0.8573333,0.24583505,0.8573333,0.28578353,0.73399997,0.28578353]},{"character":"C","centerLoc":[0.88900006,0.27031958],"poly":[0.8573333,0.24970104,0.919,0.24970104,0.919,0.29093814,0.8573333,0.29093814]}]}]}}
// const tmpData1 = {
// "result":{
// "text":[
// {
// "left":0.07566666603088379,
// "right":0.42733335494995117,
// "top":0.07673195749521255,
// "bottom":0.11539174616336823,
// "score":1,
// "content":"CTrace,write,and say.",
// "characters":[
// {
// "character":"C",
// "centerLoc":[
// 0.109000005,
// 0.096061856
// ],
// "poly":[
// 0.09233334,
// 0.08059794,
// 0.12733334,
// 0.08059794,
// 0.12733334,
// 0.11281443,
// 0.09233334,
// 0.11281443
// ]
// },
// {
// "character":"T",
// "centerLoc":[
// 0.14233333,
// 0.094773196
// ],
// "poly":[
// 0.134,
// 0.08575258,
// 0.15066667,
// 0.08575258,
// 0.15066667,
// 0.10508247,
// 0.134,
// 0.10508247
// ]
// },
// {
// "character":"r",
// "centerLoc":[
// 0.15733334,
// 0.098639175
// ],
// "poly":[
// 0.15066667,
// 0.090907216,
// 0.164,
// 0.090907216,
// 0.164,
// 0.10508247,
// 0.15066667,
// 0.10508247
// ]
// },
// {
// "character":"a",
// "centerLoc":[
// 0.17066666,
// 0.098639175
// ],
// "poly":[
// 0.164,
// 0.090907216,
// 0.179,
// 0.090907216,
// 0.179,
// 0.10508247,
// 0.164,
// 0.10508247
// ]
// },
// {
// "character":"c",
// "centerLoc":[
// 0.18733335,
// 0.097350515
// ],
// "poly":[
// 0.18066667,
// 0.089618556,
// 0.194,
// 0.090907216,
// 0.194,
// 0.10508247,
// 0.18066667,
// 0.10508247
// ]
// }
// ]
// }
// ]
// }
// }
// const tmpData1 = { "result" : { "text" : [ { "bottom" : 0.12310344725847244, "top" : 0.0817241370677948, "score" : 6.4884182106673037e+28, "content" : "CTrace, write,and say.", "right" : 0.4464285671710968, "left" : 0.071428574621677399 }, { "bottom" : 0.21137930452823639, "top" : 0.12448275834321976, "score" : 6.4884182106673037e+28, "content" : "AAA AAA", "right" : 0.69285714626312256, "left" : 0.078571431338787079 }, { "bottom" : 0.30241379141807556, "top" : 0.25689655542373657, "score" : 6.4884182106673037e+28, "content" : "O1o", "right" : 0.39642858505249023, "left" : 0.19285714626312256 } ] }} // const tmpData1 = { "result" : { "text" : [ { "bottom" : 0.12310344725847244, "top" : 0.0817241370677948, "score" : 6.4884182106673037e+28, "content" : "CTrace, write,and say.", "right" : 0.4464285671710968, "left" : 0.071428574621677399 }, { "bottom" : 0.21137930452823639, "top" : 0.12448275834321976, "score" : 6.4884182106673037e+28, "content" : "AAA AAA", "right" : 0.69285714626312256, "left" : 0.078571431338787079 }, { "bottom" : 0.30241379141807556, "top" : 0.25689655542373657, "score" : 6.4884182106673037e+28, "content" : "O1o", "right" : 0.39642858505249023, "left" : 0.19285714626312256 } ] }}
const tmpData1 = {"result":{"text":[{"left":0.08800879865884781,"right":0.42794278264045715,"top":0.010067113675177097,"bottom":0.16778524219989777,"score":1,"content":"CTrace,write,and say."},{"left":0.09350935369729996,"right":0.48184818029403687,"top":0.1845637559890747,"bottom":0.46644294261932373,"score":0.9882554411888123,"content":"AAAA"},{"left":0.5731573104858398,"right":0.6347634792327881,"top":0.20469798147678375,"bottom":0.463087260723114,"score":0.9638504385948181,"content":"A"},{"left":0.751375138759613,"right":0.8129813075065613,"top":0.20134228467941284,"bottom":0.4563758373260498,"score":0.8285241723060608,"content":"A"},{"left":0.5665566325187683,"right":0.6281628012657166,"top":0.6677852272987366,"bottom":0.8791946172714233,"score":0.8251835703849792,"content":"a"}]}} // const tmpData1 = {"result":{"text":[{"left":0.08800879865884781,"right":0.42794278264045715,"top":0.010067113675177097,"bottom":0.16778524219989777,"score":1,"content":"CTrace,write,and say."},{"left":0.09350935369729996,"right":0.48184818029403687,"top":0.1845637559890747,"bottom":0.46644294261932373,"score":0.9882554411888123,"content":"AAAA"},{"left":0.5731573104858398,"right":0.6347634792327881,"top":0.20469798147678375,"bottom":0.463087260723114,"score":0.9638504385948181,"content":"A"},{"left":0.751375138759613,"right":0.8129813075065613,"top":0.20134228467941284,"bottom":0.4563758373260498,"score":0.8285241723060608,"content":"A"},{"left":0.5665566325187683,"right":0.6281628012657166,"top":0.6677852272987366,"bottom":0.8791946172714233,"score":0.8251835703849792,"content":"a"}]}}
// const tmpData1 = {"result":{"text":[{"left":0,"right":0.33299797773361206,"top":0.0971250981092453,"bottom":0.12354312092065811,"content":1,"text":"race,write,and say."},{"left":0.14084507524967194,"right":0.9476861357688904,"top":0.13131313025951385,"bottom":0.21445220708847046,"content":0.9066159129142761,"text":"AAAA-A-AA"},{"left":0.28470826148986816,"right":0.9315895438194275,"top":0.2735042870044708,"bottom":0.32867133617401123,"content":0.9610617756843567,"text":"aaaq qa"},{"left":0.03018108569085598,"right":0.6438632011413574,"top":0.37995338439941406,"bottom":0.41025641560554504,"content":1,"text":"Listen. Then write Aa or cross it out. o5"},{"left":0.636820912361145,"right":0.7655935883522034,"top":0.4755244851112366,"bottom":0.5314685106277466,"content":0.8729087710380554,"text":"Aa"},{"left":0.10663983970880508,"right":0.11167001724243164,"top":0.5788655877113342,"bottom":0.6021755933761597,"content":0.7464486360549927,"text":"4"},{"left":0.1589537262916565,"right":0.29074445366859436,"top":0.5936285853385925,"bottom":0.6596736311912537,"content":0.8887001872062683,"text":"Aa"},{"left":0.6549295783042908,"right":0.7786720395088196,"top":0.5920745730400085,"bottom":0.6643356680870056,"content":0.9307805895805359,"text":"Aa"},{"left":0.11267605423927307,"right":0.4034205377101898,"top":0.7700077891349792,"bottom":0.807303786277771,"content":1,"text":"Lusten and chant, bd"},{"left":0.28973841667175293,"right":0.7162978053092957,"top":0.9254079461097717,"bottom":0.9712509512901306,"content":0.9342746138572693,"text":"户藤미 Ow"},{"left":0.8158953785896301,"right":0.7203219532966614,"top":0.9611499905586243,"bottom":0.9370629191398621,"content":0.7845855951309204,"text":"0章"}]}} // const tmpData1 = {"result":{"text":[{"left":0,"right":0.33299797773361206,"top":0.0971250981092453,"bottom":0.12354312092065811,"content":1,"text":"race,write,and say."},{"left":0.14084507524967194,"right":0.9476861357688904,"top":0.13131313025951385,"bottom":0.21445220708847046,"content":0.9066159129142761,"text":"AAAA-A-AA"},{"left":0.28470826148986816,"right":0.9315895438194275,"top":0.2735042870044708,"bottom":0.32867133617401123,"content":0.9610617756843567,"text":"aaaq qa"},{"left":0.03018108569085598,"right":0.6438632011413574,"top":0.37995338439941406,"bottom":0.41025641560554504,"content":1,"text":"Listen. Then write Aa or cross it out. o5"},{"left":0.636820912361145,"right":0.7655935883522034,"top":0.4755244851112366,"bottom":0.5314685106277466,"content":0.8729087710380554,"text":"Aa"},{"left":0.10663983970880508,"right":0.11167001724243164,"top":0.5788655877113342,"bottom":0.6021755933761597,"content":0.7464486360549927,"text":"4"},{"left":0.1589537262916565,"right":0.29074445366859436,"top":0.5936285853385925,"bottom":0.6596736311912537,"content":0.8887001872062683,"text":"Aa"},{"left":0.6549295783042908,"right":0.7786720395088196,"top":0.5920745730400085,"bottom":0.6643356680870056,"content":0.9307805895805359,"text":"Aa"},{"left":0.11267605423927307,"right":0.4034205377101898,"top":0.7700077891349792,"bottom":0.807303786277771,"content":1,"text":"Lusten and chant, bd"},{"left":0.28973841667175293,"right":0.7162978053092957,"top":0.9254079461097717,"bottom":0.9712509512901306,"content":0.9342746138572693,"text":"户藤미 Ow"},{"left":0.8158953785896301,"right":0.7203219532966614,"top":0.9611499905586243,"bottom":0.9370629191398621,"content":0.7845855951309204,"text":"0章"}]}}
cb(tmpData1); cb(tmpData1);
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment