Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
Lwd
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
Lwd
Commits
6a46d245
Commit
6a46d245
authored
Apr 02, 2021
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aaaa
parent
d1de056a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
368 additions
and
426 deletions
+368
-426
Game.fire
play/assets/tmpGame/scene/Game.fire
+335
-384
item.js
play/assets/tmpGame/script/game/item.js
+26
-35
result.js
play/assets/tmpGame/script/game/result.js
+4
-4
speaker.js
play/assets/tmpGame/script/game/speaker.js
+2
-2
data_mgr.js
play/assets/tmpGame/script/manager/data_mgr.js
+1
-1
No files found.
play/assets/tmpGame/scene/Game.fire
View file @
6a46d245
...
...
@@ -75,22 +75,22 @@
"__id__": 5
},
{
"__id__": 1
86
"__id__": 1
73
}
],
"_active": true,
"_components": [
{
"__id__": 1
88
"__id__": 1
75
},
{
"__id__": 1
89
"__id__": 1
76
},
{
"__id__": 1
90
"__id__": 1
77
},
{
"__id__": 1
91
"__id__": 1
78
}
],
"_prefab": null,
...
...
@@ -180,7 +180,7 @@
"array": [
0,
0,
276.2621038072359
,
539.5338265577053
,
0,
0,
0,
...
...
@@ -254,7 +254,7 @@
"__id__": 8
},
{
"__id__": 1
82
"__id__": 1
69
}
],
"_active": true,
...
...
@@ -443,10 +443,10 @@
"__id__": 92
},
{
"__id__": 11
0
"__id__": 11
2
},
{
"__id__": 13
0
"__id__": 13
4
}
],
"_active": true,
...
...
@@ -4164,19 +4164,19 @@
"__id__": 99
},
{
"__id__": 10
1
"__id__": 10
3
},
{
"__id__": 10
5
"__id__": 10
7
}
],
"_active": false,
"_components": [
{
"__id__": 10
7
"__id__": 10
9
},
{
"__id__": 1
08
"__id__": 1
10
}
],
"_prefab": null,
...
...
@@ -4515,16 +4515,82 @@
},
{
"__type__": "cc.Node",
"_name": "
spt_Star
",
"_name": "
mask
",
"_objFlags": 0,
"_parent": {
"__id__": 92
},
"_children": [
{
"__id__": 100
}
],
"_active": true,
"_components": [
{
"__id__": 102
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 128
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b5oLqBhqZEQ4saQ5bcfII5"
},
{
"__type__": "cc.Node",
"_name": "spt_Star",
"_objFlags": 0,
"_parent": {
"__id__": 99
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
0
"__id__": 10
1
}
],
"_prefab": null,
...
...
@@ -4580,7 +4646,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
99
"__id__":
100
},
"_enabled": true,
"_materials": [
...
...
@@ -4607,6 +4673,26 @@
"_atlas": null,
"_id": "c682VkTdxKUrXsc3Si0CbM"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "d30aaiqINCxaTydV+azP3J"
},
{
"__type__": "cc.Node",
"_name": "mask",
...
...
@@ -4616,13 +4702,13 @@
},
"_children": [
{
"__id__": 10
2
"__id__": 10
4
}
],
"_active": false,
"_components": [
{
"__id__": 10
4
"__id__": 10
6
}
],
"_prefab": null,
...
...
@@ -4678,13 +4764,13 @@
"_name": "spt",
"_objFlags": 0,
"_parent": {
"__id__": 10
1
"__id__": 10
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
3
"__id__": 10
5
}
],
"_prefab": null,
...
...
@@ -4740,7 +4826,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
2
"__id__": 10
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4772,7 +4858,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
3
},
"_enabled": true,
"_materials": [
...
...
@@ -4798,7 +4884,7 @@
"_active": false,
"_components": [
{
"__id__": 10
6
"__id__": 10
8
}
],
"_prefab": null,
...
...
@@ -4854,7 +4940,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
5
"__id__": 10
7
},
"_enabled": true,
"_materials": [
...
...
@@ -4890,7 +4976,7 @@
},
"_enabled": true,
"Picture": {
"__id__": 10
0
"__id__": 10
1
},
"nodeState": [
{
...
...
@@ -4900,11 +4986,11 @@
"__id__": 95
},
{
"__id__": 10
1
"__id__": 10
3
}
],
"spt_error": {
"__id__": 10
5
"__id__": 10
7
},
"spt_chick": {
"__id__": 96
...
...
@@ -4925,7 +5011,7 @@
"zoomScale": 0.95,
"clickEvents": [
{
"__id__": 1
09
"__id__": 1
11
}
],
"_N$interactable": true,
...
...
@@ -5001,9 +5087,6 @@
"__id__": 8
},
"_children": [
{
"__id__": 111
},
{
"__id__": 113
},
...
...
@@ -5011,22 +5094,25 @@
"__id__": 115
},
{
"__id__": 11
9
"__id__": 11
7
},
{
"__id__": 121
},
{
"__id__": 125
},
{
"__id__": 129
}
],
"_active": false,
"_components": [
{
"__id__": 1
27
"__id__": 1
31
},
{
"__id__": 1
28
"__id__": 1
32
}
],
"_prefab": null,
...
...
@@ -5082,13 +5168,13 @@
"_name": "gun",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
2
"__id__": 11
4
}
],
"_prefab": null,
...
...
@@ -5144,7 +5230,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
1
"__id__": 11
3
},
"_enabled": true,
"_materials": [
...
...
@@ -5176,13 +5262,13 @@
"_name": "circle_2",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
4
"__id__": 11
6
}
],
"_prefab": null,
...
...
@@ -5238,7 +5324,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
3
"__id__": 11
5
},
"_enabled": true,
"_materials": [
...
...
@@ -5270,17 +5356,17 @@
"_name": "circle_2_light",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [
{
"__id__": 11
6
"__id__": 11
8
}
],
"_active": false,
"_components": [
{
"__id__": 1
18
"__id__": 1
20
}
],
"_prefab": null,
...
...
@@ -5336,13 +5422,13 @@
"_name": "spt_chick",
"_objFlags": 0,
"_parent": {
"__id__": 11
5
"__id__": 11
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
7
"__id__": 11
9
}
],
"_prefab": null,
...
...
@@ -5398,7 +5484,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
6
"__id__": 11
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5430,7 +5516,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
5
"__id__": 11
7
},
"_enabled": true,
"_materials": [
...
...
@@ -5459,16 +5545,20 @@
},
{
"__type__": "cc.Node",
"_name": "
spt_Star
",
"_name": "
mask
",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [],
"_children": [
{
"__id__": 122
}
],
"_active": true,
"_components": [
{
"__id__": 12
0
"__id__": 12
4
}
],
"_prefab": null,
...
...
@@ -5482,8 +5572,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
42
,
"height":
41
"width":
128
,
"height":
128
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5517,56 +5607,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e7xjEl7qhJBYf725elP8Z2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "507eJdpDpP4pRodnXcqj0R"
"_id": "d250N0b1ZMXa19qFVfmWHg"
},
{
"__type__": "cc.Node",
"_name": "
mask
",
"_name": "
spt_Star
",
"_objFlags": 0,
"_parent": {
"__id__": 1
10
"__id__": 1
21
},
"_children": [
{
"__id__": 122
}
],
"_active": false,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
4
"__id__": 12
3
}
],
"_prefab": null,
...
...
@@ -5580,8 +5634,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
150
,
"height":
150
"width":
42
,
"height":
41
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5615,26 +5669,144 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
9e7MBMU/5GkLN1xEoX45DT
"
"_id": "
e7xjEl7qhJBYf725elP8Z2
"
},
{
"__type__": "cc.
Nod
e",
"_name": "
spt
",
"__type__": "cc.
Sprit
e",
"_name": "",
"_objFlags": 0,
"
_parent
": {
"__id__": 12
1
"
node
": {
"__id__": 12
2
},
"_children": [],
"_active": true,
"_components": [
"_enabled": true,
"_materials": [
{
"__
id__": 123
"__
uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_prefab": null,
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "507eJdpDpP4pRodnXcqj0R"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "5cKMvTTStAAraG+5Nev3nn"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 112
},
"_children": [
{
"__id__": 126
}
],
"_active": false,
"_components": [
{
"__id__": 128
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9e7MBMU/5GkLN1xEoX45DT"
},
{
"__type__": "cc.Node",
"_name": "spt",
"_objFlags": 0,
"_parent": {
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 127
}
],
"_prefab": null,
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 18,
"g": 18,
"b": 18,
...
...
@@ -5684,7 +5856,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
2
"__id__": 12
6
},
"_enabled": true,
"_materials": [
...
...
@@ -5716,7 +5888,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
1
"__id__": 12
5
},
"_enabled": true,
"_materials": [
...
...
@@ -5736,13 +5908,13 @@
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 1
26
"__id__": 1
30
}
],
"_prefab": null,
...
...
@@ -5798,7 +5970,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
5
"__id__": 12
9
},
"_enabled": true,
"_materials": [
...
...
@@ -5830,28 +6002,28 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
0
"__id__": 11
2
},
"_enabled": true,
"Picture": {
"__id__": 12
0
"__id__": 12
3
},
"nodeState": [
{
"__id__": 11
3
"__id__": 11
5
},
{
"__id__": 11
5
"__id__": 11
7
},
{
"__id__": 12
1
"__id__": 12
5
}
],
"spt_error": {
"__id__": 12
5
"__id__": 12
9
},
"spt_chick": {
"__id__": 11
6
"__id__": 11
8
},
"_id": "8aq54xAINKpbcvXnQAf7Hy"
},
...
...
@@ -5860,7 +6032,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
0
"__id__": 11
2
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -5869,7 +6041,7 @@
"zoomScale": 0.95,
"clickEvents": [
{
"__id__": 1
29
"__id__": 1
33
}
],
"_N$interactable": true,
...
...
@@ -5930,7 +6102,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 11
0
"__id__": 11
2
},
"component": "",
"_componentId": "e729bOHnRpHpJ09B2/R3cNg",
...
...
@@ -5946,66 +6118,64 @@
},
"_children": [
{
"__id__": 13
1
"__id__": 13
5
},
{
"__id__": 13
4
"__id__": 13
7
},
{
"__id__": 13
7
"__id__": 13
9
},
{
"__id__": 14
0
"__id__": 14
1
},
{
"__id__": 143
},
{
"__id__": 14
6
"__id__": 14
5
},
{
"__id__": 14
9
"__id__": 14
7
},
{
"__id__": 1
52
"__id__": 1
49
},
{
"__id__": 15
5
"__id__": 15
1
},
{
"__id__": 15
8
"__id__": 15
3
},
{
"__id__": 1
61
"__id__": 1
55
},
{
"__id__": 1
64
"__id__": 1
57
},
{
"__id__": 1
67
"__id__": 1
59
},
{
"__id__": 1
70
"__id__": 1
61
},
{
"__id__": 1
7
3
"__id__": 1
6
3
},
{
"__id__": 1
76
"__id__": 1
65
}
],
"_active": false,
"_components": [
{
"__id__": 1
79
"__id__": 1
67
},
{
"__id__": 1
80
"__id__": 1
68
}
],
"_prefab": {
"__id__": 181
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6058,18 +6228,16 @@
"_name": "lb_welldone",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
2
"__id__": 13
6
}
],
"_prefab": {
"__id__": 133
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6122,7 +6290,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
1
"__id__": 13
5
},
"_enabled": true,
"_materials": [
...
...
@@ -6149,34 +6317,21 @@
"_atlas": null,
"_id": "1bLBC3IqdAh55ilmi3sBXz"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "35Tyw/P31GdIO3gK5IBrbS",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "1",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
5
"__id__": 13
8
}
],
"_prefab": {
"__id__": 136
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6229,7 +6384,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
4
"__id__": 13
7
},
"_enabled": true,
"_materials": [
...
...
@@ -6256,34 +6411,21 @@
"_atlas": null,
"_id": "64JkTGO5FAU4HLpQ7Upc7v"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "76m/1YoXhKuLw/wo3pf/Np",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "2",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
38
"__id__": 1
40
}
],
"_prefab": {
"__id__": 139
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6336,7 +6478,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
7
"__id__": 13
9
},
"_enabled": true,
"_materials": [
...
...
@@ -6363,34 +6505,21 @@
"_atlas": null,
"_id": "08MnUExx1K84a3q4dwo7aB"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "fe0+rb/NdGvZJ+82PToAHV",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "3",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
1
"__id__": 14
2
}
],
"_prefab": {
"__id__": 142
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6443,7 +6572,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
0
"__id__": 14
1
},
"_enabled": true,
"_materials": [
...
...
@@ -6470,23 +6599,12 @@
"_atlas": null,
"_id": "cdBnvy5n5LAIFp7A2IptvT"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "05I9Q0wcNCX7VelH7HyzIJ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "4",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
...
...
@@ -6495,9 +6613,7 @@
"__id__": 144
}
],
"_prefab": {
"__id__": 145
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6577,34 +6693,21 @@
"_atlas": null,
"_id": "03WGsULqJMNLJo8DAt+25F"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "75F78+Bb1A/LuyTYLiB5pf",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "5",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
7
"__id__": 14
6
}
],
"_prefab": {
"__id__": 148
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6657,7 +6760,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
6
"__id__": 14
5
},
"_enabled": true,
"_materials": [
...
...
@@ -6684,34 +6787,21 @@
"_atlas": null,
"_id": "ecQa2EKx5HM40gYgkNockS"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "e6KZjHeZxCDJHAE3HHqAZM",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "6",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
50
"__id__": 1
48
}
],
"_prefab": {
"__id__": 151
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6764,7 +6854,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
9
"__id__": 14
7
},
"_enabled": true,
"_materials": [
...
...
@@ -6791,34 +6881,21 @@
"_atlas": null,
"_id": "9c1fcRiLNDuqkNwM5Zs7+W"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "aaCZGxbvtCZr7M96nARYBC",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "7",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
3
"__id__": 15
0
}
],
"_prefab": {
"__id__": 154
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6871,7 +6948,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
52
"__id__": 1
49
},
"_enabled": true,
"_materials": [
...
...
@@ -6898,34 +6975,21 @@
"_atlas": null,
"_id": "f8vRUHwudKRKgvqHl1JCzw"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "89VfwaCwNMm6ZNNf/QcepQ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "8",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
6
"__id__": 15
2
}
],
"_prefab": {
"__id__": 157
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6978,7 +7042,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
5
"__id__": 15
1
},
"_enabled": true,
"_materials": [
...
...
@@ -7005,34 +7069,21 @@
"_atlas": null,
"_id": "a9IvHlSmpN9rmgH4rsm2+g"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "71mfBcU+hAHIOKuyR4nVOB",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "9",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
9
"__id__": 15
4
}
],
"_prefab": {
"__id__": 160
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -7085,7 +7136,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
8
"__id__": 15
3
},
"_enabled": true,
"_materials": [
...
...
@@ -7112,34 +7163,21 @@
"_atlas": null,
"_id": "e0QPChxHFGxbxVYsBhvICK"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "b36x1JLelErbYfGF0+OIOQ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "10",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
62
"__id__": 1
56
}
],
"_prefab": {
"__id__": 163
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -7192,7 +7230,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
61
"__id__": 1
55
},
"_enabled": true,
"_materials": [
...
...
@@ -7219,34 +7257,21 @@
"_atlas": null,
"_id": "b1OVUhCLVCx4R2Lm16Mi/2"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "2007RB/yROS7T9pAnLMUyO",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "11",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
65
"__id__": 1
58
}
],
"_prefab": {
"__id__": 166
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -7299,7 +7324,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
64
"__id__": 1
57
},
"_enabled": true,
"_materials": [
...
...
@@ -7326,34 +7351,21 @@
"_atlas": null,
"_id": "8dHy/mpRdCZYbYuYYzzYhK"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "86yRQTftpHHoE3o/n11Zrg",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "12",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
8
"__id__": 16
0
}
],
"_prefab": {
"__id__": 169
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -7406,7 +7418,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
67
"__id__": 1
59
},
"_enabled": true,
"_materials": [
...
...
@@ -7433,34 +7445,21 @@
"_atlas": null,
"_id": "43/+rej4JKrKjlx0Cx/A/1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "ecz6dAtJdOLoaMFFJn7RuH",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "13",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
71
"__id__": 1
62
}
],
"_prefab": {
"__id__": 172
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -7513,7 +7512,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
70
"__id__": 1
61
},
"_enabled": true,
"_materials": [
...
...
@@ -7540,34 +7539,21 @@
"_atlas": null,
"_id": "091gSNIktGQo8J7CpEook6"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "7ay8+OihNLD7RC2UiwXQmm",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "14",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
7
4
"__id__": 1
6
4
}
],
"_prefab": {
"__id__": 175
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -7620,7 +7606,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
7
3
"__id__": 1
6
3
},
"_enabled": true,
"_materials": [
...
...
@@ -7647,34 +7633,21 @@
"_atlas": null,
"_id": "52k2wdHeZMJr1FlDt8v3Xi"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "3520pMhBlGxJitYgHAHJQf",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "15",
"_objFlags": 0,
"_parent": {
"__id__": 13
0
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
77
"__id__": 1
66
}
],
"_prefab": {
"__id__": 178
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -7727,7 +7700,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
76
"__id__": 1
65
},
"_enabled": true,
"_materials": [
...
...
@@ -7754,23 +7727,12 @@
"_atlas": null,
"_id": "99eBldMNZKUoRtI99sBsC5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "0ciXghXNpARaE1WPm2o5ps",
"sync": false
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
0
"__id__": 13
4
},
"_enabled": true,
"_defaultClip": {
...
...
@@ -7789,25 +7751,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
0
"__id__": 13
4
},
"_enabled": true,
"eff_welldown": {
"__id__": 1
79
"__id__": 1
67
},
"_id": "d8qCQ61upNTK5dHziw1YPK"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 130
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "mask",
...
...
@@ -7819,10 +7770,10 @@
"_active": true,
"_components": [
{
"__id__": 1
83
"__id__": 1
70
},
{
"__id__": 1
84
"__id__": 1
71
}
],
"_prefab": null,
...
...
@@ -7878,7 +7829,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
82
"__id__": 1
69
},
"_enabled": true,
"_id": "80PylZIy9EbJR4/AZl0xgK"
...
...
@@ -7888,7 +7839,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
82
"__id__": 1
69
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7897,7 +7848,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 1
85
"__id__": 1
72
}
],
"_N$interactable": true,
...
...
@@ -7976,7 +7927,7 @@
"_active": true,
"_components": [
{
"__id__": 1
87
"__id__": 1
74
}
],
"_prefab": null,
...
...
@@ -8032,7 +7983,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
86
"__id__": 1
73
},
"_enabled": true,
"eff_btn": {
...
...
@@ -8117,7 +8068,7 @@
"__id__": 37
},
"Item_2": {
"__id__": 11
0
"__id__": 11
2
},
"draw": {
"__id__": 21
...
...
@@ -8137,7 +8088,7 @@
}
],
"mask_node": {
"__id__": 1
82
"__id__": 1
69
},
"_id": "4eioQSfZdPna82l0qiAEEA"
},
...
...
@@ -8162,7 +8113,7 @@
}
],
"canvasView": {
"__id__": 1
88
"__id__": 1
75
},
"isCanvas": true,
"_id": "5eOVDDzARGnoMLcNXyk5ml"
...
...
play/assets/tmpGame/script/game/item.js
View file @
6a46d245
...
...
@@ -58,7 +58,7 @@ cc.Class({
//图片适配
photoScare
:
function
(
node
)
{
let
maxSize
=
Math
.
min
(
90
/
node
.
height
,
90
/
node
.
width
);
let
maxSize
=
Math
.
min
(
128
/
node
.
height
,
128
/
node
.
width
);
if
(
node
.
perScale
==
undefined
)
{
node
.
perScale
=
node
.
scaleX
;
}
else
{
...
...
@@ -111,7 +111,7 @@ cc.Class({
//如果节点的Id等于当前数据的id的话
if
(
this
.
itemInfo
.
typeId
==
g
.
data_mgr
.
playId
&&
this
.
itemInfo
.
positionId
==
g
.
data_mgr
.
playType
)
{
//播放答对音效
g
.
speaker
.
inst
.
play_good
(
);
g
.
speaker
.
inst
.
play_good
(
()
=>
{
this
.
setBtnState
(
1
);
//如果是上面答对的话
if
(
this
.
itemInfo
.
positionId
==
1
)
{
...
...
@@ -136,17 +136,8 @@ cc.Class({
g
.
data_mgr
.
itemInfo
.
setBtnState
(
3
);
this
.
setBtnState
(
3
);
});
// //显示弹窗
// var Info = g.data_mgr.getResultInfo(this.itemInfo.typeId);
// g.game.inst.showResult(Info);
//弹窗关闭
// //移除当前播放的音乐
// const index = this.pageArr.indexOf(data);
// if (index !== -1) {
// this.pageArr.splice(index, 1);
// }
}
});
}
else
{
this
.
spt_error
.
active
=
true
;
...
...
play/assets/tmpGame/script/game/result.js
View file @
6a46d245
...
...
@@ -192,10 +192,10 @@ var result = cc.Class({
return
;
}
if
(
g
.
data_mgr
.
temPlayAudio
.
length
<
1
)
{
if
(
g
.
data_mgr
.
pageId
==
g
.
data_mgr
.
data
.
contentObj
.
pageArr
.
length
-
1
)
{
//显示结算撒花
g
.
eff_well
.
inst
.
showEff
();
}
//
if (g.data_mgr.pageId == g.data_mgr.data.contentObj.pageArr.length - 1) {
//
//显示结算撒花
//
g.eff_well.inst.showEff();
//
}
this
.
End
=
false
;
}
else
{
//重新随机一组数据
...
...
play/assets/tmpGame/script/game/speaker.js
View file @
6a46d245
...
...
@@ -56,8 +56,8 @@ var speaker = cc.Class({
g
.
snd_mgr
.
playEffect
(
this
.
eff_error
);
},
//答对
play_good
:
function
()
{
g
.
snd_mgr
.
playEffect
(
this
.
eff_good
);
play_good
:
function
(
cb
)
{
g
.
snd_mgr
.
playEffect
(
this
.
eff_good
,
cb
);
},
//显示弹窗
play_showPop
:
function
()
{
...
...
play/assets/tmpGame/script/manager/data_mgr.js
View file @
6a46d245
...
...
@@ -23,7 +23,7 @@ g.data_mgr = {
//获得默认数据
getDefaultData
()
{
const
dataJson
=
'
{ "contentObj": { "title":"frd iwhfii9w","pageArr": [{ "pageInfo": [{ "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/495324991838775e49e3ca6593d432c9.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/17cc0e2a383e4632147dc495a1397915.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Spine","ske_json":"http://staging-teach.cdn.ireadabc.com/e48564e39f64ef92dee4309b3493652a.json","ske_json_name":"mao_ske.json","tex_json":"http://staging-teach.cdn.ireadabc.com/233b2f102f321086b70c239a1bd4ba1a.json","tex_json_name":"mao_tex.json","tex_png":"http://staging-teach.cdn.ireadabc.com/d5c00d0cf339484801dc235ed33200d0.png","tex_png_name":"mao_tex.png"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/20f16608cf7fc6499eb1f942e625658d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/205722475ccaca6233b2f28e635405ca.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/0b6ef24f15c6d8ad7bf27cc913445ebf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/b2c170f84b85dddf554b5c837d1d6e30.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/1e3e361ef1953dec43f250278be63e1d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/a589225b18d35b045bc52e283ec7cceb.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/86fb8f1694cf0d5d2d81c26fecfae709.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/a41083db803c2f15cd67402f4b751b87.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/11bcdcf1720dd260b90a0f4b523633f8.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }] ,"type":"Image"}, { "
pageInfo": [{ "a_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/a787397544260023572b154914ff961b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/cc93f9eacb135dbeba69857d37d2a0fd.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3806065de519a70e2758f2b5ed46f7c1.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/3ed9f5f1278b67380e792d94e7a7564b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/c9147ba4f6865137f78a9a6331c81151.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/502c5d3a110c40a6bfcf1a2cd1dab9ea.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9159668d6274ead9dc1ab0cd8cd2e442.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3d2d9f1ed700be793508ab79d6de76a2.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png"
}] }] } }
'
const
dataJson
=
'
{ "contentObj": { "title":"frd iwhfii9w","pageArr": [{ "pageInfo": [{ "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/495324991838775e49e3ca6593d432c9.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/17cc0e2a383e4632147dc495a1397915.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Spine","ske_json":"http://staging-teach.cdn.ireadabc.com/e48564e39f64ef92dee4309b3493652a.json","ske_json_name":"mao_ske.json","tex_json":"http://staging-teach.cdn.ireadabc.com/233b2f102f321086b70c239a1bd4ba1a.json","tex_json_name":"mao_tex.json","tex_png":"http://staging-teach.cdn.ireadabc.com/d5c00d0cf339484801dc235ed33200d0.png","tex_png_name":"mao_tex.png"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/20f16608cf7fc6499eb1f942e625658d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/205722475ccaca6233b2f28e635405ca.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/0b6ef24f15c6d8ad7bf27cc913445ebf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/b2c170f84b85dddf554b5c837d1d6e30.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/1e3e361ef1953dec43f250278be63e1d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/a589225b18d35b045bc52e283ec7cceb.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/86fb8f1694cf0d5d2d81c26fecfae709.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/a41083db803c2f15cd67402f4b751b87.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/11bcdcf1720dd260b90a0f4b523633f8.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }] ,"type":"Image"}, { "
a_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/a787397544260023572b154914ff961b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/cc93f9eacb135dbeba69857d37d2a0fd.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3806065de519a70e2758f2b5ed46f7c1.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/3ed9f5f1278b67380e792d94e7a7564b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/c9147ba4f6865137f78a9a6331c81151.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/502c5d3a110c40a6bfcf1a2cd1dab9ea.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Image"}, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9159668d6274ead9dc1ab0cd8cd2e442.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3d2d9f1ed700be793508ab79d6de76a2.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/495324991838775e49e3ca6593d432c9.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/17cc0e2a383e4632147dc495a1397915.mp3", "groupLabel": "I am Ala", "groupPic": "http://staging-teach.cdn.ireadabc.com/376ac33efcae601263566d37c61005e3.png", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" ,"type":"Spine","ske_json":"http://staging-teach.cdn.ireadabc.com/e48564e39f64ef92dee4309b3493652a.json","ske_json_name":"mao_ske.json","tex_json":"http://staging-teach.cdn.ireadabc.com/233b2f102f321086b70c239a1bd4ba1a.json","tex_json_name":"mao_tex.json","tex_png":"http://staging-teach.cdn.ireadabc.com/d5c00d0cf339484801dc235ed33200d0.png","tex_png_name":"mao_tex.png"
}] }] } }
'
const
data
=
JSON
.
parse
(
dataJson
);
return
data
;
},
...
...
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