Commit 3a7691d9 authored by liujiangnan's avatar liujiangnan

feat

parent 9e54772c
...@@ -311,28 +311,28 @@ ...@@ -311,28 +311,28 @@
"__id__": 28 "__id__": 28
}, },
{ {
"__id__": 200 "__id__": 208
}, },
{ {
"__id__": 235 "__id__": 243
}, },
{ {
"__id__": 237 "__id__": 245
}, },
{ {
"__id__": 247 "__id__": 255
}, },
{ {
"__id__": 249 "__id__": 257
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 252 "__id__": 260
}, },
{ {
"__id__": 253 "__id__": 261
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1421,12 +1421,15 @@ ...@@ -1421,12 +1421,15 @@
}, },
{ {
"__id__": 191 "__id__": 191
},
{
"__id__": 199
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 199 "__id__": 207
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9923,61 +9926,25 @@ ...@@ -9923,61 +9926,25 @@
"_originalHeight": 0, "_originalHeight": 0,
"_id": "58Eh3y+yFI/ZQbA/PGbY7+" "_id": "58Eh3y+yFI/ZQbA/PGbY7+"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "af4MDI5U1A+YsovPQVA/k/"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ConsoleNode", "_name": "BtnError",
"_objFlags": 512, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 8 "__id__": 28
}, },
"_children": [ "_children": [
{ {
"__id__": 201 "__id__": 200
},
{
"__id__": 207
},
{
"__id__": 210
},
{
"__id__": 218
},
{
"__id__": 226
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 234 "__id__": 205
},
{
"__id__": 206
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9991,20 +9958,20 @@ ...@@ -9991,20 +9958,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1280, "width": 120,
"height": 220 "height": 40
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 591.6,
-360, 78.858,
0, 0,
0, 0,
0, 0,
...@@ -10026,27 +9993,27 @@ ...@@ -10026,27 +9993,27 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "91+HZOZlJKdr+t1XzkQEKe" "_id": "11XahwWfZLuadYCTV87f7j"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "content", "_name": "Background",
"_objFlags": 0, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 200 "__id__": 199
}, },
"_children": [ "_children": [
{ {
"__id__": 202 "__id__": 201
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 205 "__id__": 203
}, },
{ {
"__id__": 206 "__id__": 204
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10060,8 +10027,8 @@ ...@@ -10060,8 +10027,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1280, "width": 120,
"height": 18.9 "height": 40
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -10073,7 +10040,7 @@ ...@@ -10073,7 +10040,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
15.75, 0,
0, 0,
0, 0,
0, 0,
...@@ -10095,49 +10062,46 @@ ...@@ -10095,49 +10062,46 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "24BhaxEGlK97fUByzahNNA" "_id": "d2Mt/Cg5JDGKS9RuDJQL2e"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "label", "_name": "Label",
"_objFlags": 0, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 201 "__id__": 200
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 203 "__id__": 202
},
{
"__id__": 204
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 0,
"g": 255, "g": 0,
"b": 255, "b": 0,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1200, "width": 120,
"height": 18.9 "height": 40
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-627.765, 0,
0, 0,
0, 0,
0, 0,
...@@ -10160,14 +10124,14 @@ ...@@ -10160,14 +10124,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a8JlHXNoVMIYa8iO8V9pJv" "_id": "913UV5MqBHlJHC5D4t4zHe"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 202 "__id__": 201
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -10177,11 +10141,11 @@ ...@@ -10177,11 +10141,11 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "Label", "_string": "!#Error#!",
"_N$string": "Label", "_N$string": "!#Error#!",
"_fontSize": 15, "_fontSize": 20,
"_lineHeight": 15, "_lineHeight": 40,
"_enableWrapText": true, "_enableWrapText": false,
"_N$file": null, "_N$file": null,
"_isSystemFontUsed": true, "_isSystemFontUsed": true,
"_spacingX": 0, "_spacingX": 0,
...@@ -10191,80 +10155,53 @@ ...@@ -10191,80 +10155,53 @@
"_N$horizontalAlign": 1, "_N$horizontalAlign": 1,
"_N$verticalAlign": 1, "_N$verticalAlign": 1,
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 3, "_N$overflow": 1,
"_N$cacheMode": 0, "_N$cacheMode": 1,
"_id": "7aWnUU64NC5YnWWToB9L2S" "_id": "d7p0bQE0ZMF7Z6Q+yD0sra"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 202
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_left": 0,
"_right": 67.76499999999999,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1200,
"_originalHeight": 0,
"_id": "78IPqSab1KQrGbP3jz8URO"
}, },
{ {
"__type__": "cc.Layout", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 201 "__id__": 200
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_materials": [
"__type__": "cc.Size", {
"width": 1280, "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"height": 18.9 }
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
}, },
"_resize": 1, "_type": 1,
"_N$layoutType": 2, "_sizeMode": 0,
"_N$cellSize": { "_fillType": 0,
"__type__": "cc.Size", "_fillCenter": {
"width": 40, "__type__": "cc.Vec2",
"height": 40 "x": 0,
"y": 0
}, },
"_N$startAxis": 0, "_fillStart": 0,
"_N$paddingLeft": 0, "_fillRange": 0,
"_N$paddingRight": 0, "_isTrimmedMode": true,
"_N$paddingTop": 0, "_atlas": null,
"_N$paddingBottom": 0, "_id": "fdeIpesZdFHJMWGwCyYtdW"
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": true,
"_id": "a7sD/OZvVFbrIQDw6dexDk"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 201 "__id__": 200
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 0,
"_target": null, "_target": null,
"_alignFlags": 40, "_alignFlags": 45,
"_left": 0, "_left": 0,
"_right": 0, "_right": 0,
"_top": 0, "_top": 0,
...@@ -10277,39 +10214,506 @@ ...@@ -10277,39 +10214,506 @@
"_isAbsBottom": true, "_isAbsBottom": true,
"_isAbsHorizontalCenter": true, "_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true, "_isAbsVerticalCenter": true,
"_originalWidth": 300, "_originalWidth": 100,
"_originalHeight": 0, "_originalHeight": 40,
"_id": "2diCJWUqhAcJPg/A28mr9e" "_id": "26O+S+vyNIe4xgWxDJabi0"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Button",
"_name": "bg", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 200 "__id__": 199
}, },
"_children": [], "_enabled": true,
"_active": false, "_normalMaterial": null,
"_components": [ "_grayMaterial": null,
{ "duration": 0.1,
"__id__": 208 "zoomScale": 1.2,
}, "clickEvents": [],
{ "_N$interactable": true,
"__id__": 209 "_N$enableAutoGrayEffect": false,
} "_N$transition": 2,
], "transition": 2,
"_prefab": null, "_N$normalColor": {
"_opacity": 138,
"_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 81, "r": 230,
"g": 81, "g": 230,
"b": 81, "b": 230,
"a": 255 "a": 255
}, },
"_contentSize": { "_N$pressedColor": {
"__type__": "cc.Size", "__type__": "cc.Color",
"width": 1280, "r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"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": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 200
},
"_id": "d54+SwM1tKo5EvS1IAnKAp"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 199
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 14,
"_top": 261.142,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "5eWQvH4ZNBu64oyDlPIVM7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "af4MDI5U1A+YsovPQVA/k/"
},
{
"__type__": "cc.Node",
"_name": "ConsoleNode",
"_objFlags": 512,
"_parent": {
"__id__": 8
},
"_children": [
{
"__id__": 209
},
{
"__id__": 215
},
{
"__id__": 218
},
{
"__id__": 226
},
{
"__id__": 234
}
],
"_active": true,
"_components": [
{
"__id__": 242
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 220
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-360,
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": "91+HZOZlJKdr+t1XzkQEKe"
},
{
"__type__": "cc.Node",
"_name": "content",
"_objFlags": 0,
"_parent": {
"__id__": 208
},
"_children": [
{
"__id__": 210
}
],
"_active": false,
"_components": [
{
"__id__": 213
},
{
"__id__": 214
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 18.9
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
15.75,
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": "24BhaxEGlK97fUByzahNNA"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 209
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 211
},
{
"__id__": 212
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1200,
"height": 18.9
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-627.765,
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": "a8JlHXNoVMIYa8iO8V9pJv"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 210
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Label",
"_N$string": "Label",
"_fontSize": 15,
"_lineHeight": 15,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 3,
"_N$cacheMode": 0,
"_id": "7aWnUU64NC5YnWWToB9L2S"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 210
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_left": 0,
"_right": 67.76499999999999,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1200,
"_originalHeight": 0,
"_id": "78IPqSab1KQrGbP3jz8URO"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 209
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 18.9
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": true,
"_id": "a7sD/OZvVFbrIQDw6dexDk"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 209
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 40,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 300,
"_originalHeight": 0,
"_id": "2diCJWUqhAcJPg/A28mr9e"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 208
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 216
},
{
"__id__": 217
}
],
"_prefab": null,
"_opacity": 138,
"_color": {
"__type__": "cc.Color",
"r": 81,
"g": 81,
"b": 81,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 220 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -10351,7 +10755,7 @@ ...@@ -10351,7 +10755,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 207 "__id__": 215
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -10383,7 +10787,7 @@ ...@@ -10383,7 +10787,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 207 "__id__": 215
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -10410,26 +10814,26 @@ ...@@ -10410,26 +10814,26 @@
"_name": "Console", "_name": "Console",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 200 "__id__": 208
}, },
"_children": [ "_children": [
{ {
"__id__": 211 "__id__": 219
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 214 "__id__": 222
}, },
{ {
"__id__": 215 "__id__": 223
}, },
{ {
"__id__": 216 "__id__": 224
}, },
{ {
"__id__": 217 "__id__": 225
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10485,16 +10889,16 @@ ...@@ -10485,16 +10889,16 @@
"_name": "content", "_name": "content",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 210 "__id__": 218
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 212 "__id__": 220
}, },
{ {
"__id__": 213 "__id__": 221
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10550,7 +10954,7 @@ ...@@ -10550,7 +10954,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 211 "__id__": 219
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -10582,7 +10986,7 @@ ...@@ -10582,7 +10986,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 211 "__id__": 219
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -10609,7 +11013,7 @@ ...@@ -10609,7 +11013,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 210 "__id__": 218
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 2,
...@@ -10636,7 +11040,7 @@ ...@@ -10636,7 +11040,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 210 "__id__": 218
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -10656,7 +11060,7 @@ ...@@ -10656,7 +11060,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 210 "__id__": 218
}, },
"_enabled": true, "_enabled": true,
"horizontal": false, "horizontal": false,
...@@ -10668,10 +11072,10 @@ ...@@ -10668,10 +11072,10 @@
"scrollEvents": [], "scrollEvents": [],
"cancelInnerEvents": true, "cancelInnerEvents": true,
"_N$content": { "_N$content": {
"__id__": 211 "__id__": 219
}, },
"content": { "content": {
"__id__": 211 "__id__": 219
}, },
"_id": "43wBGhGBpFP7OYyNM+j0Ho" "_id": "43wBGhGBpFP7OYyNM+j0Ho"
}, },
...@@ -10680,7 +11084,7 @@ ...@@ -10680,7 +11084,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 210 "__id__": 218
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -10712,20 +11116,20 @@ ...@@ -10712,20 +11116,20 @@
"_name": "BtnClose", "_name": "BtnClose",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 200 "__id__": 208
}, },
"_children": [ "_children": [
{ {
"__id__": 219 "__id__": 227
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 224 "__id__": 232
}, },
{ {
"__id__": 225 "__id__": 233
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10781,20 +11185,20 @@ ...@@ -10781,20 +11185,20 @@
"_name": "Background", "_name": "Background",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 218 "__id__": 226
}, },
"_children": [ "_children": [
{ {
"__id__": 220 "__id__": 228
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 222 "__id__": 230
}, },
{ {
"__id__": 223 "__id__": 231
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10850,13 +11254,13 @@ ...@@ -10850,13 +11254,13 @@
"_name": "Label", "_name": "Label",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 219 "__id__": 227
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 221 "__id__": 229
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10912,7 +11316,7 @@ ...@@ -10912,7 +11316,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 220 "__id__": 228
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -10945,7 +11349,7 @@ ...@@ -10945,7 +11349,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 219 "__id__": 227
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -10977,7 +11381,7 @@ ...@@ -10977,7 +11381,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 219 "__id__": 227
}, },
"_enabled": true, "_enabled": true,
"alignMode": 0, "alignMode": 0,
...@@ -11004,7 +11408,7 @@ ...@@ -11004,7 +11408,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 218 "__id__": 226
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -11077,7 +11481,7 @@ ...@@ -11077,7 +11481,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
}, },
"_N$target": { "_N$target": {
"__id__": 219 "__id__": 227
}, },
"_id": "54SC9WcmBAZ6cTznyI0o+3" "_id": "54SC9WcmBAZ6cTznyI0o+3"
}, },
...@@ -11086,7 +11490,7 @@ ...@@ -11086,7 +11490,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 218 "__id__": 226
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -11113,20 +11517,20 @@ ...@@ -11113,20 +11517,20 @@
"_name": "BtnOpen", "_name": "BtnOpen",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 200 "__id__": 208
}, },
"_children": [ "_children": [
{ {
"__id__": 227 "__id__": 235
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 232 "__id__": 240
}, },
{ {
"__id__": 233 "__id__": 241
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -11182,20 +11586,20 @@ ...@@ -11182,20 +11586,20 @@
"_name": "Background", "_name": "Background",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 226 "__id__": 234
}, },
"_children": [ "_children": [
{ {
"__id__": 228 "__id__": 236
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 230 "__id__": 238
}, },
{ {
"__id__": 231 "__id__": 239
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -11251,13 +11655,13 @@ ...@@ -11251,13 +11655,13 @@
"_name": "Label", "_name": "Label",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 227 "__id__": 235
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 229 "__id__": 237
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -11313,7 +11717,7 @@ ...@@ -11313,7 +11717,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 228 "__id__": 236
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -11346,7 +11750,7 @@ ...@@ -11346,7 +11750,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 227 "__id__": 235
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -11378,7 +11782,7 @@ ...@@ -11378,7 +11782,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 227 "__id__": 235
}, },
"_enabled": true, "_enabled": true,
"alignMode": 0, "alignMode": 0,
...@@ -11405,7 +11809,7 @@ ...@@ -11405,7 +11809,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 226 "__id__": 234
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -11478,7 +11882,7 @@ ...@@ -11478,7 +11882,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
}, },
"_N$target": { "_N$target": {
"__id__": 227 "__id__": 235
}, },
"_id": "81HoUuRyJOppi+n4Av/u0p" "_id": "81HoUuRyJOppi+n4Av/u0p"
}, },
...@@ -11487,7 +11891,7 @@ ...@@ -11487,7 +11891,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 226 "__id__": 234
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -11514,7 +11918,7 @@ ...@@ -11514,7 +11918,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 200 "__id__": 208
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -11547,7 +11951,7 @@ ...@@ -11547,7 +11951,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 236 "__id__": 244
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -11603,7 +12007,7 @@ ...@@ -11603,7 +12007,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 235 "__id__": 243
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -11639,16 +12043,16 @@ ...@@ -11639,16 +12043,16 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 238 "__id__": 246
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 245 "__id__": 253
}, },
{ {
"__id__": 246 "__id__": 254
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -11704,24 +12108,24 @@ ...@@ -11704,24 +12108,24 @@
"_name": "progress", "_name": "progress",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 237 "__id__": 245
}, },
"_children": [ "_children": [
{ {
"__id__": 239 "__id__": 247
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 242 "__id__": 250
}, },
{ {
"__id__": 243 "__id__": 251
} }
], ],
"_prefab": { "_prefab": {
"__id__": 244 "__id__": 252
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -11775,17 +12179,17 @@ ...@@ -11775,17 +12179,17 @@
"_name": "bar", "_name": "bar",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 238 "__id__": 246
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 240 "__id__": 248
} }
], ],
"_prefab": { "_prefab": {
"__id__": 241 "__id__": 249
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -11839,7 +12243,7 @@ ...@@ -11839,7 +12243,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 239 "__id__": 247
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -11869,7 +12273,7 @@ ...@@ -11869,7 +12273,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 238 "__id__": 246
}, },
"asset": { "asset": {
"__uuid__": "3d356c4d-cb23-4239-aa5f-8a913f420fa4" "__uuid__": "3d356c4d-cb23-4239-aa5f-8a913f420fa4"
...@@ -11882,7 +12286,7 @@ ...@@ -11882,7 +12286,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 238 "__id__": 246
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -11914,7 +12318,7 @@ ...@@ -11914,7 +12318,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 238 "__id__": 246
}, },
"_enabled": true, "_enabled": true,
"_id": "3eMT/DXoJNGZT/8Z3nuTUH" "_id": "3eMT/DXoJNGZT/8Z3nuTUH"
...@@ -11922,7 +12326,7 @@ ...@@ -11922,7 +12326,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 238 "__id__": 246
}, },
"asset": { "asset": {
"__uuid__": "3d356c4d-cb23-4239-aa5f-8a913f420fa4" "__uuid__": "3d356c4d-cb23-4239-aa5f-8a913f420fa4"
...@@ -11935,7 +12339,7 @@ ...@@ -11935,7 +12339,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 237 "__id__": 245
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -11967,7 +12371,7 @@ ...@@ -11967,7 +12371,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 237 "__id__": 245
}, },
"_enabled": true, "_enabled": true,
"_id": "d9Sm5lOKBAxKufJF2Q8Nr8" "_id": "d9Sm5lOKBAxKufJF2Q8Nr8"
...@@ -11983,7 +12387,7 @@ ...@@ -11983,7 +12387,7 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 248 "__id__": 256
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -12039,7 +12443,7 @@ ...@@ -12039,7 +12443,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 247 "__id__": 255
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -12077,10 +12481,10 @@ ...@@ -12077,10 +12481,10 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 250 "__id__": 258
}, },
{ {
"__id__": 251 "__id__": 259
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -12136,7 +12540,7 @@ ...@@ -12136,7 +12540,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 249 "__id__": 257
}, },
"_enabled": true, "_enabled": true,
"_id": "c8RSZKHRJO95/RfIMIkSA5" "_id": "c8RSZKHRJO95/RfIMIkSA5"
...@@ -12146,7 +12550,7 @@ ...@@ -12146,7 +12550,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 249 "__id__": 257
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
......
...@@ -697,6 +697,11 @@ export default class NewClass extends middleLayerBase { ...@@ -697,6 +697,11 @@ export default class NewClass extends middleLayerBase {
}); });
}); });
const BtnError = cc.find('middleLayer/ui/BtnError');
BtnError.on('click', () => {
this.loadOnlineBundle("test_error");
});
const btnClose = cc.find('middleLayer/ConsoleNode/BtnClose'); const btnClose = cc.find('middleLayer/ConsoleNode/BtnClose');
const btnOpen = cc.find('middleLayer/ConsoleNode/BtnOpen'); const btnOpen = cc.find('middleLayer/ConsoleNode/BtnOpen');
const consoleNode = cc.find('middleLayer/ConsoleNode/Console'); const consoleNode = cc.find('middleLayer/ConsoleNode/Console');
......
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