Commit 26144dcf authored by 范雪寒's avatar 范雪寒

feat: 将字母图片改为延迟加载

parent d5dbb507
......@@ -75,25 +75,25 @@
"__id__": 5
},
{
"__id__": 120
"__id__": 68
},
{
"__id__": 129
"__id__": 77
},
{
"__id__": 131
"__id__": 79
}
],
"_active": true,
"_components": [
{
"__id__": 150
"__id__": 98
},
{
"__id__": 151
"__id__": 99
},
{
"__id__": 152
"__id__": 100
}
],
"_prefab": null,
......@@ -183,7 +183,7 @@
"array": [
0,
0,
475.44794667765683,
673.1859033261256,
0,
0,
0,
......@@ -278,22 +278,22 @@
"__id__": 40
},
{
"__id__": 93
"__id__": 41
},
{
"__id__": 102
"__id__": 50
},
{
"__id__": 111
"__id__": 59
},
{
"__id__": 115
"__id__": 63
}
],
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 67
}
],
"_prefab": null,
......@@ -1819,2569 +1819,10 @@
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 328.8,
"height": 478.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
166.227,
-163.965,
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": "45VhY1AeNLkLLDmdH8VYXS"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "A",
"_N$string": "A",
"_fontSize": 480,
"_lineHeight": 380,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "2045d93a-58c1-423d-9846-aab243658a2d"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "2294TH7ldMepN3CichMz94"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "ee7ppiBBRBkIu6jFEtHORU"
},
{
"__type__": "cc.Node",
"_name": "LetterPicture",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [
{
"__id__": 41
},
{
"__id__": 43
},
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
},
{
"__id__": 57
},
{
"__id__": 59
},
{
"__id__": 61
},
{
"__id__": 63
},
{
"__id__": 65
},
{
"__id__": 67
},
{
"__id__": 69
},
{
"__id__": 71
},
{
"__id__": 73
},
{
"__id__": 75
},
{
"__id__": 77
},
{
"__id__": 79
},
{
"__id__": 81
},
{
"__id__": 83
},
{
"__id__": 85
},
{
"__id__": 87
},
{
"__id__": 89
},
{
"__id__": 91
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 308,
"height": 354
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
300,
86.777,
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": "d1lsal7ZdOSrexJfk8Q82Y"
},
{
"__type__": "cc.Node",
"_name": "bg_b",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 42
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 372,
"height": 404
},
"_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": "35NBRR8dZPHbVVgxfAb6N3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "044440ba-e474-4e08-9c78-e1539b998dcd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e9eBa6gUFB07uO77/Pz2Zt"
},
{
"__type__": "cc.Node",
"_name": "bg_k",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 451,
"height": 313
},
"_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": "98C8qD9UxM7I/q0gF2KgPX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a668f7af-8462-4f43-b56f-fa95239abf2d"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "82ci2NhptFs5aDINIVK1xe"
},
{
"__type__": "cc.Node",
"_name": "bg_j",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 46
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 391,
"height": 391
},
"_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": "ccDjwtgAlCGYrzTb0ezIXW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "06bdfbad-50fd-4dab-b793-18cccecaf9e2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6195noRixG2oxnFL3663eI"
},
{
"__type__": "cc.Node",
"_name": "bg_m",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 48
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 434,
"height": 401
},
"_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": "f6/3ZGtGdMtbkEBrDWYJWi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5f019ef7-e6c5-4d81-bf5c-f9e7949d12d8"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "de0bujOitP2rMtO+AsT/4c"
},
{
"__type__": "cc.Node",
"_name": "bg_l",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 50
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 473,
"height": 424
},
"_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": "cbA2oxDAtJUp2UsVtmdqts"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6359b415-9e1c-4e03-b09a-1a033910d050"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8eNafhvTdE8IMZvmv8/lQW"
},
{
"__type__": "cc.Node",
"_name": "bg_a",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 308,
"height": 354
},
"_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": "26WC8PIZBG+rlFDri/Gmdq"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "953ba841-65ca-4fca-8773-3f888c160808"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7f0B8TlJpKl6lbseuRIKhd"
},
{
"__type__": "cc.Node",
"_name": "bg_s",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 54
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 423,
"height": 417
},
"_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": "16PPGugxVNUpMmMtrPUeeZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "57a7adb9-4067-46a5-b9c9-2487b2fd21f0"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4azKk2Gw1Pcr1yBYCU/HxV"
},
{
"__type__": "cc.Node",
"_name": "bg_o",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 56
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 336,
"height": 361
},
"_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": "e6EYOKRShOxK/n+qre6QOH"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "86d9177f-e4ea-4d5c-a43f-205b250a54c5"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "bf32QpvElD5YebiEfR3GgU"
},
{
"__type__": "cc.Node",
"_name": "bg_q",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 58
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 271,
"height": 420
},
"_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": "670PO2VmBDnoNEChaVjh+Z"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "badf3314-08f1-41e6-b9ab-bbf8bf341e52"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d6cXjalgZNlrhGQ5oyd69Z"
},
{
"__type__": "cc.Node",
"_name": "bg_r",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 60
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 486,
"height": 430
},
"_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": "55rtN8dgBFwIdaT4V0gMeD"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "aad6cda7-b707-4820-a4db-263f257075be"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a5rNtC0QxCkbONI4veXDuF"
},
{
"__type__": "cc.Node",
"_name": "bg_n",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 62
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 397,
"height": 344
},
"_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": "9f6kkyvEVBZ4L43TTO2AQM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8c748cc4-4c88-4adf-ae93-799e1bfd7e3b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0bqNR0Y+dIB4ODvs9BBdWY"
},
{
"__type__": "cc.Node",
"_name": "bg_t",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 64
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 518,
"height": 388
},
"_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": "11fHy6VZ5IkJUkoJlWrtzy"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2213e415-16fd-4139-a668-29b598b5db60"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "baXIFkoH5N9Zp144w4DtXJ"
},
{
"__type__": "cc.Node",
"_name": "bg_v",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 66
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 464,
"height": 423
},
"_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": "e5AjRPteVMf4NdcscD+ecb"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "bf782d15-3cb5-40ab-a139-754ffd5194dd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cbRE8B8QFEYJE1oZarACyF"
},
{
"__type__": "cc.Node",
"_name": "bg_d",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 68
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 359,
"height": 451
},
"_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": "87nboDSqZNe45tuq+Jbc4t"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a98682b9-ffd4-4df7-a2fe-4a58e3950598"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "91ciZgRclNSpMikygO6STX"
},
{
"__type__": "cc.Node",
"_name": "bg_p",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 70
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 321,
"height": 423
},
"_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": "8aCrb/kmxA8Iy6cZxe6CMZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4c7f9b26-c75a-411a-91f9-65888f051127"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "81x5mBIKdFb6KyMT4JNRvo"
},
{
"__type__": "cc.Node",
"_name": "bg_u",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 72
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 408,
"height": 400
},
"_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": "31xhDfpehJ6LHLhqtKYH6Q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "746b09fa-df0e-4c13-872a-50d975218c9f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "75Xw4G2hJLArUxsmhg30T8"
},
{
"__type__": "cc.Node",
"_name": "bg_c",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 74
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 353,
"height": 421
},
"_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": "f77DU1NwhO6aRVP0pFYWiN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0b268acf-cf9f-4232-81b0-dbede30217e8"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a06V85L/NERIbyce0DDtc7"
},
{
"__type__": "cc.Node",
"_name": "bg_e",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 387,
"height": 303
},
"_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": "0bjWHy0hRFIqqPGBLJ4uhZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4a09aae0-de4e-4ce7-8144-f53fc1a27892"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4kvH3oudKsqKbS/1/zPRS"
},
{
"__type__": "cc.Node",
"_name": "bg_f",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 248,
"height": 437
},
"_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": "87b+AOgK1AFJiKi+p76jXV"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "bd50dae4-9b65-4e2e-bf50-57e0aa5b06b9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9c83LFfY1AbZJu7rLvCTjS"
},
{
"__type__": "cc.Node",
"_name": "bg_i",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 80
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 353,
"height": 358
},
"_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": "9fM5oqsIVOc5a2+n+6EnY8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5840b7d0-f1d1-4e46-ad22-af66b0ef6a7f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3fjAHV0CxLAaHEJOdvjJ+9"
},
{
"__type__": "cc.Node",
"_name": "bg_g",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 82
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 343,
"height": 400
},
"_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": "19/kNwppVCxo4NZ6V9N6dA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8703bbff-64d2-4a81-b166-03ed2fa6cbfc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "acNWM3+CZNaYvJUMvyn/0q"
},
{
"__type__": "cc.Node",
"_name": "bg_h",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 84
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 516,
"height": 215
},
"_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": "9eZk4zbu9A5aJJZv++sLmK"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54175dcd-8c6b-4b1d-9a14-57bde1bbc170"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7e3cvROa9Ki5JFWU2wMW23"
},
{
"__type__": "cc.Node",
"_name": "bg_x",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 86
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 356,
"height": 347
},
"_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": "3aHVFfVXJDa4rAys0vc4sr"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2669eec0-efd8-4f11-80ed-f490a8980226"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f3lQK8whRDo4GaxdbRYAgU"
},
{
"__type__": "cc.Node",
"_name": "bg_w",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 88
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 386,
"height": 315
},
"_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": "d2sV/24elMz5MqnJh03RvL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "65e2bbf1-ac9d-4c7c-bdc4-15e85ce50976"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "50pcm1UL5D5bfAiIznUaK9"
},
{
"__type__": "cc.Node",
"_name": "bg_y",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 38
}
],
"_prefab": null,
......@@ -4395,8 +1836,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 476,
"height": 388
"width": 328.8,
"height": 478.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -4407,8 +1848,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
166.227,
-163.965,
0,
0,
0,
......@@ -4430,14 +1871,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9b5U24PlRDq5nMtRZJrXZL"
"_id": "45VhY1AeNLkLLDmdH8VYXS"
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 37
},
"_enabled": true,
"_materials": [
......@@ -4447,37 +1888,105 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "98930521-907e-436b-9f73-e5f121bc3ddd"
"_useOriginalSize": false,
"_string": "A",
"_N$string": "A",
"_fontSize": 480,
"_lineHeight": 380,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "2045d93a-58c1-423d-9846-aab243658a2d"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "2294TH7ldMepN3CichMz94"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "38Ann6v8NOUbBKc4NUz/Up"
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "ee7ppiBBRBkIu6jFEtHORU"
},
{
"__type__": "cc.Node",
"_name": "bg_z",
"_name": "LetterPicture",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 92
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -4489,8 +1998,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 490,
"height": 439
"width": 308,
"height": 354
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -4501,8 +2010,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
300,
86.777,
0,
0,
0,
......@@ -4524,39 +2033,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4edrRtZYpOP4Y8crIcHv1j"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6f7a6f7a-7a73-40cb-bdbf-ecb7b5c60d78"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e5bdbeCCxF+rEqus3bId5z"
"_id": "d1lsal7ZdOSrexJfk8Q82Y"
},
{
"__type__": "cc.Node",
......@@ -4567,16 +2044,16 @@
},
"_children": [
{
"__id__": 94
"__id__": 42
}
],
"_active": false,
"_components": [
{
"__id__": 100
"__id__": 48
},
{
"__id__": 101
"__id__": 49
}
],
"_prefab": null,
......@@ -4632,20 +2109,20 @@
"_name": "PictureWordSmallRichText",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 41
},
"_children": [
{
"__id__": 95
"__id__": 43
},
{
"__id__": 97
"__id__": 45
}
],
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 47
}
],
"_prefab": null,
......@@ -4701,13 +2178,13 @@
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 94
"__id__": 42
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 96
"__id__": 44
}
],
"_prefab": null,
......@@ -4765,7 +2242,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
"__id__": 43
},
"_enabled": true,
"_materials": [
......@@ -4801,13 +2278,13 @@
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 94
"__id__": 42
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 98
"__id__": 46
}
],
"_prefab": null,
......@@ -4865,7 +2342,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 45
},
"_enabled": true,
"_materials": [
......@@ -4901,7 +2378,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
"__id__": 42
},
"_enabled": true,
"_fontFamily": "Arial",
......@@ -4924,7 +2401,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 41
},
"_enabled": true,
"_materials": [
......@@ -4956,7 +2433,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 41
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5028,16 +2505,16 @@
},
"_children": [
{
"__id__": 103
"__id__": 51
}
],
"_active": true,
"_components": [
{
"__id__": 109
"__id__": 57
},
{
"__id__": 110
"__id__": 58
}
],
"_prefab": null,
......@@ -5093,20 +2570,20 @@
"_name": "PictureWordBigRichText",
"_objFlags": 0,
"_parent": {
"__id__": 102
"__id__": 50
},
"_children": [
{
"__id__": 104
"__id__": 52
},
{
"__id__": 106
"__id__": 54
}
],
"_active": true,
"_components": [
{
"__id__": 108
"__id__": 56
}
],
"_prefab": null,
......@@ -5162,13 +2639,13 @@
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 103
"__id__": 51
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 105
"__id__": 53
}
],
"_prefab": null,
......@@ -5218,14 +2695,14 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "ea8B0HxGlI5KXQS96ErWqu"
"_id": "f3gj5oJvtIhbmBDTkIpGE/"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
"__id__": 52
},
"_enabled": true,
"_materials": [
......@@ -5254,20 +2731,20 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "1fkzVTnuRAY7Ni5XExfXju"
"_id": "03W/JOG1lMBIXmqZniwsI3"
},
{
"__type__": "cc.PrivateNode",
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 103
"__id__": 51
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
"__id__": 55
}
],
"_prefab": null,
......@@ -5317,14 +2794,14 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "e0UWb+jI5AF7bImb3aAzVh"
"_id": "d7KJPn8ppMBrSDmM0lk57e"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 54
},
"_enabled": true,
"_materials": [
......@@ -5353,14 +2830,14 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "378q0gwcVCtrrHGUvG95g/"
"_id": "4dr15ZZJ9KMaAZVgh3pq+/"
},
{
"__type__": "cc.RichText",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
"__id__": 51
},
"_enabled": true,
"_fontFamily": "Arial",
......@@ -5383,7 +2860,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 50
},
"_enabled": true,
"_materials": [
......@@ -5415,7 +2892,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 50
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5489,13 +2966,13 @@
"_active": true,
"_components": [
{
"__id__": 112
"__id__": 60
},
{
"__id__": 113
"__id__": 61
},
{
"__id__": 114
"__id__": 62
}
],
"_prefab": null,
......@@ -5551,7 +3028,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 59
},
"_enabled": true,
"_materials": [
......@@ -5583,7 +3060,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 59
},
"_enabled": true,
"alignMode": 1,
......@@ -5610,7 +3087,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 59
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5684,13 +3161,13 @@
"_active": true,
"_components": [
{
"__id__": 116
"__id__": 64
},
{
"__id__": 117
"__id__": 65
},
{
"__id__": 118
"__id__": 66
}
],
"_prefab": null,
......@@ -5746,7 +3223,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
"__id__": 63
},
"_enabled": true,
"_materials": [
......@@ -5778,7 +3255,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
"__id__": 63
},
"_enabled": true,
"alignMode": 1,
......@@ -5805,7 +3282,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
"__id__": 63
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5904,16 +3381,16 @@
},
"_children": [
{
"__id__": 121
"__id__": 69
},
{
"__id__": 123
"__id__": 71
},
{
"__id__": 125
"__id__": 73
},
{
"__id__": 127
"__id__": 75
}
],
"_active": true,
......@@ -5971,13 +3448,13 @@
"_name": "RibbonNode_0",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 122
"__id__": 70
}
],
"_prefab": null,
......@@ -6033,7 +3510,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
"__id__": 69
},
"_enabled": true,
"_materials": [
......@@ -6065,13 +3542,13 @@
"_name": "RibbonNode_1",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 124
"__id__": 72
}
],
"_prefab": null,
......@@ -6127,7 +3604,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -6159,13 +3636,13 @@
"_name": "RibbonNode_2",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 126
"__id__": 74
}
],
"_prefab": null,
......@@ -6221,7 +3698,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 73
},
"_enabled": true,
"_materials": [
......@@ -6253,13 +3730,13 @@
"_name": "RibbonNode_3",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 128
"__id__": 76
}
],
"_prefab": null,
......@@ -6315,7 +3792,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 127
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -6353,7 +3830,7 @@
"_active": true,
"_components": [
{
"__id__": 130
"__id__": 78
}
],
"_prefab": null,
......@@ -6409,7 +3886,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 129
"__id__": 77
},
"_enabled": true,
"star": {
......@@ -6594,22 +4071,22 @@
},
"_children": [
{
"__id__": 132
"__id__": 80
},
{
"__id__": 139
"__id__": 87
},
{
"__id__": 145
"__id__": 93
}
],
"_active": false,
"_components": [
{
"__id__": 149
"__id__": 97
},
{
"__id__": 143
"__id__": 91
}
],
"_prefab": null,
......@@ -6665,17 +4142,17 @@
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 131
"__id__": 79
},
"_children": [
{
"__id__": 133
"__id__": 81
}
],
"_active": true,
"_components": [
{
"__id__": 138
"__id__": 86
}
],
"_prefab": null,
......@@ -6731,20 +4208,20 @@
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 132
"__id__": 80
},
"_children": [
{
"__id__": 134
"__id__": 82
}
],
"_active": true,
"_components": [
{
"__id__": 136
"__id__": 84
},
{
"__id__": 137
"__id__": 85
}
],
"_prefab": null,
......@@ -6800,13 +4277,13 @@
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 133
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 135
"__id__": 83
}
],
"_prefab": null,
......@@ -6862,7 +4339,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 82
},
"_enabled": true,
"_materials": [
......@@ -6896,7 +4373,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 81
},
"_enabled": true,
"_materials": [
......@@ -6928,7 +4405,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 81
},
"_enabled": true,
"alignMode": 0,
......@@ -6955,7 +4432,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
"__id__": 80
},
"_enabled": true,
"_normalMaterial": null,
......@@ -7028,7 +4505,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 133
"__id__": 81
},
"_id": "1fTTRZFT9MsZJne0GmwxB3"
},
......@@ -7037,23 +4514,23 @@
"_name": "scrollBar",
"_objFlags": 512,
"_parent": {
"__id__": 131
"__id__": 79
},
"_children": [
{
"__id__": 140
"__id__": 88
}
],
"_active": true,
"_components": [
{
"__id__": 142
"__id__": 90
},
{
"__id__": 147
"__id__": 95
},
{
"__id__": 148
"__id__": 96
}
],
"_prefab": null,
......@@ -7109,13 +4586,13 @@
"_name": "bar",
"_objFlags": 512,
"_parent": {
"__id__": 139
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 141
"__id__": 89
}
],
"_prefab": null,
......@@ -7171,7 +4648,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -7203,18 +4680,18 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
"__id__": 87
},
"_enabled": true,
"_scrollView": {
"__id__": 143
"__id__": 91
},
"_touching": false,
"_opacity": 255,
"enableAutoHide": true,
"autoHideTime": 1,
"_N$handle": {
"__id__": 141
"__id__": 89
},
"_N$direction": 1,
"_id": "72VioaQQdB7KnIZRlSryhn"
......@@ -7224,7 +4701,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
"__id__": 79
},
"_enabled": true,
"horizontal": false,
......@@ -7236,14 +4713,14 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 144
"__id__": 92
},
"content": {
"__id__": 144
"__id__": 92
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": {
"__id__": 142
"__id__": 90
},
"_id": "e7PhpkxR9Do4mqDRlkvZLi"
},
......@@ -7252,7 +4729,7 @@
"_name": "content",
"_objFlags": 512,
"_parent": {
"__id__": 145
"__id__": 93
},
"_children": [],
"_active": true,
......@@ -7310,17 +4787,17 @@
"_name": "view",
"_objFlags": 512,
"_parent": {
"__id__": 131
"__id__": 79
},
"_children": [
{
"__id__": 144
"__id__": 92
}
],
"_active": true,
"_components": [
{
"__id__": 146
"__id__": 94
}
],
"_prefab": null,
......@@ -7376,7 +4853,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -7396,7 +4873,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
"__id__": 87
},
"_enabled": true,
"alignMode": 0,
......@@ -7423,7 +4900,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
"__id__": 87
},
"_enabled": true,
"_materials": [
......@@ -7455,7 +4932,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
"__id__": 79
},
"_enabled": true,
"_materials": [
......
......@@ -13,7 +13,7 @@ import {
asyncPlayDragonBoneAnimation,
asyncPlayEffectByUrl,
RandomInt,
http,
httpPost,
dateFormat,
formatSeconds,
jelly
......@@ -67,11 +67,10 @@ cc.Class({
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
courseid: null,
ctor() {
this._imageResList = [];
this._audioResList = [];
this.courseid = '111444';
},
start() {
......@@ -86,19 +85,11 @@ cc.Class({
},
getData(func) {
http('GET', 'http://staging-teach.ireadabc.com/api/courseware/v1/getdata?courseid='+this.courseid, {}).then((resStr) => {
const res = JSON.parse(resStr)
console.log('res: ', res);
console.log('data: ', JSON.parse(res.data));
func(JSON.parse(res.data));
});
// if (window && window.courseware) {
// window.courseware.getData(func, 'Z_05_nxuan1');
// } else {
// func(defaultData);
// }
if (window && window.courseware) {
window.courseware.getData(func, 'Z_05_nxuan1');
} else {
func(defaultData);
}
},
_imageResList: null,
......@@ -123,20 +114,20 @@ cc.Class({
this.hideAirClassLoading();
}
// bgNode
// monkeyUpperNode
// letterPageUINode
// cloudPrefab
// starAnimePrefab
// starPreFab
// sharkPreFab
// arrowPrefab
const letterList = 'abcdefghijklmnopqrstuvwxyz'.split('');
for (let i = 0; i < letterList.length; i++) {
const letter = letterList[i];
this[`letter${letter.toUpperCase()}Prefab`] = await this.loadAssetSync({ path: `prefabs/letter_big/prefab_big_${letter.toLowerCase()}` }, cc.Prefab);
this[`letter${letter.toLowerCase()}Prefab`] = await this.loadAssetSync({ path: `prefabs/letter_small/prefab_small_${letter.toLowerCase()}` }, cc.Prefab);
const letterPicSpriteFrame = await this.loadAssetSync({ path: `letterPic/bg_${letter.toLowerCase()}` }, cc.SpriteFrame);
var letterPicNode = new cc.Node("New Sprite");
letterPicNode.parent = cc.find('Canvas/LetterPicturePage/LetterPicture');
letterPicNode.name = `bg_${letter.toLowerCase()}`;
letterPicNode.active = false;
var sprite = letterPicNode.addComponent(cc.Sprite);
sprite.spriteFrame = letterPicSpriteFrame;
}
},
......@@ -235,10 +226,6 @@ cc.Class({
},
onLoadFinish() {
this.initScrollView();
this.getUserInfo();
this.initListeners();
this._status = {
......@@ -248,6 +235,10 @@ cc.Class({
}
this.updateLetter();
this.initScrollView();
this.getUserInfo();
},
......@@ -964,14 +955,10 @@ cc.Class({
finishLabel: null,
startTime: null,
rankLabel: null,
rankData: null,
initScrollView() {
this.rankData = [];
this.receiveData(this.courseid, (rankData) => {
this.rankData = rankData;
});
const rankData = this.receiveData('1');
console.log('rankData: ', rankData);
this.svItemArr = [];
this.topH = 60;
this.rankLineH = 60;
......@@ -1038,7 +1025,7 @@ cc.Class({
setScrollView() {
const rankData = this.rankData;
const rankData = this.receiveData('1');
console.log('rankData: ', rankData);
for (let i = 0; i < rankData.length; i++) {
this.addScrollViewItem(rankData[i], i + 1);
......@@ -1100,7 +1087,7 @@ cc.Class({
date: curTime
}
const rankData = this.rankData;
const rankData = this.receiveData('1');
const isExist = rankData.some((item, i) => {
if (item.id == newData.id) {
if (item.score > newData.score) {
......@@ -1118,43 +1105,28 @@ cc.Class({
return a.score - b.score;
})
// const newRankData = []
// for( let i = 0; i < rankData.length; i ++) {
// if (rankData[i].score) {
// newRankData.push(rankData[i]);
// }
// }
const newRankData = []
for (let i = 0; i < rankData.length; i++) {
if (rankData[i].score) {
newRankData.push(rankData[i]);
}
}
this.sendData(this.courseid, rankData);
this.sendData('1', newRankData);
this.setScrollView();
cc.find('Canvas/scrollview').active = true;
},
sendData(id, data) {
// localStorage.setItem(id, JSON.stringify(data));
http('GET', 'http://staging-teach.ireadabc.com/api/dashboard/v1/studyinfo?courseid='+this.courseid, data).then((resStr) => {
const res = JSON.parse(resStr)
console.log('res: ', res);
});
localStorage.setItem(id, JSON.stringify(data));
},
receiveData(id, cb) {
http('GET', 'http://staging-teach.ireadabc.com/api/dashboard/v1/studyinfo?courseid='+this.courseid, {}).then((resStr) => {
const res = JSON.parse(resStr)
console.log('res: ', res);
});
receiveData(id) {
let strData = localStorage.getItem(id);
if (!strData) {
strData = '[]'
}
if (cb) {
cb(JSON.parse(strData));
}
return JSON.parse(strData);
},
getLabel() {
const node = new cc.Node();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment