Commit ba43b643 authored by limingzhe's avatar limingzhe

fix: 不出音频 卡住

parent ec040677
import { getSprNode, getSprNodeByUrl, onHomeworkFinish, playAudio, playAudioByUrl } from "../script/util"; import { asyncDelay, getSprNode, getSprNodeByUrl, onHomeworkFinish, playAudio, playAudioByUrl } from "../script/util";
import { defaultData } from "../script/defaultData"; import { defaultData } from "../script/defaultData";
cc.Class({ cc.Class({
...@@ -204,7 +204,9 @@ cc.Class({ ...@@ -204,7 +204,9 @@ cc.Class({
const node = cc.find('middleLayer/ConsoleNode/BtnOpen'); const node = cc.find('middleLayer/ConsoleNode/BtnOpen');
node.opacity = 0; if (node) {
node.opacity = 0;
}
// this.initListener(); // this.initListener();
}, },
...@@ -1884,8 +1886,10 @@ cc.Class({ ...@@ -1884,8 +1886,10 @@ cc.Class({
}, },
showStepAudio() { async showStepAudio() {
console.log(' in showStepAudio: ', this.step); console.log(' in showStepAudio: ', this.step);
await asyncDelay(0.5);
switch(this.step) { switch(this.step) {
case 2: case 2:
this.playAudioStep2(); this.playAudioStep2();
...@@ -2059,6 +2063,7 @@ cc.Class({ ...@@ -2059,6 +2063,7 @@ cc.Class({
// this.canTouch = true; // this.canTouch = true;
} }
console.log('')
if (!this.data.write_small_0_audio_url) { if (!this.data.write_small_0_audio_url) {
playEnd(); playEnd();
return; return;
...@@ -2093,8 +2098,10 @@ cc.Class({ ...@@ -2093,8 +2098,10 @@ cc.Class({
}, },
showSmallLetter1Audio() { showSmallLetter1Audio() {
console.log(' in showSmallLetter1Audio')
const playEnd = () => { const playEnd = () => {
console.log(' in playEnd ~')
this.playAni('normal', 0); this.playAni('normal', 0);
// this.canTouch = true; // this.canTouch = true;
this.checkShowDataPool(); this.checkShowDataPool();
...@@ -3124,463 +3131,900 @@ cc.Class({ ...@@ -3124,463 +3131,900 @@ cc.Class({
const tmpData = const tmpData =
{ {
"code": 200000, "code":200000,
"message": "success", "message":"success",
"result": { "result":{
"support_results": [ "homography":{
[ "matrix":[
[ [
0.49317359924316406, 1.4966796485557876,
0.25097235652010197, 0.5865544493734395,
0.5522325038909912, 46.43280157429157
0.288081715131967, ],
"a", [
0.990108072757721 -0.01005137610702238,
] 1.4984154182794625,
], 96.67508554672378
[ ],
[ [
0.7815923094749451, 0.000019639357377687945,
0.2423561773522615, 0.001378134169965562,
0.8420042395591736, 1
0.2829396176165032, ]
"a", ],
0.9900233745574951 "query_size":[
] 640,
], 832
[ ],
[ "support_size":[
0.5897714495658875, 640,
0.24693736438131567, 480
0.6457504034042358, ]
0.2819446122459721,
"a",
0.9894896745681763
]
],
[
[
0.2031928449869156,
0.25154209940460914,
0.26929566264152527,
0.29193248868186233,
"a",
0.983356773853302
]
],
[
[
0.39285269379615784,
0.24877103711543316,
0.45319148898124695,
0.2872285145969844,
"a",
0.9817916750907898
]
],
[
[
0.30443957448005676,
0.2532131404780602,
0.3565950095653534,
0.2885934469473862,
"a",
0.9796608090400696
]
],
[
[
0.8672714233398438,
0.24161506162136312,
0.9294711947441101,
0.2848689417255425,
"a",
0.9749398231506348
]
],
[
[
0.680833101272583,
0.24406777752747533,
0.7436296343803406,
0.28508718252948045,
"a",
0.9576545357704163
]
],
[
[
0.48491987586021423,
0.12172665519367754,
0.5459403395652771,
0.19091845712618705,
"A",
0.9131966829299927
]
],
[
[
0.5817452669143677,
0.12464039263645885,
0.6427905559539795,
0.18670312292435287,
"A",
0.8777841925621033
]
],
[
[
0.6734722256660461,
0.12392509000705718,
0.7303305864334106,
0.18485528186833022,
"A",
0.8367360234260559
]
],
[
[
0.8564218282699585,
0.1192738632772547,
0.9225841164588928,
0.19054701754113432,
"A",
0.7801001071929932
]
],
[
[
0.7687476277351379,
0.12338259301840243,
0.8205023407936096,
0.18305307740282176,
"A",
0.6130796670913696
]
],
[
[
0.3863550126552582,
0.1285817704766488,
0.4408574104309082,
0.18449943199799176,
"A",
0.5841907858848572
]
]
],
"text": [
{
"bbox": [
{
"x1": 0.49317359924316406,
"y1": 0.25097235652010197
},
{
"x2": 0.5522325038909912,
"y2": 0.25097235652010197
},
{
"x3": 0.5522325038909912,
"y3": 0.288081715131967
},
{
"x4": 0.49317359924316406,
"y4": 0.288081715131967
}
],
"content": "a",
"score": 0.990108072757721
}, },
{ "support_results":[
"bbox": [ [
{ [
"x1": 0.7815923094749451, 0.2924,
"y1": 0.2423561773522615 0.1243,
}, 0.3488,
{ 0.1873,
"x2": 0.8420042395591736, "A",
"y2": 0.2423561773522615 0.9908210039138794
}, ],
{ [
"x3": 0.8420042395591736, 0.3907,
"y3": 0.2829396176165032 0.1245,
}, 0.4472,
{ 0.1909,
"x4": 0.7815923094749451, "A",
"y4": 0.2829396176165032 0.9895601272583008
} ],
], [
"content": "a", 0.7505,
"score": 0.9900233745574951 0.1161,
}, 0.8179,
{ 0.1909,
"bbox": [ "A",
{ 0.9865421056747437
"x1": 0.5897714495658875, ],
"y1": 0.24693736438131567 [
}, 0.8503,
{ 0.1128,
"x2": 0.6457504034042358, 0.9112,
"y2": 0.24693736438131567 0.1917,
}, "A",
{ 0.9810258150100708
"x3": 0.6457504034042358, ],
"y3": 0.2819446122459721 [
}, 0.6587,
{ 0.1186,
"x4": 0.5897714495658875, 0.719,
"y4": 0.2819446122459721 0.186,
} "A",
], 0.9783920049667358
"content": "a", ],
"score": 0.9894896745681763 [
}, 0.4766,
{ 0.1212,
"bbox": [ 0.5328,
{ 0.1916,
"x1": 0.2031928449869156, "A",
"y1": 0.25154209940460914 0.9687917828559875
}, ],
{ [
"x2": 0.26929566264152527, 0.5683,
"y2": 0.25154209940460914 0.1199,
}, 0.6217,
{ 0.1859,
"x3": 0.26929566264152527, "A",
"y3": 0.29193248868186233 0.9639236927032471
}, ],
{ [
"x4": 0.2031928449869156, 0.7852,
"y4": 0.29193248868186233 0.2524,
} 0.8253,
], 0.288,
"content": "a", "a",
"score": 0.983356773853302 0.9914705753326416
}, ],
{ [
"bbox": [ 0.5002,
{ 0.2517,
"x1": 0.39285269379615784, 0.5432,
"y1": 0.24877103711543316 0.2862,
}, "a",
{ 0.9906148314476013
"x2": 0.45319148898124695, ],
"y2": 0.24877103711543316 [
}, 0.6927,
{ 0.2471,
"x3": 0.45319148898124695, 0.7312,
"y3": 0.2872285145969844 0.2832,
}, "a",
{ 0.9835354089736938
"x4": 0.39285269379615784, ],
"y4": 0.2872285145969844 [
} 0.5963,
], 0.2489,
"content": "a", 0.6354,
"score": 0.9817916750907898 0.2856,
}, "a",
{ 0.9809314608573914
"bbox": [ ],
{ [
"x1": 0.30443957448005676, 0.4034,
"y1": 0.2532131404780602 0.2494,
}, 0.4504,
{ 0.2877,
"x2": 0.3565950095653534, "a",
"y2": 0.2532131404780602 0.9800149202346802
}, ],
{ [
"x3": 0.3565950095653534, 0.8807,
"y3": 0.2885934469473862 0.248,
}, 0.9223,
{ 0.2903,
"x4": 0.30443957448005676, "a",
"y4": 0.2885934469473862 0.9736253023147583
} ],
], [
"content": "a", 0.3024,
"score": 0.9796608090400696 0.2486,
}, 0.3559,
{ 0.2896,
"bbox": [ "a",
{ 0.9720337986946106
"x1": 0.8672714233398438, ]
"y1": 0.24161506162136312 ]
}, ],
{ "text":[
"x2": 0.9294711947441101,
"y2": 0.24161506162136312
},
{
"x3": 0.9294711947441101,
"y3": 0.2848689417255425
},
{
"x4": 0.8672714233398438,
"y4": 0.2848689417255425
}
],
"content": "a",
"score": 0.9749398231506348
},
{
"bbox": [
{
"x1": 0.680833101272583,
"y1": 0.24406777752747533
},
{
"x2": 0.7436296343803406,
"y2": 0.24406777752747533
},
{
"x3": 0.7436296343803406,
"y3": 0.28508718252948045
},
{
"x4": 0.680833101272583,
"y4": 0.28508718252948045
}
],
"content": "a",
"score": 0.9576545357704163
},
{
"bbox": [
{
"x1": 0.48491987586021423,
"y1": 0.12172665519367754
},
{
"x2": 0.5459403395652771,
"y2": 0.12172665519367754
},
{
"x3": 0.5459403395652771,
"y3": 0.19091845712618705
},
{
"x4": 0.48491987586021423,
"y4": 0.19091845712618705
}
],
"content": "A",
"score": 0.9131966829299927
},
{
"bbox": [
{
"x1": 0.5817452669143677,
"y1": 0.12464039263645885
},
{
"x2": 0.6427905559539795,
"y2": 0.12464039263645885
},
{
"x3": 0.6427905559539795,
"y3": 0.18670312292435287
},
{
"x4": 0.5817452669143677,
"y4": 0.18670312292435287
}
],
"content": "A",
"score": 0.8777841925621033
},
{
"bbox": [
{ {
"x1": 0.6734722256660461, "bbox":[
"y1": 0.12392509000705718 {
"x1":0.2924,
"y1":0.1243
},
{
"x2":0.3488,
"y2":0.1243
},
{
"x3":0.3488,
"y3":0.1873
},
{
"x4":0.2924,
"y4":0.1873
}
],
"content":"A",
"score":0.9908210039138794
}, },
{ {
"x2": 0.7303305864334106, "bbox":[
"y2": 0.12392509000705718 {
"x1":0.3907,
"y1":0.1245
},
{
"x2":0.4472,
"y2":0.1245
},
{
"x3":0.4472,
"y3":0.1909
},
{
"x4":0.3907,
"y4":0.1909
}
],
"content":"A",
"score":0.9895601272583008
}, },
{ {
"x3": 0.7303305864334106, "bbox":[
"y3": 0.18485528186833022 {
"x1":0.7505,
"y1":0.1161
},
{
"x2":0.8179,
"y2":0.1161
},
{
"x3":0.8179,
"y3":0.1909
},
{
"x4":0.7505,
"y4":0.1909
}
],
"content":"A",
"score":0.9865421056747437
}, },
{ {
"x4": 0.6734722256660461, "bbox":[
"y4": 0.18485528186833022 {
} "x1":0.8503,
], "y1":0.1128
"content": "A", },
"score": 0.8367360234260559 {
}, "x2":0.9112,
{ "y2":0.1128
"bbox": [ },
{ {
"x1": 0.8564218282699585, "x3":0.9112,
"y1": 0.1192738632772547 "y3":0.1917
},
{
"x4":0.8503,
"y4":0.1917
}
],
"content":"A",
"score":0.9810258150100708
}, },
{ {
"x2": 0.9225841164588928, "bbox":[
"y2": 0.1192738632772547 {
"x1":0.6587,
"y1":0.1186
},
{
"x2":0.719,
"y2":0.1186
},
{
"x3":0.719,
"y3":0.186
},
{
"x4":0.6587,
"y4":0.186
}
],
"content":"A",
"score":0.9783920049667358
}, },
{ {
"x3": 0.9225841164588928, "bbox":[
"y3": 0.19054701754113432 {
"x1":0.4766,
"y1":0.1212
},
{
"x2":0.5328,
"y2":0.1212
},
{
"x3":0.5328,
"y3":0.1916
},
{
"x4":0.4766,
"y4":0.1916
}
],
"content":"A",
"score":0.9687917828559875
}, },
{ {
"x4": 0.8564218282699585, "bbox":[
"y4": 0.19054701754113432 {
} "x1":0.5683,
], "y1":0.1199
"content": "A", },
"score": 0.7801001071929932 {
}, "x2":0.6217,
{ "y2":0.1199
"bbox": [ },
{ {
"x1": 0.7687476277351379, "x3":0.6217,
"y1": 0.12338259301840243 "y3":0.1859
},
{
"x4":0.5683,
"y4":0.1859
}
],
"content":"A",
"score":0.9639236927032471
}, },
{ {
"x2": 0.8205023407936096, "bbox":[
"y2": 0.12338259301840243 {
"x1":0.7852,
"y1":0.2524
},
{
"x2":0.8253,
"y2":0.2524
},
{
"x3":0.8253,
"y3":0.288
},
{
"x4":0.7852,
"y4":0.288
}
],
"content":"a",
"score":0.9914705753326416
}, },
{ {
"x3": 0.8205023407936096, "bbox":[
"y3": 0.18305307740282176 {
"x1":0.5002,
"y1":0.2517
},
{
"x2":0.5432,
"y2":0.2517
},
{
"x3":0.5432,
"y3":0.2862
},
{
"x4":0.5002,
"y4":0.2862
}
],
"content":"a",
"score":0.9906148314476013
}, },
{ {
"x4": 0.7687476277351379, "bbox":[
"y4": 0.18305307740282176 {
} "x1":0.6927,
], "y1":0.2471
"content": "A", },
"score": 0.6130796670913696 {
}, "x2":0.7312,
{ "y2":0.2471
"bbox": [ },
{ {
"x1": 0.3863550126552582, "x3":0.7312,
"y1": 0.1285817704766488 "y3":0.2832
},
{
"x4":0.6927,
"y4":0.2832
}
],
"content":"a",
"score":0.9835354089736938
}, },
{ {
"x2": 0.4408574104309082, "bbox":[
"y2": 0.1285817704766488 {
"x1":0.5963,
"y1":0.2489
},
{
"x2":0.6354,
"y2":0.2489
},
{
"x3":0.6354,
"y3":0.2856
},
{
"x4":0.5963,
"y4":0.2856
}
],
"content":"a",
"score":0.9809314608573914
}, },
{ {
"x3": 0.4408574104309082, "bbox":[
"y3": 0.18449943199799176 {
"x1":0.8807,
"y1":0.248
},
{
"x2":0.9223,
"y2":0.248
},
{
"x3":0.9223,
"y3":0.2903
},
{
"x4":0.8807,
"y4":0.2903
}
],
"content":"a",
"score":0.9736253023147583
}, },
{ {
"x4": 0.3863550126552582, "bbox":[
"y4": 0.18449943199799176 {
"x1":0.3024,
"y1":0.2486
},
{
"x2":0.3559,
"y2":0.2486
},
{
"x3":0.3559,
"y3":0.2896
},
{
"x4":0.3024,
"y4":0.2896
}
],
"content":"a",
"score":0.9720337986946106
} }
], ]
"content": "A",
"score": 0.5841907858848572
}
]
} }
} }
// {
// "code": 200000,
// "message": "success",
// "result": {
// "support_results": [
// [
// [
// 0.49317359924316406,
// 0.25097235652010197,
// 0.5522325038909912,
// 0.288081715131967,
// "a",
// 0.990108072757721
// ]
// ],
// [
// [
// 0.7815923094749451,
// 0.2423561773522615,
// 0.8420042395591736,
// 0.2829396176165032,
// "a",
// 0.9900233745574951
// ]
// ],
// [
// [
// 0.5897714495658875,
// 0.24693736438131567,
// 0.6457504034042358,
// 0.2819446122459721,
// "a",
// 0.9894896745681763
// ]
// ],
// [
// [
// 0.2031928449869156,
// 0.25154209940460914,
// 0.26929566264152527,
// 0.29193248868186233,
// "a",
// 0.983356773853302
// ]
// ],
// [
// [
// 0.39285269379615784,
// 0.24877103711543316,
// 0.45319148898124695,
// 0.2872285145969844,
// "a",
// 0.9817916750907898
// ]
// ],
// [
// [
// 0.30443957448005676,
// 0.2532131404780602,
// 0.3565950095653534,
// 0.2885934469473862,
// "a",
// 0.9796608090400696
// ]
// ],
// [
// [
// 0.8672714233398438,
// 0.24161506162136312,
// 0.9294711947441101,
// 0.2848689417255425,
// "a",
// 0.9749398231506348
// ]
// ],
// [
// [
// 0.680833101272583,
// 0.24406777752747533,
// 0.7436296343803406,
// 0.28508718252948045,
// "a",
// 0.9576545357704163
// ]
// ],
// [
// [
// 0.48491987586021423,
// 0.12172665519367754,
// 0.5459403395652771,
// 0.19091845712618705,
// "A",
// 0.9131966829299927
// ]
// ],
// [
// [
// 0.5817452669143677,
// 0.12464039263645885,
// 0.6427905559539795,
// 0.18670312292435287,
// "A",
// 0.8777841925621033
// ]
// ],
// [
// [
// 0.6734722256660461,
// 0.12392509000705718,
// 0.7303305864334106,
// 0.18485528186833022,
// "A",
// 0.8367360234260559
// ]
// ],
// [
// [
// 0.8564218282699585,
// 0.1192738632772547,
// 0.9225841164588928,
// 0.19054701754113432,
// "A",
// 0.7801001071929932
// ]
// ],
// [
// [
// 0.7687476277351379,
// 0.12338259301840243,
// 0.8205023407936096,
// 0.18305307740282176,
// "A",
// 0.6130796670913696
// ]
// ],
// [
// [
// 0.3863550126552582,
// 0.1285817704766488,
// 0.4408574104309082,
// 0.18449943199799176,
// "A",
// 0.5841907858848572
// ]
// ]
// ],
// "text": [
// {
// "bbox": [
// {
// "x1": 0.49317359924316406,
// "y1": 0.25097235652010197
// },
// {
// "x2": 0.5522325038909912,
// "y2": 0.25097235652010197
// },
// {
// "x3": 0.5522325038909912,
// "y3": 0.288081715131967
// },
// {
// "x4": 0.49317359924316406,
// "y4": 0.288081715131967
// }
// ],
// "content": "a",
// "score": 0.990108072757721
// },
// {
// "bbox": [
// {
// "x1": 0.7815923094749451,
// "y1": 0.2423561773522615
// },
// {
// "x2": 0.8420042395591736,
// "y2": 0.2423561773522615
// },
// {
// "x3": 0.8420042395591736,
// "y3": 0.2829396176165032
// },
// {
// "x4": 0.7815923094749451,
// "y4": 0.2829396176165032
// }
// ],
// "content": "a",
// "score": 0.9900233745574951
// },
// {
// "bbox": [
// {
// "x1": 0.5897714495658875,
// "y1": 0.24693736438131567
// },
// {
// "x2": 0.6457504034042358,
// "y2": 0.24693736438131567
// },
// {
// "x3": 0.6457504034042358,
// "y3": 0.2819446122459721
// },
// {
// "x4": 0.5897714495658875,
// "y4": 0.2819446122459721
// }
// ],
// "content": "a",
// "score": 0.9894896745681763
// },
// {
// "bbox": [
// {
// "x1": 0.2031928449869156,
// "y1": 0.25154209940460914
// },
// {
// "x2": 0.26929566264152527,
// "y2": 0.25154209940460914
// },
// {
// "x3": 0.26929566264152527,
// "y3": 0.29193248868186233
// },
// {
// "x4": 0.2031928449869156,
// "y4": 0.29193248868186233
// }
// ],
// "content": "a",
// "score": 0.983356773853302
// },
// {
// "bbox": [
// {
// "x1": 0.39285269379615784,
// "y1": 0.24877103711543316
// },
// {
// "x2": 0.45319148898124695,
// "y2": 0.24877103711543316
// },
// {
// "x3": 0.45319148898124695,
// "y3": 0.2872285145969844
// },
// {
// "x4": 0.39285269379615784,
// "y4": 0.2872285145969844
// }
// ],
// "content": "a",
// "score": 0.9817916750907898
// },
// {
// "bbox": [
// {
// "x1": 0.30443957448005676,
// "y1": 0.2532131404780602
// },
// {
// "x2": 0.3565950095653534,
// "y2": 0.2532131404780602
// },
// {
// "x3": 0.3565950095653534,
// "y3": 0.2885934469473862
// },
// {
// "x4": 0.30443957448005676,
// "y4": 0.2885934469473862
// }
// ],
// "content": "a",
// "score": 0.9796608090400696
// },
// {
// "bbox": [
// {
// "x1": 0.8672714233398438,
// "y1": 0.24161506162136312
// },
// {
// "x2": 0.9294711947441101,
// "y2": 0.24161506162136312
// },
// {
// "x3": 0.9294711947441101,
// "y3": 0.2848689417255425
// },
// {
// "x4": 0.8672714233398438,
// "y4": 0.2848689417255425
// }
// ],
// "content": "a",
// "score": 0.9749398231506348
// },
// {
// "bbox": [
// {
// "x1": 0.680833101272583,
// "y1": 0.24406777752747533
// },
// {
// "x2": 0.7436296343803406,
// "y2": 0.24406777752747533
// },
// {
// "x3": 0.7436296343803406,
// "y3": 0.28508718252948045
// },
// {
// "x4": 0.680833101272583,
// "y4": 0.28508718252948045
// }
// ],
// "content": "a",
// "score": 0.9576545357704163
// },
// {
// "bbox": [
// {
// "x1": 0.48491987586021423,
// "y1": 0.12172665519367754
// },
// {
// "x2": 0.5459403395652771,
// "y2": 0.12172665519367754
// },
// {
// "x3": 0.5459403395652771,
// "y3": 0.19091845712618705
// },
// {
// "x4": 0.48491987586021423,
// "y4": 0.19091845712618705
// }
// ],
// "content": "A",
// "score": 0.9131966829299927
// },
// {
// "bbox": [
// {
// "x1": 0.5817452669143677,
// "y1": 0.12464039263645885
// },
// {
// "x2": 0.6427905559539795,
// "y2": 0.12464039263645885
// },
// {
// "x3": 0.6427905559539795,
// "y3": 0.18670312292435287
// },
// {
// "x4": 0.5817452669143677,
// "y4": 0.18670312292435287
// }
// ],
// "content": "A",
// "score": 0.8777841925621033
// },
// {
// "bbox": [
// {
// "x1": 0.6734722256660461,
// "y1": 0.12392509000705718
// },
// {
// "x2": 0.7303305864334106,
// "y2": 0.12392509000705718
// },
// {
// "x3": 0.7303305864334106,
// "y3": 0.18485528186833022
// },
// {
// "x4": 0.6734722256660461,
// "y4": 0.18485528186833022
// }
// ],
// "content": "A",
// "score": 0.8367360234260559
// },
// {
// "bbox": [
// {
// "x1": 0.8564218282699585,
// "y1": 0.1192738632772547
// },
// {
// "x2": 0.9225841164588928,
// "y2": 0.1192738632772547
// },
// {
// "x3": 0.9225841164588928,
// "y3": 0.19054701754113432
// },
// {
// "x4": 0.8564218282699585,
// "y4": 0.19054701754113432
// }
// ],
// "content": "A",
// "score": 0.7801001071929932
// },
// {
// "bbox": [
// {
// "x1": 0.7687476277351379,
// "y1": 0.12338259301840243
// },
// {
// "x2": 0.8205023407936096,
// "y2": 0.12338259301840243
// },
// {
// "x3": 0.8205023407936096,
// "y3": 0.18305307740282176
// },
// {
// "x4": 0.7687476277351379,
// "y4": 0.18305307740282176
// }
// ],
// "content": "A",
// "score": 0.6130796670913696
// },
// {
// "bbox": [
// {
// "x1": 0.3863550126552582,
// "y1": 0.1285817704766488
// },
// {
// "x2": 0.4408574104309082,
// "y2": 0.1285817704766488
// },
// {
// "x3": 0.4408574104309082,
// "y3": 0.18449943199799176
// },
// {
// "x4": 0.3863550126552582,
// "y4": 0.18449943199799176
// }
// ],
// "content": "A",
// "score": 0.5841907858848572
// }
// ]
// }
// }
cb(tmpData); cb(tmpData);
}, },
......
export const defaultData = {"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":"D","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"} // export const defaultData = {"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":"D","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"}
\ No newline at end of file export const defaultData = {"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"}
\ No newline at end of file
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