Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_18
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
OP_18
Commits
ba43b643
Commit
ba43b643
authored
Jul 21, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 不出音频 卡住
parent
ec040677
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
878 additions
and
433 deletions
+878
-433
OP_18.js
assets/OP_18/scene/OP_18.js
+876
-432
defaultData.js
assets/OP_18/script/defaultData.js
+2
-1
No files found.
assets/OP_18/scene/OP_18.js
View file @
ba43b643
import
{
getSprNode
,
getSprNodeByUrl
,
onHomeworkFinish
,
playAudio
,
playAudioByUrl
}
from
"
../script/util
"
;
import
{
asyncDelay
,
getSprNode
,
getSprNodeByUrl
,
onHomeworkFinish
,
playAudio
,
playAudioByUrl
}
from
"
../script/util
"
;
import
{
defaultData
}
from
"
../script/defaultData
"
;
cc
.
Class
({
...
...
@@ -204,7 +204,9 @@ cc.Class({
const
node
=
cc
.
find
(
'
middleLayer/ConsoleNode/BtnOpen
'
);
if
(
node
)
{
node
.
opacity
=
0
;
}
// this.initListener();
},
...
...
@@ -1884,8 +1886,10 @@ cc.Class({
},
showStepAudio
()
{
async
showStepAudio
()
{
console
.
log
(
'
in showStepAudio:
'
,
this
.
step
);
await
asyncDelay
(
0.5
);
switch
(
this
.
step
)
{
case
2
:
this
.
playAudioStep2
();
...
...
@@ -2059,6 +2063,7 @@ cc.Class({
// this.canTouch = true;
}
console
.
log
(
''
)
if
(
!
this
.
data
.
write_small_0_audio_url
)
{
playEnd
();
return
;
...
...
@@ -2093,8 +2098,10 @@ cc.Class({
},
showSmallLetter1Audio
()
{
console
.
log
(
'
in showSmallLetter1Audio
'
)
const
playEnd
=
()
=>
{
console
.
log
(
'
in playEnd ~
'
)
this
.
playAni
(
'
normal
'
,
0
);
// this.canTouch = true;
this
.
checkShowDataPool
();
...
...
@@ -3124,463 +3131,900 @@ cc.Class({
const
tmpData
=
{
"
code
"
:
200000
,
"
message
"
:
"
success
"
,
"
result
"
:
{
"
support_results
"
:
[
[
"
code
"
:
200000
,
"
message
"
:
"
success
"
,
"
result
"
:{
"
homography
"
:{
"
matrix
"
:
[
[
0.49317359924316406
,
0.25097235652010197
,
0.5522325038909912
,
0.288081715131967
,
"
a
"
,
0.990108072757721
]
1.4966796485557876
,
0.5865544493734395
,
46.43280157429157
],
[
[
0.7815923094749451
,
0.2423561773522615
,
0.8420042395591736
,
0.2829396176165032
,
"
a
"
,
0.9900233745574951
]
-
0.01005137610702238
,
1.4984154182794625
,
96.67508554672378
],
[
[
0.5897714495658875
,
0.24693736438131567
,
0.6457504034042358
,
0.2819446122459721
,
"
a
"
,
0.9894896745681763
0.000019639357377687945
,
0.001378134169965562
,
1
]
],
[
[
0.2031928449869156
,
0.25154209940460914
,
0.26929566264152527
,
0.29193248868186233
,
"
a
"
,
0.983356773853302
]
"
query_size
"
:[
640
,
832
],
[
[
0.39285269379615784
,
0.24877103711543316
,
0.45319148898124695
,
0.2872285145969844
,
"
a
"
,
0.9817916750907898
"
support_size
"
:[
640
,
480
]
],
},
"
support_results
"
:[
[
[
0.30443957448005676
,
0.2532131404780602
,
0.3565950095653534
,
0.2885934469473862
,
"
a
"
,
0.9796608090400696
]
0.2924
,
0.1243
,
0.3488
,
0.1873
,
"
A
"
,
0.9908210039138794
],
[
[
0.8672714233398438
,
0.24161506162136312
,
0.9294711947441101
,
0.2848689417255425
,
"
a
"
,
0.9749398231506348
]
0.3907
,
0.1245
,
0.4472
,
0.1909
,
"
A
"
,
0.9895601272583008
],
[
[
0.680833101272583
,
0.24406777752747533
,
0.7436296343803406
,
0.28508718252948045
,
"
a
"
,
0.9576545357704163
]
0.7505
,
0.1161
,
0.8179
,
0.1909
,
"
A
"
,
0.9865421056747437
],
[
[
0.48491987586021423
,
0.12172665519367754
,
0.5459403395652771
,
0.19091845712618705
,
0.8503
,
0.1128
,
0.9112
,
0.1917
,
"
A
"
,
0.9131966829299927
]
0.9810258150100708
],
[
[
0.5817452669143677
,
0.12464039263645885
,
0.6427905559539795
,
0.18670312292435287
,
0.6587
,
0.1186
,
0.719
,
0.186
,
"
A
"
,
0.8777841925621033
]
0.9783920049667358
],
[
0.4766
,
0.1212
,
0.5328
,
0.1916
,
"
A
"
,
0.9687917828559875
],
[
0.6734722256660461
,
0.12392509000705718
,
0.7303305864334106
,
0.18485528186833022
,
0.5683
,
0.1199
,
0.6217
,
0.1859
,
"
A
"
,
0.8367360234260559
]
0.9639236927032471
],
[
0.7852
,
0.2524
,
0.8253
,
0.288
,
"
a
"
,
0.9914705753326416
],
[
0.8564218282699585
,
0.1192738632772547
,
0.9225841164588928
,
0.19054701754113432
,
"
A
"
,
0.7801001071929932
]
0.5002
,
0.2517
,
0.5432
,
0.2862
,
"
a
"
,
0.9906148314476013
],
[
0.6927
,
0.2471
,
0.7312
,
0.2832
,
"
a
"
,
0.9835354089736938
],
[
0.7687476277351379
,
0.12338259301840243
,
0.8205023407936096
,
0.18305307740282176
,
"
A
"
,
0.6130796670913696
]
0.5963
,
0.2489
,
0.6354
,
0.2856
,
"
a
"
,
0.9809314608573914
],
[
0.4034
,
0.2494
,
0.4504
,
0.2877
,
"
a
"
,
0.9800149202346802
],
[
0.3863550126552582
,
0.1285817704766488
,
0.4408574104309082
,
0.18449943199799176
,
"
A
"
,
0.5841907858848572
0.8807
,
0.248
,
0.9223
,
0.2903
,
"
a
"
,
0.9736253023147583
],
[
0.3024
,
0.2486
,
0.3559
,
0.2896
,
"
a
"
,
0.9720337986946106
]
]
],
"
text
"
:
[
"
text
"
:
[
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.49317359924316406
,
"
y1
"
:
0.25097235652010197
"
x1
"
:
0.2924
,
"
y1
"
:
0.1243
},
{
"
x2
"
:
0.5522325038909912
,
"
y2
"
:
0.25097235652010197
"
x2
"
:
0.3488
,
"
y2
"
:
0.1243
},
{
"
x3
"
:
0.5522325038909912
,
"
y3
"
:
0.288081715131967
"
x3
"
:
0.3488
,
"
y3
"
:
0.1873
},
{
"
x4
"
:
0.49317359924316406
,
"
y4
"
:
0.288081715131967
"
x4
"
:
0.2924
,
"
y4
"
:
0.1873
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.990108072757721
"
content
"
:
"
A
"
,
"
score
"
:
0.9908210039138794
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.7815923094749451
,
"
y1
"
:
0.242356177352261
5
"
x1
"
:
0.3907
,
"
y1
"
:
0.124
5
},
{
"
x2
"
:
0.8420042395591736
,
"
y2
"
:
0.242356177352261
5
"
x2
"
:
0.4472
,
"
y2
"
:
0.124
5
},
{
"
x3
"
:
0.8420042395591736
,
"
y3
"
:
0.2829396176165032
"
x3
"
:
0.4472
,
"
y3
"
:
0.1909
},
{
"
x4
"
:
0.7815923094749451
,
"
y4
"
:
0.2829396176165032
"
x4
"
:
0.3907
,
"
y4
"
:
0.1909
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.9900233745574951
"
content
"
:
"
A
"
,
"
score
"
:
0.9895601272583008
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.589771449565887
5
,
"
y1
"
:
0.24693736438131567
"
x1
"
:
0.750
5
,
"
y1
"
:
0.1161
},
{
"
x2
"
:
0.6457504034042358
,
"
y2
"
:
0.24693736438131567
"
x2
"
:
0.8179
,
"
y2
"
:
0.1161
},
{
"
x3
"
:
0.6457504034042358
,
"
y3
"
:
0.2819446122459721
"
x3
"
:
0.8179
,
"
y3
"
:
0.1909
},
{
"
x4
"
:
0.589771449565887
5
,
"
y4
"
:
0.2819446122459721
"
x4
"
:
0.750
5
,
"
y4
"
:
0.1909
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.9894896745681763
"
content
"
:
"
A
"
,
"
score
"
:
0.9865421056747437
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.2031928449869156
,
"
y1
"
:
0.25154209940460914
"
x1
"
:
0.8503
,
"
y1
"
:
0.1128
},
{
"
x2
"
:
0.26929566264152527
,
"
y2
"
:
0.25154209940460914
"
x2
"
:
0.9112
,
"
y2
"
:
0.1128
},
{
"
x3
"
:
0.26929566264152527
,
"
y3
"
:
0.29193248868186233
"
x3
"
:
0.9112
,
"
y3
"
:
0.1917
},
{
"
x4
"
:
0.2031928449869156
,
"
y4
"
:
0.29193248868186233
"
x4
"
:
0.8503
,
"
y4
"
:
0.1917
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.983356773853302
"
content
"
:
"
A
"
,
"
score
"
:
0.9810258150100708
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.39285269379615784
,
"
y1
"
:
0.2487710371154331
6
"
x1
"
:
0.6587
,
"
y1
"
:
0.118
6
},
{
"
x2
"
:
0.45319148898124695
,
"
y2
"
:
0.2487710371154331
6
"
x2
"
:
0.719
,
"
y2
"
:
0.118
6
},
{
"
x3
"
:
0.45319148898124695
,
"
y3
"
:
0.2872285145969844
"
x3
"
:
0.719
,
"
y3
"
:
0.186
},
{
"
x4
"
:
0.39285269379615784
,
"
y4
"
:
0.2872285145969844
"
x4
"
:
0.6587
,
"
y4
"
:
0.186
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.981791675090789
8
"
content
"
:
"
A
"
,
"
score
"
:
0.978392004966735
8
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.3044395744800567
6
,
"
y1
"
:
0.253213140478060
2
"
x1
"
:
0.476
6
,
"
y1
"
:
0.121
2
},
{
"
x2
"
:
0.3565950095653534
,
"
y2
"
:
0.253213140478060
2
"
x2
"
:
0.5328
,
"
y2
"
:
0.121
2
},
{
"
x3
"
:
0.3565950095653534
,
"
y3
"
:
0.2885934469473862
"
x3
"
:
0.5328
,
"
y3
"
:
0.1916
},
{
"
x4
"
:
0.3044395744800567
6
,
"
y4
"
:
0.2885934469473862
"
x4
"
:
0.476
6
,
"
y4
"
:
0.1916
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.9796608090400696
"
content
"
:
"
A
"
,
"
score
"
:
0.9687917828559875
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.8672714233398438
,
"
y1
"
:
0.24161506162136312
"
x1
"
:
0.5683
,
"
y1
"
:
0.1199
},
{
"
x2
"
:
0.9294711947441101
,
"
y2
"
:
0.24161506162136312
"
x2
"
:
0.6217
,
"
y2
"
:
0.1199
},
{
"
x3
"
:
0.9294711947441101
,
"
y3
"
:
0.2848689417255425
"
x3
"
:
0.6217
,
"
y3
"
:
0.1859
},
{
"
x4
"
:
0.8672714233398438
,
"
y4
"
:
0.2848689417255425
"
x4
"
:
0.5683
,
"
y4
"
:
0.1859
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.9749398231506348
"
content
"
:
"
A
"
,
"
score
"
:
0.9639236927032471
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.680833101272583
,
"
y1
"
:
0.24406777752747533
"
x1
"
:
0.7852
,
"
y1
"
:
0.2524
},
{
"
x2
"
:
0.7436296343803406
,
"
y2
"
:
0.24406777752747533
"
x2
"
:
0.8253
,
"
y2
"
:
0.2524
},
{
"
x3
"
:
0.7436296343803406
,
"
y3
"
:
0.28508718252948045
"
x3
"
:
0.8253
,
"
y3
"
:
0.288
},
{
"
x4
"
:
0.680833101272583
,
"
y4
"
:
0.28508718252948045
"
x4
"
:
0.7852
,
"
y4
"
:
0.288
}
],
"
content
"
:
"
a
"
,
"
score
"
:
0.9576545357704163
"
content
"
:
"
a
"
,
"
score
"
:
0.9914705753326416
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.48491987586021423
,
"
y1
"
:
0.12172665519367754
"
x1
"
:
0.5002
,
"
y1
"
:
0.2517
},
{
"
x2
"
:
0.5459403395652771
,
"
y2
"
:
0.12172665519367754
"
x2
"
:
0.5432
,
"
y2
"
:
0.2517
},
{
"
x3
"
:
0.5459403395652771
,
"
y3
"
:
0.19091845712618705
"
x3
"
:
0.5432
,
"
y3
"
:
0.2862
},
{
"
x4
"
:
0.48491987586021423
,
"
y4
"
:
0.19091845712618705
"
x4
"
:
0.5002
,
"
y4
"
:
0.2862
}
],
"
content
"
:
"
A
"
,
"
score
"
:
0.9131966829299927
"
content
"
:
"
a
"
,
"
score
"
:
0.9906148314476013
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.581745266914367
7
,
"
y1
"
:
0.12464039263645885
"
x1
"
:
0.692
7
,
"
y1
"
:
0.2471
},
{
"
x2
"
:
0.6427905559539795
,
"
y2
"
:
0.12464039263645885
"
x2
"
:
0.7312
,
"
y2
"
:
0.2471
},
{
"
x3
"
:
0.6427905559539795
,
"
y3
"
:
0.18670312292435287
"
x3
"
:
0.7312
,
"
y3
"
:
0.2832
},
{
"
x4
"
:
0.581745266914367
7
,
"
y4
"
:
0.18670312292435287
"
x4
"
:
0.692
7
,
"
y4
"
:
0.2832
}
],
"
content
"
:
"
A
"
,
"
score
"
:
0.8777841925621033
"
content
"
:
"
a
"
,
"
score
"
:
0.9835354089736938
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.6734722256660461
,
"
y1
"
:
0.12392509000705718
"
x1
"
:
0.5963
,
"
y1
"
:
0.2489
},
{
"
x2
"
:
0.7303305864334106
,
"
y2
"
:
0.12392509000705718
"
x2
"
:
0.6354
,
"
y2
"
:
0.2489
},
{
"
x3
"
:
0.7303305864334106
,
"
y3
"
:
0.18485528186833022
"
x3
"
:
0.6354
,
"
y3
"
:
0.2856
},
{
"
x4
"
:
0.6734722256660461
,
"
y4
"
:
0.18485528186833022
"
x4
"
:
0.5963
,
"
y4
"
:
0.2856
}
],
"
content
"
:
"
A
"
,
"
score
"
:
0.8367360234260559
"
content
"
:
"
a
"
,
"
score
"
:
0.9809314608573914
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.8564218282699585
,
"
y1
"
:
0.1192738632772547
"
x1
"
:
0.8807
,
"
y1
"
:
0.248
},
{
"
x2
"
:
0.9225841164588928
,
"
y2
"
:
0.1192738632772547
"
x2
"
:
0.9223
,
"
y2
"
:
0.248
},
{
"
x3
"
:
0.9225841164588928
,
"
y3
"
:
0.19054701754113432
"
x3
"
:
0.9223
,
"
y3
"
:
0.2903
},
{
"
x4
"
:
0.8564218282699585
,
"
y4
"
:
0.19054701754113432
"
x4
"
:
0.8807
,
"
y4
"
:
0.2903
}
],
"
content
"
:
"
A
"
,
"
score
"
:
0.7801001071929932
"
content
"
:
"
a
"
,
"
score
"
:
0.9736253023147583
},
{
"
bbox
"
:
[
"
bbox
"
:
[
{
"
x1
"
:
0.7687476277351379
,
"
y1
"
:
0.12338259301840243
"
x1
"
:
0.3024
,
"
y1
"
:
0.2486
},
{
"
x2
"
:
0.8205023407936096
,
"
y2
"
:
0.12338259301840243
"
x2
"
:
0.3559
,
"
y2
"
:
0.2486
},
{
"
x3
"
:
0.8205023407936096
,
"
y3
"
:
0.1830530774028217
6
"
x3
"
:
0.3559
,
"
y3
"
:
0.289
6
},
{
"
x4
"
:
0.7687476277351379
,
"
y4
"
:
0.1830530774028217
6
"
x4
"
:
0.3024
,
"
y4
"
:
0.289
6
}
],
"
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
"
content
"
:
"
a
"
,
"
score
"
:
0.9720337986946106
}
]
}
}
// {
// "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
);
},
...
...
assets/OP_18/script/defaultData.js
View file @
ba43b643
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 = {"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
=
{
"
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
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