Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_kyxq
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
middleLayer_for_kyxq
Commits
30e5077f
Commit
30e5077f
authored
Sep 27, 2023
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 闯关解锁
parent
1ba0ac6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
648 additions
and
2224 deletions
+648
-2224
middleLayer_for_kyxq.fire
assets/middleLayer_for_kyxq/scene/middleLayer_for_kyxq.fire
+583
-2105
MissionPage.ts
assets/middleLayer_for_kyxq/script/MissionPage.ts
+65
-119
No files found.
assets/middleLayer_for_kyxq/scene/middleLayer_for_kyxq.fire
View file @
30e5077f
...
...
@@ -311,25 +311,25 @@
"__id__": 23
},
{
"__id__": 4
82
"__id__": 4
51
},
{
"__id__": 4
90
"__id__": 4
59
},
{
"__id__": 181
},
{
"__id__": 4
97
"__id__": 4
66
}
],
"_active": true,
"_components": [
{
"__id__":
501
"__id__":
470
},
{
"__id__":
502
"__id__":
471
}
],
"_prefab": null,
...
...
@@ -1058,22 +1058,22 @@
"__id__": 247
},
{
"__id__":
327
"__id__":
296
},
{
"__id__": 3
66
"__id__": 3
35
},
{
"__id__":
424
"__id__":
393
}
],
"_active": true,
"_components": [
{
"__id__": 4
80
"__id__": 4
49
},
{
"__id__": 4
81
"__id__": 4
50
}
],
"_prefab": null,
...
...
@@ -11619,16 +11619,16 @@
"__id__": 269
},
{
"__id__": 2
9
2
"__id__": 2
8
2
}
],
"_active": false,
"_components": [
{
"__id__":
325
"__id__":
294
},
{
"__id__":
326
"__id__":
295
}
],
"_prefab": null,
...
...
@@ -12669,7 +12669,7 @@
"_active": true,
"_components": [
{
"__id__": 2
9
1
"__id__": 2
8
1
},
{
"__id__": 275
...
...
@@ -12741,10 +12741,10 @@
"__id__": 274
},
{
"__id__": 2
8
9
"__id__": 2
7
9
},
{
"__id__": 2
9
0
"__id__": 2
8
0
}
],
"_prefab": null,
...
...
@@ -12945,11 +12945,7 @@
"_parent": {
"__id__": 277
},
"_children": [
{
"__id__": 279
}
],
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
...
...
@@ -13086,31 +13082,125 @@
"_N$inverted": false,
"_id": "c7EX5tChFLxbc00pcOYtII"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 271
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 37,
"_left": 350.07654921020657,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 237,
"_id": "639WKNIyBPtpGO0NbXtw3n"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 271
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7a5wtVPJxDjplJV79M/50e"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 270
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dbk335ZFxPzIuogXgKxxHT"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 2
76
"__id__": 2
47
},
"_children": [
{
"__id__": 28
0
"__id__": 28
3
},
{
"__id__": 28
2
"__id__": 28
5
},
{
"__id__": 28
4
"__id__": 28
7
},
{
"__id__": 28
6
"__id__": 28
9
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 288
"__id__": 291
},
{
"__id__": 292
}
],
"_prefab": null,
...
...
@@ -13137,7 +13227,7 @@
"ctor": "Float64Array",
"array": [
-622.51,
0
,
-51.899
,
0,
0,
0,
...
...
@@ -13166,22 +13256,22 @@
"_name": "pic_layer",
"_objFlags": 0,
"_parent": {
"__id__": 2
79
"__id__": 2
82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
1
"__id__": 28
4
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r":
93
,
"g":
93
,
"b":
93
,
"r":
255
,
"g":
255
,
"b":
255
,
"a": 255
},
"_contentSize": {
...
...
@@ -13228,9 +13318,9 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
0
"__id__": 28
3
},
"_enabled":
fals
e,
"_enabled":
tru
e,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
...
...
@@ -13260,13 +13350,13 @@
"_name": "title_label",
"_objFlags": 0,
"_parent": {
"__id__": 2
79
"__id__": 2
82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
3
"__id__": 28
6
}
],
"_prefab": null,
...
...
@@ -13322,7 +13412,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
2
"__id__": 28
5
},
"_enabled": true,
"_materials": [
...
...
@@ -13357,13 +13447,13 @@
"_name": "English_label",
"_objFlags": 0,
"_parent": {
"__id__": 2
79
"__id__": 2
82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
5
"__id__": 28
8
}
],
"_prefab": null,
...
...
@@ -13419,7 +13509,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
4
"__id__": 28
7
},
"_enabled": true,
"_materials": [
...
...
@@ -13454,13 +13544,13 @@
"_name": "icon_lock",
"_objFlags": 0,
"_parent": {
"__id__": 2
79
"__id__": 2
82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
87
"__id__": 2
90
}
],
"_prefab": null,
...
...
@@ -13516,7 +13606,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
6
"__id__": 28
9
},
"_enabled": true,
"_materials": [
...
...
@@ -13548,7 +13638,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
79
"__id__": 2
82
},
"_enabled": true,
"_materials": [
...
...
@@ -13576,1706 +13666,88 @@
"_id": "5eoxlwk1lHYq2ySQid6Rvm"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 271
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 37,
"_left": 350.07654921020657,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 237,
"_id": "639WKNIyBPtpGO0NbXtw3n"
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
71
"__id__": 2
82
},
"_enabled": true,
"_materials": [
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__
uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__
id__": 293
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159"
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7a5wtVPJxDjplJV79M/50e"
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 270
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dbk335ZFxPzIuogXgKxxHT"
},
{
"__type__": "cc.Node",
"_name": "res_type",
"_objFlags": 0,
"_parent": {
"__id__": 247
},
"_children": [
{
"__id__": 293
},
{
"__id__": 295
},
{
"__id__": 297
},
{
"__id__": 299
},
{
"__id__": 301
},
{
"__id__": 303
},
{
"__id__": 305
},
{
"__id__": 307
},
{
"__id__": 309
},
{
"__id__": 311
},
{
"__id__": 313
},
{
"__id__": 315
},
{
"__id__": 317
},
{
"__id__": 319
},
{
"__id__": 321
},
{
"__id__": 323
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "0bJ5WK+VtCzYXum1QjNQtF"
},
{
"__type__": "cc.Node",
"_name": "btn_class_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 294
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 243,
"height": 199
},
"_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": "2a9tzYJFFPG7N+Ozjyj3U+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 293
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0558129c-3f26-4ad7-a271-3dfc316f2fe9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a84HqUQw1Ecb0N6EQmTJAO"
},
{
"__type__": "cc.Node",
"_name": "btn_practice_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 296
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 235,
"height": 217
},
"_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": "b4ufF8ka1IaaK63XSLO1hk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 295
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "da8856e8-3ba1-4314-82ac-9e33fcb09be1"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5d3lCn9lRLpbKhoUMtgNKg"
},
{
"__type__": "cc.Node",
"_name": "btn_chant_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 298
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 249
},
"_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": "29XEg6zcNCkIo/OK7knqFw"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 297
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "23c509d1-50b5-4362-b557-f8a343b76dbe"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "42CqiNCmBNwrGU9h9oaZLx"
},
{
"__type__": "cc.Node",
"_name": "btn_class",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 300
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 243,
"height": 199
},
"_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": "aeQvKBdmZMqKgbnjeUkYYS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 299
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "02064a77-f527-491b-9e2c-612ec997126b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5emEmwsCNCFptZleNtUe6t"
},
{
"__type__": "cc.Node",
"_name": "btn_review",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 302
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 249,
"height": 204
},
"_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": "03BR9myC1Oi49+KgjS6AdB"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 301
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6da2337c-0a97-4dfe-92cc-b1885161c1ae"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "57q+Q0zvZBe7PMXv88+eKq"
},
{
"__type__": "cc.Node",
"_name": "btn_chant",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 304
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 249
},
"_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": "f4QUOrfS1D2YO0q5PYbieK"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 303
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "15f19ee7-fc1d-4f7b-845a-dde15b380a97"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e1cFzKtuNAiYnOdoukQEiD"
},
{
"__type__": "cc.Node",
"_name": "btn_show",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 306
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 214
},
"_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": "c2OKwdVPxGD5X5GmvHD+LF"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 305
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e110f4fb-477e-4ef2-950d-86b92ae1d08e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "93g82m4AdCVJI+4AC308rs"
},
{
"__type__": "cc.Node",
"_name": "btn_music_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 308
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 244,
"height": 213
},
"_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": "b4gaVfuT1LBZiaUguR2MH/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 307
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ef15937e-67d5-4abc-a243-cf85c67a3f85"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9cYR9t2AZBVJevLeS/qQUN"
},
{
"__type__": "cc.Node",
"_name": "btn_practice",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 310
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 235,
"height": 217
},
"_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": "2flMiT175Prpvxuof+42Ih"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 309
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "aba13058-d25b-446d-8195-a462ba89f3bc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7dfGSVXcZLWLzeqKZ1JtOb"
},
{
"__type__": "cc.Node",
"_name": "btn_video_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 312
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 235,
"height": 213
},
"_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": "45+T+AmoFFA7L/9Iqtc9bY"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 311
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "16ea3089-6978-44d9-a2c5-0ab0ed6f7414"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1biek0uv1ILb3T2KRn6a5W"
},
{
"__type__": "cc.Node",
"_name": "btn_review_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 314
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 249,
"height": 204
},
"_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": "67w12j8XBGSJRa71Gbkv4I"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 313
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "141698d5-3815-4a45-8c0b-df5d13f083a4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7aBRiSBehDYrSrFL0gDJwt"
},
{
"__type__": "cc.Node",
"_name": "btn_show_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 316
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 214
},
"_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": "1feFo58s9CyLyFNIif4d6Q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 315
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fafc3d1f-6156-4aab-b2a6-0585325e94d0"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ff0LnZjDRBs5OqhT0sCiCZ"
},
{
"__type__": "cc.Node",
"_name": "btn_speaking",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 318
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 249
},
"_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": "dfGCaEAftMBKKri8j0Mm/O"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 317
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "38b87aed-4e48-468b-8de6-d11609890e73"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b1S1AzHz5OqIA7CQQefAgW"
},
{
"__type__": "cc.Node",
"_name": "btn_speaking_locked",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 320
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 249
},
"_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": "48nF5M2gdIAqtsYQDQeQ+/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 319
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e8774647-cff5-4df4-b2e0-8d8af746e0d9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6dOvUOMqJKz4z6XAscdw0W"
},
{
"__type__": "cc.Node",
"_name": "btn_music",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 322
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 244,
"height": 213
},
"_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": "83egRM25dBRrzniQtjMkzV"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 321
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c860adeb-c952-43b7-9924-4000f7132cee"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "caJh8Dz/NPRY/XP/IkslIN"
},
{
"__type__": "cc.Node",
"_name": "btn_video",
"_objFlags": 0,
"_parent": {
"__id__": 292
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 324
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 235,
"height": 213
},
"_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
]
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "28M3HngfRBw6N9FKTeqRdD"
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 282
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 323
"_id": "d5J5ReaoNLMrqiYrINBUo6"
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ff532311-d197-4354-b18f-2bef570fbc69"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"__type__": "cc.ClickEvent",
"target": {
"__id__": 247
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f24t7Uh+hI4JAFMH6xaiuj"
"component": "",
"_componentId": "9b9bchIHGtCaZ5ox/9QJGCT",
"handler": "cardClick",
"customEventData": ""
},
{
"__type__": "cc.Widget",
...
...
@@ -15318,8 +13790,14 @@
"scrollView": {
"__id__": 270
},
"resNode": {
"__id__": 292
"listItem": {
"__id__": 282
},
"loading": {
"__id__": 181
},
"gray": {
"__uuid__": "3a7bb79f-32fd-422e-ada2-96f518fed422"
},
"_id": "29AKC91ERC4YCXM/Eyi595"
},
...
...
@@ -15332,22 +13810,22 @@
},
"_children": [
{
"__id__":
328
"__id__":
297
},
{
"__id__": 3
47
"__id__": 3
16
},
{
"__id__": 3
52
"__id__": 3
21
}
],
"_active": false,
"_components": [
{
"__id__": 3
64
"__id__": 3
33
},
{
"__id__": 3
65
"__id__": 3
34
}
],
"_prefab": null,
...
...
@@ -15403,29 +13881,29 @@
"_name": "bgNode",
"_objFlags": 0,
"_parent": {
"__id__":
327
"__id__":
296
},
"_children": [
{
"__id__":
329
"__id__":
298
},
{
"__id__": 3
32
"__id__": 3
01
},
{
"__id__": 3
35
"__id__": 3
04
},
{
"__id__": 3
38
"__id__": 3
07
},
{
"__id__": 3
41
"__id__": 3
10
}
],
"_active": true,
"_components": [
{
"__id__": 3
46
"__id__": 3
15
}
],
"_prefab": null,
...
...
@@ -15481,16 +13959,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__":
328
"__id__":
297
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
330
"__id__":
299
},
{
"__id__": 3
31
"__id__": 3
00
}
],
"_prefab": null,
...
...
@@ -15546,7 +14024,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
329
"__id__":
298
},
"_enabled": true,
"_materials": [
...
...
@@ -15578,7 +14056,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
329
"__id__":
298
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -15605,16 +14083,16 @@
"_name": "bg_bottom",
"_objFlags": 0,
"_parent": {
"__id__":
328
"__id__":
297
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
33
"__id__": 3
02
},
{
"__id__": 3
34
"__id__": 3
03
}
],
"_prefab": null,
...
...
@@ -15670,7 +14148,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
32
"__id__": 3
01
},
"_enabled": true,
"_materials": [
...
...
@@ -15702,7 +14180,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
32
"__id__": 3
01
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -15729,16 +14207,16 @@
"_name": "bg_lefttop",
"_objFlags": 0,
"_parent": {
"__id__":
328
"__id__":
297
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
36
"__id__": 3
05
},
{
"__id__": 3
37
"__id__": 3
06
}
],
"_prefab": null,
...
...
@@ -15794,7 +14272,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
35
"__id__": 3
04
},
"_enabled": true,
"_materials": [
...
...
@@ -15826,7 +14304,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
35
"__id__": 3
04
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -15853,16 +14331,16 @@
"_name": "bg_ufo",
"_objFlags": 0,
"_parent": {
"__id__":
328
"__id__":
297
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
39
"__id__": 3
08
},
{
"__id__": 3
40
"__id__": 3
09
}
],
"_prefab": null,
...
...
@@ -15918,7 +14396,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
38
"__id__": 3
07
},
"_enabled": true,
"_materials": [
...
...
@@ -15950,7 +14428,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
38
"__id__": 3
07
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -15977,20 +14455,20 @@
"_name": "bg_title",
"_objFlags": 0,
"_parent": {
"__id__":
328
"__id__":
297
},
"_children": [
{
"__id__": 3
42
"__id__": 3
11
}
],
"_active": true,
"_components": [
{
"__id__": 3
44
"__id__": 3
13
},
{
"__id__": 3
45
"__id__": 3
14
}
],
"_prefab": null,
...
...
@@ -16046,13 +14524,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 3
41
"__id__": 3
10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
43
"__id__": 3
12
}
],
"_prefab": null,
...
...
@@ -16108,7 +14586,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
42
"__id__": 3
11
},
"_enabled": true,
"_materials": [
...
...
@@ -16143,7 +14621,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
41
"__id__": 3
10
},
"_enabled": true,
"_materials": [
...
...
@@ -16175,7 +14653,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
41
"__id__": 3
10
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -16202,7 +14680,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
328
"__id__":
297
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -16229,19 +14707,19 @@
"_name": "BackBtn",
"_objFlags": 0,
"_parent": {
"__id__":
327
"__id__":
296
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
48
"__id__": 3
17
},
{
"__id__": 3
49
"__id__": 3
18
},
{
"__id__": 3
50
"__id__": 3
19
}
],
"_prefab": null,
...
...
@@ -16297,7 +14775,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
47
"__id__": 3
16
},
"_enabled": true,
"_materials": [
...
...
@@ -16329,7 +14807,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
47
"__id__": 3
16
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -16356,7 +14834,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
47
"__id__": 3
16
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -16365,7 +14843,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 3
51
"__id__": 3
20
}
],
"_N$interactable": true,
...
...
@@ -16426,7 +14904,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__":
327
"__id__":
296
},
"component": "",
"_componentId": "240efk5lINLrJGxHRbUvtCQ",
...
...
@@ -16438,29 +14916,29 @@
"_name": "libraryLayout",
"_objFlags": 0,
"_parent": {
"__id__":
327
"__id__":
296
},
"_children": [
{
"__id__": 3
53
"__id__": 3
22
},
{
"__id__": 3
57
"__id__": 3
26
},
{
"__id__": 3
59
"__id__": 3
28
}
],
"_active": true,
"_components": [
{
"__id__": 3
61
"__id__": 3
30
},
{
"__id__": 3
62
"__id__": 3
31
},
{
"__id__": 3
63
"__id__": 3
32
}
],
"_prefab": null,
...
...
@@ -16516,16 +14994,16 @@
"_name": "btn_reading",
"_objFlags": 0,
"_parent": {
"__id__": 3
52
"__id__": 3
21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
54
"__id__": 3
23
},
{
"__id__": 3
55
"__id__": 3
24
}
],
"_prefab": null,
...
...
@@ -16581,7 +15059,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
53
"__id__": 3
22
},
"_enabled": true,
"_materials": [
...
...
@@ -16613,7 +15091,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
53
"__id__": 3
22
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -16622,7 +15100,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 3
56
"__id__": 3
25
}
],
"_N$interactable": true,
...
...
@@ -16683,7 +15161,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__":
327
"__id__":
296
},
"component": "",
"_componentId": "240efk5lINLrJGxHRbUvtCQ",
...
...
@@ -16695,13 +15173,13 @@
"_name": "btn_listening",
"_objFlags": 0,
"_parent": {
"__id__": 3
52
"__id__": 3
21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
58
"__id__": 3
27
}
],
"_prefab": null,
...
...
@@ -16757,7 +15235,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
57
"__id__": 3
26
},
"_enabled": true,
"_materials": [
...
...
@@ -16789,13 +15267,13 @@
"_name": "btn_watching",
"_objFlags": 0,
"_parent": {
"__id__": 3
52
"__id__": 3
21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
60
"__id__": 3
29
}
],
"_prefab": null,
...
...
@@ -16851,7 +15329,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
59
"__id__": 3
28
},
"_enabled": true,
"_materials": [
...
...
@@ -16883,7 +15361,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
52
"__id__": 3
21
},
"_enabled": false,
"_materials": [
...
...
@@ -16915,7 +15393,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
52
"__id__": 3
21
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -16947,7 +15425,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
52
"__id__": 3
21
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -16974,7 +15452,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
327
"__id__":
296
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -17001,7 +15479,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
327
"__id__":
296
},
"_enabled": true,
"Viewer": {
...
...
@@ -17018,22 +15496,22 @@
},
"_children": [
{
"__id__": 3
67
"__id__": 3
36
},
{
"__id__": 3
92
"__id__": 3
61
},
{
"__id__": 3
97
"__id__": 3
66
}
],
"_active": false,
"_components": [
{
"__id__":
422
"__id__":
391
},
{
"__id__":
423
"__id__":
392
}
],
"_prefab": null,
...
...
@@ -17089,35 +15567,35 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 3
66
"__id__": 3
35
},
"_children": [
{
"__id__": 3
68
"__id__": 3
37
},
{
"__id__": 3
71
"__id__": 3
40
},
{
"__id__": 3
74
"__id__": 3
43
},
{
"__id__": 3
77
"__id__": 3
46
},
{
"__id__": 3
80
"__id__": 3
49
},
{
"__id__": 3
83
"__id__": 3
52
},
{
"__id__": 3
86
"__id__": 3
55
}
],
"_active": true,
"_components": [
{
"__id__": 3
91
"__id__": 3
60
}
],
"_prefab": null,
...
...
@@ -17173,16 +15651,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 3
67
"__id__": 3
36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
69
"__id__": 3
38
},
{
"__id__": 3
70
"__id__": 3
39
}
],
"_prefab": null,
...
...
@@ -17238,7 +15716,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
68
"__id__": 3
37
},
"_enabled": true,
"_materials": [
...
...
@@ -17270,7 +15748,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
68
"__id__": 3
37
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -17297,16 +15775,16 @@
"_name": "bg_book_message",
"_objFlags": 0,
"_parent": {
"__id__": 3
67
"__id__": 3
36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
72
"__id__": 3
41
},
{
"__id__": 3
73
"__id__": 3
42
}
],
"_prefab": null,
...
...
@@ -17362,7 +15840,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
71
"__id__": 3
40
},
"_enabled": true,
"_materials": [
...
...
@@ -17394,7 +15872,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
71
"__id__": 3
40
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -17421,16 +15899,16 @@
"_name": "bg_left_bottom",
"_objFlags": 0,
"_parent": {
"__id__": 3
67
"__id__": 3
36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
75
"__id__": 3
44
},
{
"__id__": 3
76
"__id__": 3
45
}
],
"_prefab": null,
...
...
@@ -17486,7 +15964,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
74
"__id__": 3
43
},
"_enabled": true,
"_materials": [
...
...
@@ -17518,7 +15996,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
74
"__id__": 3
43
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -17545,16 +16023,16 @@
"_name": "bg_right_bottom",
"_objFlags": 0,
"_parent": {
"__id__": 3
67
"__id__": 3
36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
78
"__id__": 3
47
},
{
"__id__": 3
79
"__id__": 3
48
}
],
"_prefab": null,
...
...
@@ -17610,7 +16088,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
77
"__id__": 3
46
},
"_enabled": true,
"_materials": [
...
...
@@ -17642,7 +16120,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
77
"__id__": 3
46
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -17669,16 +16147,16 @@
"_name": "bg_left",
"_objFlags": 0,
"_parent": {
"__id__": 3
67
"__id__": 3
36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
81
"__id__": 3
50
},
{
"__id__": 3
82
"__id__": 3
51
}
],
"_prefab": null,
...
...
@@ -17734,7 +16212,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
80
"__id__": 3
49
},
"_enabled": true,
"_materials": [
...
...
@@ -17766,7 +16244,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
80
"__id__": 3
49
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -17793,16 +16271,16 @@
"_name": "bg_right",
"_objFlags": 0,
"_parent": {
"__id__": 3
67
"__id__": 3
36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
84
"__id__": 3
53
},
{
"__id__": 3
85
"__id__": 3
54
}
],
"_prefab": null,
...
...
@@ -17858,7 +16336,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
83
"__id__": 3
52
},
"_enabled": true,
"_materials": [
...
...
@@ -17890,7 +16368,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
83
"__id__": 3
52
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -17917,20 +16395,20 @@
"_name": "bg_title",
"_objFlags": 0,
"_parent": {
"__id__": 3
67
"__id__": 3
36
},
"_children": [
{
"__id__": 3
87
"__id__": 3
56
}
],
"_active": true,
"_components": [
{
"__id__": 3
89
"__id__": 3
58
},
{
"__id__": 3
90
"__id__": 3
59
}
],
"_prefab": null,
...
...
@@ -17986,13 +16464,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 3
86
"__id__": 3
55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
88
"__id__": 3
57
}
],
"_prefab": null,
...
...
@@ -18048,7 +16526,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
87
"__id__": 3
56
},
"_enabled": true,
"_materials": [
...
...
@@ -18083,7 +16561,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
86
"__id__": 3
55
},
"_enabled": true,
"_materials": [
...
...
@@ -18115,7 +16593,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
86
"__id__": 3
55
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -18142,7 +16620,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
67
"__id__": 3
36
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -18169,19 +16647,19 @@
"_name": "BackBtn",
"_objFlags": 0,
"_parent": {
"__id__": 3
66
"__id__": 3
35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
93
"__id__": 3
62
},
{
"__id__": 3
94
"__id__": 3
63
},
{
"__id__": 3
95
"__id__": 3
64
}
],
"_prefab": null,
...
...
@@ -18237,7 +16715,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
92
"__id__": 3
61
},
"_enabled": true,
"_materials": [
...
...
@@ -18269,7 +16747,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
92
"__id__": 3
61
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -18296,7 +16774,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
92
"__id__": 3
61
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -18305,7 +16783,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 3
96
"__id__": 3
65
}
],
"_N$interactable": true,
...
...
@@ -18366,7 +16844,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 3
66
"__id__": 3
35
},
"component": "",
"_componentId": "91e0466QddCz44ky9c0EZ81",
...
...
@@ -18378,11 +16856,11 @@
"_name": "list_node",
"_objFlags": 0,
"_parent": {
"__id__": 3
66
"__id__": 3
35
},
"_children": [
{
"__id__": 3
98
"__id__": 3
67
}
],
"_active": true,
...
...
@@ -18440,23 +16918,23 @@
"_name": "scrollView",
"_objFlags": 0,
"_parent": {
"__id__": 3
97
"__id__": 3
66
},
"_children": [
{
"__id__": 3
99
"__id__": 3
68
},
{
"__id__":
405
"__id__":
374
}
],
"_active": true,
"_components": [
{
"__id__":
421
"__id__":
390
},
{
"__id__":
403
"__id__":
372
}
],
"_prefab": null,
...
...
@@ -18512,23 +16990,23 @@
"_name": "scrollBar",
"_objFlags": 512,
"_parent": {
"__id__": 3
98
"__id__": 3
67
},
"_children": [
{
"__id__":
400
"__id__":
369
}
],
"_active": false,
"_components": [
{
"__id__":
402
"__id__":
371
},
{
"__id__":
419
"__id__":
388
},
{
"__id__":
420
"__id__":
389
}
],
"_prefab": null,
...
...
@@ -18584,13 +17062,13 @@
"_name": "bar",
"_objFlags": 512,
"_parent": {
"__id__": 3
99
"__id__": 3
68
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
401
"__id__":
370
}
],
"_prefab": null,
...
...
@@ -18646,7 +17124,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
400
"__id__":
369
},
"_enabled": true,
"_materials": [
...
...
@@ -18678,18 +17156,18 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
99
"__id__": 3
68
},
"_enabled": true,
"_scrollView": {
"__id__":
403
"__id__":
372
},
"_touching": false,
"_opacity": 255,
"enableAutoHide": true,
"autoHideTime": 1,
"_N$handle": {
"__id__":
401
"__id__":
370
},
"_N$direction": 1,
"_id": "67PdrwTWtC1pdluvWZG3z7"
...
...
@@ -18699,7 +17177,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
98
"__id__": 3
67
},
"_enabled": true,
"horizontal": true,
...
...
@@ -18711,14 +17189,14 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__":
404
"__id__":
373
},
"content": {
"__id__":
404
"__id__":
373
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": {
"__id__":
402
"__id__":
371
},
"_id": "73S1KaeEBKGLeTwrBVVH91"
},
...
...
@@ -18727,11 +17205,11 @@
"_name": "content",
"_objFlags": 512,
"_parent": {
"__id__":
405
"__id__":
374
},
"_children": [
{
"__id__":
407
"__id__":
376
}
],
"_active": true,
...
...
@@ -18789,17 +17267,17 @@
"_name": "view",
"_objFlags": 512,
"_parent": {
"__id__": 3
98
"__id__": 3
67
},
"_children": [
{
"__id__":
404
"__id__":
373
}
],
"_active": true,
"_components": [
{
"__id__":
406
"__id__":
375
}
],
"_prefab": null,
...
...
@@ -18855,7 +17333,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
405
"__id__":
374
},
"_enabled": true,
"_materials": [
...
...
@@ -18875,26 +17353,26 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__":
404
"__id__":
373
},
"_children": [
{
"__id__":
408
"__id__":
377
},
{
"__id__":
412
"__id__":
381
},
{
"__id__":
414
"__id__":
383
},
{
"__id__":
416
"__id__":
385
}
],
"_active": true,
"_components": [
{
"__id__":
418
"__id__":
387
}
],
"_prefab": null,
...
...
@@ -18950,17 +17428,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__":
407
"__id__":
376
},
"_children": [
{
"__id__":
409
"__id__":
378
}
],
"_active": true,
"_components": [
{
"__id__":
411
"__id__":
380
}
],
"_prefab": null,
...
...
@@ -19016,13 +17494,13 @@
"_name": "pic_layer",
"_objFlags": 0,
"_parent": {
"__id__":
408
"__id__":
377
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
410
"__id__":
379
}
],
"_prefab": null,
...
...
@@ -19078,7 +17556,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
409
"__id__":
378
},
"_enabled": false,
"_materials": [
...
...
@@ -19110,7 +17588,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
408
"__id__":
377
},
"_enabled": true,
"_materials": [
...
...
@@ -19132,13 +17610,13 @@
"_name": "shadow",
"_objFlags": 0,
"_parent": {
"__id__":
407
"__id__":
376
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
413
"__id__":
382
}
],
"_prefab": null,
...
...
@@ -19194,7 +17672,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
412
"__id__":
381
},
"_enabled": true,
"_materials": [
...
...
@@ -19226,13 +17704,13 @@
"_name": "title_label",
"_objFlags": 0,
"_parent": {
"__id__":
407
"__id__":
376
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
415
"__id__":
384
}
],
"_prefab": null,
...
...
@@ -19288,7 +17766,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
414
"__id__":
383
},
"_enabled": true,
"_materials": [
...
...
@@ -19323,13 +17801,13 @@
"_name": "English_label",
"_objFlags": 0,
"_parent": {
"__id__":
407
"__id__":
376
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
417
"__id__":
386
}
],
"_prefab": null,
...
...
@@ -19385,7 +17863,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
416
"__id__":
385
},
"_enabled": true,
"_materials": [
...
...
@@ -19420,7 +17898,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
407
"__id__":
376
},
"_enabled": true,
"_materials": [
...
...
@@ -19452,7 +17930,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
99
"__id__": 3
68
},
"_enabled": true,
"alignMode": 0,
...
...
@@ -19479,7 +17957,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
99
"__id__": 3
68
},
"_enabled": true,
"_materials": [
...
...
@@ -19511,7 +17989,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
98
"__id__": 3
67
},
"_enabled": false,
"_materials": [
...
...
@@ -19543,7 +18021,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
66
"__id__": 3
35
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -19570,14 +18048,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
66
"__id__": 3
35
},
"_enabled": true,
"Viewer": {
"__id__": 23
},
"scrollView": {
"__id__": 3
98
"__id__": 3
67
},
"_id": "95LsKDd5pEvrexZfjXFSk3"
},
...
...
@@ -19590,22 +18068,22 @@
},
"_children": [
{
"__id__":
425
"__id__":
394
},
{
"__id__": 4
50
"__id__": 4
19
},
{
"__id__": 4
55
"__id__": 4
24
}
],
"_active": false,
"_components": [
{
"__id__": 4
78
"__id__": 4
47
},
{
"__id__": 4
79
"__id__": 4
48
}
],
"_prefab": null,
...
...
@@ -19661,35 +18139,35 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__":
424
"__id__":
393
},
"_children": [
{
"__id__":
426
"__id__":
395
},
{
"__id__":
429
"__id__":
398
},
{
"__id__": 4
32
"__id__": 4
01
},
{
"__id__": 4
35
"__id__": 4
04
},
{
"__id__": 4
38
"__id__": 4
07
},
{
"__id__": 4
41
"__id__": 4
10
},
{
"__id__": 4
44
"__id__": 4
13
}
],
"_active": true,
"_components": [
{
"__id__": 4
49
"__id__": 4
18
}
],
"_prefab": null,
...
...
@@ -19745,16 +18223,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__":
425
"__id__":
394
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
427
"__id__":
396
},
{
"__id__":
428
"__id__":
397
}
],
"_prefab": null,
...
...
@@ -19810,7 +18288,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
426
"__id__":
395
},
"_enabled": true,
"_materials": [
...
...
@@ -19842,7 +18320,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
426
"__id__":
395
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -19869,16 +18347,16 @@
"_name": "bg_book_message",
"_objFlags": 0,
"_parent": {
"__id__":
425
"__id__":
394
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
430
"__id__":
399
},
{
"__id__": 4
31
"__id__": 4
00
}
],
"_prefab": null,
...
...
@@ -19934,7 +18412,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
429
"__id__":
398
},
"_enabled": true,
"_materials": [
...
...
@@ -19966,7 +18444,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
429
"__id__":
398
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -19993,16 +18471,16 @@
"_name": "bg_left_bottom",
"_objFlags": 0,
"_parent": {
"__id__":
425
"__id__":
394
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 4
33
"__id__": 4
02
},
{
"__id__": 4
34
"__id__": 4
03
}
],
"_prefab": null,
...
...
@@ -20058,7 +18536,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
32
"__id__": 4
01
},
"_enabled": true,
"_materials": [
...
...
@@ -20090,7 +18568,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
32
"__id__": 4
01
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -20117,16 +18595,16 @@
"_name": "bg_right_bottom",
"_objFlags": 0,
"_parent": {
"__id__":
425
"__id__":
394
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 4
36
"__id__": 4
05
},
{
"__id__": 4
37
"__id__": 4
06
}
],
"_prefab": null,
...
...
@@ -20182,7 +18660,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
35
"__id__": 4
04
},
"_enabled": true,
"_materials": [
...
...
@@ -20214,7 +18692,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
35
"__id__": 4
04
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -20241,16 +18719,16 @@
"_name": "bg_left",
"_objFlags": 0,
"_parent": {
"__id__":
425
"__id__":
394
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
39
"__id__": 4
08
},
{
"__id__": 4
40
"__id__": 4
09
}
],
"_prefab": null,
...
...
@@ -20306,7 +18784,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
38
"__id__": 4
07
},
"_enabled": true,
"_materials": [
...
...
@@ -20338,7 +18816,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
38
"__id__": 4
07
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -20365,16 +18843,16 @@
"_name": "bg_right",
"_objFlags": 0,
"_parent": {
"__id__":
425
"__id__":
394
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
42
"__id__": 4
11
},
{
"__id__": 4
43
"__id__": 4
12
}
],
"_prefab": null,
...
...
@@ -20430,7 +18908,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
41
"__id__": 4
10
},
"_enabled": true,
"_materials": [
...
...
@@ -20462,7 +18940,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
41
"__id__": 4
10
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -20489,20 +18967,20 @@
"_name": "bg_title",
"_objFlags": 0,
"_parent": {
"__id__":
425
"__id__":
394
},
"_children": [
{
"__id__": 4
45
"__id__": 4
14
}
],
"_active": true,
"_components": [
{
"__id__": 4
47
"__id__": 4
16
},
{
"__id__": 4
48
"__id__": 4
17
}
],
"_prefab": null,
...
...
@@ -20558,13 +19036,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 4
44
"__id__": 4
13
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
46
"__id__": 4
15
}
],
"_prefab": null,
...
...
@@ -20620,7 +19098,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
45
"__id__": 4
14
},
"_enabled": true,
"_materials": [
...
...
@@ -20655,7 +19133,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
44
"__id__": 4
13
},
"_enabled": true,
"_materials": [
...
...
@@ -20687,7 +19165,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
44
"__id__": 4
13
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -20714,7 +19192,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
425
"__id__":
394
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -20741,19 +19219,19 @@
"_name": "BackBtn",
"_objFlags": 0,
"_parent": {
"__id__":
424
"__id__":
393
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
51
"__id__": 4
20
},
{
"__id__": 4
52
"__id__": 4
21
},
{
"__id__": 4
53
"__id__": 4
22
}
],
"_prefab": null,
...
...
@@ -20809,7 +19287,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
50
"__id__": 4
19
},
"_enabled": true,
"_materials": [
...
...
@@ -20841,7 +19319,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
50
"__id__": 4
19
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -20868,7 +19346,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
50
"__id__": 4
19
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -20877,7 +19355,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 4
54
"__id__": 4
23
}
],
"_N$interactable": true,
...
...
@@ -20938,7 +19416,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__":
424
"__id__":
393
},
"component": "",
"_componentId": "2845dbpzalMVoza3DiK3OCk",
...
...
@@ -20950,11 +19428,11 @@
"_name": "list_node",
"_objFlags": 0,
"_parent": {
"__id__":
424
"__id__":
393
},
"_children": [
{
"__id__": 4
56
"__id__": 4
25
}
],
"_active": true,
...
...
@@ -21012,23 +19490,23 @@
"_name": "scrollView",
"_objFlags": 0,
"_parent": {
"__id__": 4
55
"__id__": 4
24
},
"_children": [
{
"__id__": 4
57
"__id__": 4
26
},
{
"__id__": 4
63
"__id__": 4
32
}
],
"_active": true,
"_components": [
{
"__id__": 4
77
"__id__": 4
46
},
{
"__id__": 4
61
"__id__": 4
30
}
],
"_prefab": null,
...
...
@@ -21084,23 +19562,23 @@
"_name": "scrollBar",
"_objFlags": 512,
"_parent": {
"__id__": 4
56
"__id__": 4
25
},
"_children": [
{
"__id__": 4
58
"__id__": 4
27
}
],
"_active": false,
"_components": [
{
"__id__": 4
60
"__id__": 4
29
},
{
"__id__": 4
75
"__id__": 4
44
},
{
"__id__": 4
76
"__id__": 4
45
}
],
"_prefab": null,
...
...
@@ -21156,13 +19634,13 @@
"_name": "bar",
"_objFlags": 512,
"_parent": {
"__id__": 4
57
"__id__": 4
26
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
59
"__id__": 4
28
}
],
"_prefab": null,
...
...
@@ -21218,7 +19696,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
58
"__id__": 4
27
},
"_enabled": true,
"_materials": [
...
...
@@ -21250,18 +19728,18 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
57
"__id__": 4
26
},
"_enabled": true,
"_scrollView": {
"__id__": 4
61
"__id__": 4
30
},
"_touching": false,
"_opacity": 255,
"enableAutoHide": true,
"autoHideTime": 1,
"_N$handle": {
"__id__": 4
59
"__id__": 4
28
},
"_N$direction": 1,
"_id": "achr3tlARKP4jGHPb4miYe"
...
...
@@ -21271,7 +19749,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
56
"__id__": 4
25
},
"_enabled": true,
"horizontal": false,
...
...
@@ -21283,14 +19761,14 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 4
62
"__id__": 4
31
},
"content": {
"__id__": 4
62
"__id__": 4
31
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": {
"__id__": 4
60
"__id__": 4
29
},
"_id": "d4RPPnEfRIbpy+6sEIwan/"
},
...
...
@@ -21299,11 +19777,11 @@
"_name": "content",
"_objFlags": 512,
"_parent": {
"__id__": 4
63
"__id__": 4
32
},
"_children": [
{
"__id__": 4
65
"__id__": 4
34
}
],
"_active": true,
...
...
@@ -21361,17 +19839,17 @@
"_name": "view",
"_objFlags": 512,
"_parent": {
"__id__": 4
56
"__id__": 4
25
},
"_children": [
{
"__id__": 4
62
"__id__": 4
31
}
],
"_active": true,
"_components": [
{
"__id__": 4
64
"__id__": 4
33
}
],
"_prefab": null,
...
...
@@ -21427,7 +19905,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
63
"__id__": 4
32
},
"_enabled": true,
"_materials": [
...
...
@@ -21447,23 +19925,23 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 4
62
"__id__": 4
31
},
"_children": [
{
"__id__": 4
66
"__id__": 4
35
},
{
"__id__": 4
70
"__id__": 4
39
},
{
"__id__": 4
72
"__id__": 4
41
}
],
"_active": true,
"_components": [
{
"__id__": 4
74
"__id__": 4
43
}
],
"_prefab": null,
...
...
@@ -21519,17 +19997,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 4
65
"__id__": 4
34
},
"_children": [
{
"__id__": 4
67
"__id__": 4
36
}
],
"_active": true,
"_components": [
{
"__id__": 4
69
"__id__": 4
38
}
],
"_prefab": null,
...
...
@@ -21585,13 +20063,13 @@
"_name": "pic_layer",
"_objFlags": 0,
"_parent": {
"__id__": 4
66
"__id__": 4
35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
68
"__id__": 4
37
}
],
"_prefab": null,
...
...
@@ -21647,7 +20125,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
67
"__id__": 4
36
},
"_enabled": false,
"_materials": [
...
...
@@ -21679,7 +20157,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
66
"__id__": 4
35
},
"_enabled": true,
"_materials": [
...
...
@@ -21701,13 +20179,13 @@
"_name": "shadow",
"_objFlags": 0,
"_parent": {
"__id__": 4
65
"__id__": 4
34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
71
"__id__": 4
40
}
],
"_prefab": null,
...
...
@@ -21763,7 +20241,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
70
"__id__": 4
39
},
"_enabled": true,
"_materials": [
...
...
@@ -21795,13 +20273,13 @@
"_name": "title_label",
"_objFlags": 0,
"_parent": {
"__id__": 4
65
"__id__": 4
34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
73
"__id__": 4
42
}
],
"_prefab": null,
...
...
@@ -21857,7 +20335,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
72
"__id__": 4
41
},
"_enabled": true,
"_materials": [
...
...
@@ -21892,7 +20370,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
65
"__id__": 4
34
},
"_enabled": true,
"_materials": [
...
...
@@ -21924,7 +20402,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
57
"__id__": 4
26
},
"_enabled": true,
"alignMode": 0,
...
...
@@ -21951,7 +20429,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
57
"__id__": 4
26
},
"_enabled": true,
"_materials": [
...
...
@@ -21983,7 +20461,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
56
"__id__": 4
25
},
"_enabled": false,
"_materials": [
...
...
@@ -22015,7 +20493,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
424
"__id__":
393
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -22042,14 +20520,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
424
"__id__":
393
},
"_enabled": true,
"Viewer": {
"__id__": 23
},
"scrollView": {
"__id__": 4
56
"__id__": 4
25
},
"_id": "e60DidD7NHWKXJ9D2Pfw8S"
},
...
...
@@ -22068,13 +20546,13 @@
"__id__": 57
},
"libraryPage": {
"__id__":
327
"__id__":
296
},
"libraryReadPage": {
"__id__": 3
66
"__id__": 3
35
},
"libraryReadDetailPage": {
"__id__":
424
"__id__":
393
},
"unitPage": {
"__id__": 189
...
...
@@ -22120,16 +20598,16 @@
},
"_children": [
{
"__id__": 4
83
"__id__": 4
52
}
],
"_active": false,
"_components": [
{
"__id__": 4
88
"__id__": 4
57
},
{
"__id__": 4
89
"__id__": 4
58
}
],
"_prefab": null,
...
...
@@ -22185,20 +20663,20 @@
"_name": "prograss",
"_objFlags": 0,
"_parent": {
"__id__": 4
82
"__id__": 4
51
},
"_children": [
{
"__id__": 4
84
"__id__": 4
53
}
],
"_active": true,
"_components": [
{
"__id__": 4
86
"__id__": 4
55
},
{
"__id__": 4
87
"__id__": 4
56
}
],
"_prefab": null,
...
...
@@ -22254,13 +20732,13 @@
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 4
83
"__id__": 4
52
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
85
"__id__": 4
54
}
],
"_prefab": null,
...
...
@@ -22316,7 +20794,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
84
"__id__": 4
53
},
"_enabled": true,
"_materials": [
...
...
@@ -22348,7 +20826,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
83
"__id__": 4
52
},
"_enabled": true,
"_materials": [
...
...
@@ -22380,14 +20858,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
83
"__id__": 4
52
},
"_enabled": true,
"bar": {
"__id__": 4
84
"__id__": 4
53
},
"process": {
"__id__": 4
83
"__id__": 4
52
},
"_id": "8f9YpoyVdH74RARY/UyCO/"
},
...
...
@@ -22396,7 +20874,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
82
"__id__": 4
51
},
"_enabled": true,
"_materials": [
...
...
@@ -22428,7 +20906,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
82
"__id__": 4
51
},
"_enabled": true,
"_id": "d9Sm5lOKBAxKufJF2Q8Nr8"
...
...
@@ -22442,13 +20920,13 @@
},
"_children": [
{
"__id__": 4
91
"__id__": 4
60
}
],
"_active": false,
"_components": [
{
"__id__": 4
96
"__id__": 4
65
}
],
"_prefab": null,
...
...
@@ -22504,20 +20982,20 @@
"_name": "tips",
"_objFlags": 0,
"_parent": {
"__id__": 4
90
"__id__": 4
59
},
"_children": [
{
"__id__": 4
92
"__id__": 4
61
}
],
"_active": true,
"_components": [
{
"__id__": 4
94
"__id__": 4
63
},
{
"__id__": 4
95
"__id__": 4
64
}
],
"_prefab": null,
...
...
@@ -22573,13 +21051,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 4
91
"__id__": 4
60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
93
"__id__": 4
62
}
],
"_prefab": null,
...
...
@@ -22635,7 +21113,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
92
"__id__": 4
61
},
"_enabled": true,
"_materials": [
...
...
@@ -22668,7 +21146,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
91
"__id__": 4
60
},
"_enabled": true,
"_materials": [
...
...
@@ -22700,7 +21178,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
91
"__id__": 4
60
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -22727,7 +21205,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
90
"__id__": 4
59
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -22758,7 +21236,7 @@
},
"_children": [
{
"__id__": 4
98
"__id__": 4
67
}
],
"_active": false,
...
...
@@ -22816,11 +21294,11 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 4
97
"__id__": 4
66
},
"_children": [
{
"__id__": 4
99
"__id__": 4
68
}
],
"_active": true,
...
...
@@ -22878,13 +21356,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 4
98
"__id__": 4
67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
500
"__id__":
469
}
],
"_prefab": null,
...
...
@@ -22940,7 +21418,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
99
"__id__": 4
68
},
"_enabled": true,
"_clip": {
...
...
assets/middleLayer_for_kyxq/script/MissionPage.ts
View file @
30e5077f
...
...
@@ -6,7 +6,7 @@
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import
{
getSprNodeByUrl
,
setSprNodeMaxLen
}
from
"
./util
"
;
import
{
getSprNodeByUrl
,
setSprNodeMaxLen
,
asyncCallNetworkApiGet
,
asyncCallNetworkApiPost
}
from
"
./util
"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
...
@@ -19,13 +19,16 @@ export default class NewClass extends cc.Component {
@
property
(
cc
.
Node
)
scrollView
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
resNode
:
cc
.
Node
=
null
;
listItem
:
cc
.
Node
=
null
;
data
;
@
property
(
cc
.
Node
)
loading
:
cc
.
Node
=
null
;
@
property
(
cc
.
Material
)
gray
:
cc
.
Material
=
null
;
data
;
handleClickBackBtn
()
{
const
vc
=
this
.
Viewer
.
getComponent
(
"
PageViewer
"
);
...
...
@@ -36,76 +39,37 @@ export default class NewClass extends cc.Component {
// onLoad () {}
start
()
{
this
.
initData
();
this
.
initView
();
}
initData
()
{
this
.
data
=
[
{
type
:
"
music
"
,
iconRes
:
"
btn_music
"
,
text_cn
:
"
拼读儿歌
"
,
text_en
:
"
Music
"
,
},
{
type
:
"
class
"
,
iconRes
:
"
btn_class
"
,
text_cn
:
"
外教课堂
"
,
text_en
:
"
Class
"
,
},
{
type
:
"
chant
"
,
iconRes
:
"
btn_chant
"
,
text_cn
:
"
律动时光
"
,
text_en
:
"
Chant
"
,
},
{
type
:
"
practice
"
,
iconRes
:
"
btn_practice
"
,
text_cn
:
"
闯关练习
"
,
text_en
:
"
Practice
"
,
},
{
type
:
"
video
"
,
iconRes
:
"
btn_video
"
,
text_cn
:
"
场景动画
"
,
text_en
:
"
Video
"
,
},
{
type
:
"
review
"
,
iconRes
:
"
btn_review
"
,
text_cn
:
"
故事复述
"
,
text_en
:
"
Review
"
,
isLock
:
true
,
},
{
type
:
"
speaking
"
,
iconRes
:
"
btn_speaking
"
,
text_cn
:
"
外教带读
"
,
text_en
:
"
Speaking
"
,
isLock
:
true
,
},
{
type
:
"
show
"
,
iconRes
:
"
btn_show
"
,
text_cn
:
"
外教带读
"
,
text_en
:
"
My Show
"
,
isLock
:
true
,
},
]
}
initView
()
{
this
.
initListView
();
async
start
()
{
this
.
loading
.
active
=
true
;
await
this
.
initData
();
await
this
.
getAndStoreSyllabusStatus
();
await
this
.
initView
();
this
.
loading
.
active
=
false
;
}
initListView
()
{
async
initData
()
{
const
{
rows
}
=
await
asyncCallNetworkApiGet
(
`/api/syllabus/v1/list`
,
{
pid
:
this
.
node
[
'
syllabus_pid
'
]});
this
.
data
=
rows
;
}
syllabusLockStatusStore
=
{};
// 课件是否解锁的存储对象 { 99343: 'locked', 19834: 'unlock' }
async
getAndStoreSyllabusStatus
()
{
const
syllabuses
=
this
.
data
.
map
(
item
=>
item
.
id
);
const
{
rows
}
=
await
asyncCallNetworkApiGet
(
`/api/kyxq/v1/user/syllabus/status`
,
{
syllabuses
:
syllabuses
.
join
(
"
,
"
)});
for
(
let
i
=
0
;
i
<
rows
.
length
;
i
++
)
{
const
row
=
rows
[
i
];
if
(
syllabuses
.
includes
(
row
.
id
))
{
this
.
syllabusLockStatusStore
[
row
.
id
]
=
row
.
unlock
==
0
?
'
locked
'
:
'
unlock
'
;
}
}
}
async
initView
()
{
this
.
initListView
();
}
initListView
()
{
const
svNode
=
this
.
scrollView
;
const
view
=
cc
.
find
(
"
view
"
,
svNode
);
view
.
width
=
svNode
.
width
;
view
.
height
=
svNode
.
height
;
...
...
@@ -120,78 +84,60 @@ export default class NewClass extends cc.Component {
getItemArr
(
dataArr
)
{
const
listItem
=
cc
.
find
(
"
view/content/item
"
,
this
.
scrollView
);
const
itemArr
=
[];
for
(
let
i
=
0
;
i
<
dataArr
.
length
;
i
++
)
{
const
data
=
dataArr
[
i
];
const
itemNode
=
cc
.
instantiate
(
listItem
);
itemNode
[
'
data
'
]
=
data
;
const
itemNode
=
cc
.
instantiate
(
this
.
listItem
);
const
iconNodeBase
=
cc
.
find
(
data
.
iconRes
,
this
.
resNode
);
const
iconLockedBase
=
cc
.
find
(
data
.
iconRes
+
"
_locked
"
,
this
.
resNode
);
// 前期测试,都放开成解锁状态
// const unLock = this.syllabusLockStatusStore[data.id]==='unlock';
const
unLock
=
true
;
if
(
i
==
0
&&
!
unLock
)
{
// 如果第一个是未解锁的状态,需要上报一个解锁并且渲染成解锁的状态
asyncCallNetworkApiPost
(
`/api/kyxq/v1/user/unlock`
,
{
syllabus_id
:
data
.
id
}).
then
((
res
)
=>
{
if
(
res
.
code
!=
200
)
{
global
.
middleLayer
.
showTips
(
`解锁失败`
);
}
});
}
const
iconNode
=
cc
.
instantiate
(
iconNodeBase
)
;
const
iconLocked
=
cc
.
instantiate
(
iconLockedBase
)
;
data
.
unLock
=
unLock
;
itemNode
[
'
data
'
]
=
data
;
cc
.
find
(
"
title_label
"
,
itemNode
).
getComponent
(
cc
.
Label
).
string
=
data
.
name
;
cc
.
find
(
"
English_label
"
,
itemNode
).
getComponent
(
cc
.
Label
).
string
=
data
.
tag
;
getSprNodeByUrl
(
data
.
cover
,
(
spr
)
=>
{
const
sprNode
=
spr
.
node
;
const
picLayer
=
cc
.
find
(
"
pic_layer
"
,
itemNode
);
// console.log("picLayer: " , picLayer);
picLayer
.
addChild
(
iconNode
);
setSprNodeMaxLen
(
iconNode
,
picLayer
.
width
,
picLayer
.
height
);
const
labelNodeCn
=
cc
.
find
(
"
title_label
"
,
itemNode
);
const
labelNodeEn
=
cc
.
find
(
"
English_label
"
,
itemNode
);
const
labelCn
=
labelNodeCn
.
getComponent
(
cc
.
Label
);
const
labelEn
=
labelNodeEn
.
getComponent
(
cc
.
Label
);
labelCn
.
string
=
data
.
text_cn
;
labelEn
.
string
=
data
.
text_en
;
picLayer
.
addChild
(
iconLocked
);
setSprNodeMaxLen
(
iconLocked
,
picLayer
.
width
,
picLayer
.
height
);
iconLocked
.
active
=
false
;
picLayer
.
addChild
(
sprNode
);
const
lock
=
cc
.
find
(
"
icon_lock
"
,
itemNode
);
lock
.
active
=
false
;
setSprNodeMaxLen
(
sprNode
,
picLayer
.
width
,
picLayer
.
height
,
true
);
const
isLocked
=
data
.
isLock
;
if
(
isLocked
)
{
iconLocked
.
active
=
true
;
lock
.
active
=
true
;
if
(
unLock
)
{
cc
.
find
(
`icon_lock`
,
itemNode
).
active
=
false
;
}
else
{
spr
.
setMaterial
(
0
,
this
.
gray
)
;
}
itemNode
.
addComponent
(
cc
.
Button
);
itemNode
.
on
(
"
click
"
,
()
=>
{
switch
(
data
.
type
)
{
case
"
music
"
:
this
.
musicCardClick
();
break
;
}
})
itemNode
.
active
=
true
;
});
itemArr
.
push
(
itemNode
);
}
return
itemArr
;
}
musicCardClick
()
{
cardClick
(
evt
:
cc
.
Event
)
{
const
{
id
,
unLock
}
=
evt
.
currentTarget
.
data
;
if
(
!
unLock
)
{
global
.
middleLayer
.
showTips
(
`未解锁`
);
return
;
}
if
(
global
.
middleLayer
)
{
const
middleLayer
=
cc
.
find
(
"
middleLayer
"
);
middleLayer
.
active
=
false
;
console
.
log
(
'
middleLayer:
'
,
middleLayer
);
global
.
middleLayer
.
loadOnlineCourseWare
(
20522
);
global
.
middleLayer
.
loadOnlineCourseWare
(
id
);
}
}
...
...
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