Commit 37c22dc6 authored by 李维's avatar 李维

添加返回按钮

parent a8216324
...@@ -17,16 +17,16 @@ ...@@ -17,16 +17,16 @@
"__id__": 2 "__id__": 2
}, },
{ {
"__id__": 164 "__id__": 170
}, },
{ {
"__id__": 177 "__id__": 183
}, },
{ {
"__id__": 38 "__id__": 38
}, },
{ {
"__id__": 183 "__id__": 189
} }
], ],
"_active": false, "_active": false,
...@@ -118,18 +118,21 @@ ...@@ -118,18 +118,21 @@
}, },
{ {
"__id__": 157 "__id__": 157
},
{
"__id__": 161
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 161 "__id__": 167
}, },
{ {
"__id__": 162 "__id__": 168
}, },
{ {
"__id__": 163 "__id__": 169
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2726,7 +2729,7 @@ ...@@ -2726,7 +2729,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2824,7 +2827,7 @@ ...@@ -2824,7 +2827,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3012,7 +3015,7 @@ ...@@ -3012,7 +3015,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 431, "width": 431,
"height": 185 "height": 183
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3110,7 +3113,7 @@ ...@@ -3110,7 +3113,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 431, "width": 431,
"height": 185 "height": 183
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3442,7 +3445,7 @@ ...@@ -3442,7 +3445,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 431, "width": 431,
"height": 185 "height": 183
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3536,7 +3539,7 @@ ...@@ -3536,7 +3539,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3630,7 +3633,7 @@ ...@@ -3630,7 +3633,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 431, "width": 431,
"height": 185 "height": 183
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3724,7 +3727,7 @@ ...@@ -3724,7 +3727,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3818,7 +3821,7 @@ ...@@ -3818,7 +3821,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 221
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3912,7 +3915,7 @@ ...@@ -3912,7 +3915,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 431, "width": 431,
"height": 185 "height": 183
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4006,7 +4009,7 @@ ...@@ -4006,7 +4009,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 221
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4100,7 +4103,7 @@ ...@@ -4100,7 +4103,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 431, "width": 431,
"height": 185 "height": 183
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -7609,6 +7612,228 @@ ...@@ -7609,6 +7612,228 @@
"_originalHeight": 0, "_originalHeight": 0,
"_id": "5agG1+bapM1ISvxSwINAiV" "_id": "5agG1+bapM1ISvxSwINAiV"
}, },
{
"__type__": "cc.Node",
"_name": "btn_return",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 162
},
{
"__id__": 163
},
{
"__id__": 165
},
{
"__id__": 166
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 139,
"height": 97
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-520.5,
261.5,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "58mrKmd0BLgYGc8JQRM9Uf"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d25ca776-b422-4ac6-bd30-47cd559446d8"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6fv2eAQ25KLrxUuFyzr7oU"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.1,
"clickEvents": [
{
"__id__": 164
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_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": "1f5GduUa5MFa+AcQMRCA/G"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 161
},
"component": "",
"_componentId": "03cf1AAJ8tEP7sVAS7izhme",
"handler": "handleClickBack",
"customEventData": ""
},
{
"__type__": "03cf1AAJ8tEP7sVAS7izhme",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"_id": "41JplMJGxMJZrhyebc6OqI"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 50,
"_right": 0,
"_top": 50,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "fcPjR9v5tOaptNw3lCIlKZ"
},
{ {
"__type__": "cc.Canvas", "__type__": "cc.Canvas",
"_name": "", "_name": "",
...@@ -7672,22 +7897,22 @@ ...@@ -7672,22 +7897,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 165 "__id__": 171
}, },
{ {
"__id__": 167 "__id__": 173
}, },
{ {
"__id__": 169 "__id__": 175
}, },
{ {
"__id__": 171 "__id__": 177
}, },
{ {
"__id__": 173 "__id__": 179
}, },
{ {
"__id__": 175 "__id__": 181
} }
], ],
"_active": true, "_active": true,
...@@ -7745,13 +7970,13 @@ ...@@ -7745,13 +7970,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 164 "__id__": 170
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 166 "__id__": 172
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7807,7 +8032,7 @@ ...@@ -7807,7 +8032,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 165 "__id__": 171
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7839,13 +8064,13 @@ ...@@ -7839,13 +8064,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 164 "__id__": 170
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 168 "__id__": 174
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7901,7 +8126,7 @@ ...@@ -7901,7 +8126,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 167 "__id__": 173
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7933,13 +8158,13 @@ ...@@ -7933,13 +8158,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 164 "__id__": 170
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 170 "__id__": 176
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7995,7 +8220,7 @@ ...@@ -7995,7 +8220,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 169 "__id__": 175
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8027,13 +8252,13 @@ ...@@ -8027,13 +8252,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 164 "__id__": 170
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 172 "__id__": 178
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8089,7 +8314,7 @@ ...@@ -8089,7 +8314,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 171 "__id__": 177
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8121,13 +8346,13 @@ ...@@ -8121,13 +8346,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 164 "__id__": 170
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 174 "__id__": 180
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8183,7 +8408,7 @@ ...@@ -8183,7 +8408,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 173 "__id__": 179
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8215,13 +8440,13 @@ ...@@ -8215,13 +8440,13 @@
"_name": "bg_sahua", "_name": "bg_sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 164 "__id__": 170
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 176 "__id__": 182
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8277,7 +8502,7 @@ ...@@ -8277,7 +8502,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 175 "__id__": 181
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8313,13 +8538,13 @@ ...@@ -8313,13 +8538,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 178 "__id__": 184
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 182 "__id__": 188
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8375,17 +8600,17 @@ ...@@ -8375,17 +8600,17 @@
"_name": "Star", "_name": "Star",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 177 "__id__": 183
}, },
"_children": [ "_children": [
{ {
"__id__": 179 "__id__": 185
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 181 "__id__": 187
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8441,13 +8666,13 @@ ...@@ -8441,13 +8666,13 @@
"_name": "StarBig", "_name": "StarBig",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 178 "__id__": 184
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 180 "__id__": 186
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8503,7 +8728,7 @@ ...@@ -8503,7 +8728,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 179 "__id__": 185
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -8531,7 +8756,7 @@ ...@@ -8531,7 +8756,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 178 "__id__": 184
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8563,7 +8788,7 @@ ...@@ -8563,7 +8788,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 177 "__id__": 183
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8599,22 +8824,22 @@ ...@@ -8599,22 +8824,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 184 "__id__": 190
}, },
{ {
"__id__": 186 "__id__": 192
}, },
{ {
"__id__": 190 "__id__": 196
}, },
{ {
"__id__": 192 "__id__": 198
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 197 "__id__": 203
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8670,13 +8895,13 @@ ...@@ -8670,13 +8895,13 @@
"_name": "bg_picture1-finish", "_name": "bg_picture1-finish",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 183 "__id__": 189
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 185 "__id__": 191
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8691,7 +8916,7 @@ ...@@ -8691,7 +8916,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -8732,7 +8957,7 @@ ...@@ -8732,7 +8957,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 184 "__id__": 190
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8764,17 +8989,17 @@ ...@@ -8764,17 +8989,17 @@
"_name": "bg_picture1", "_name": "bg_picture1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 183 "__id__": 189
}, },
"_children": [ "_children": [
{ {
"__id__": 187 "__id__": 193
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 189 "__id__": 195
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8789,7 +9014,7 @@ ...@@ -8789,7 +9014,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 366, "width": 366,
"height": 223 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -8830,13 +9055,13 @@ ...@@ -8830,13 +9055,13 @@
"_name": "pic", "_name": "pic",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 186 "__id__": 192
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 188 "__id__": 194
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8892,7 +9117,7 @@ ...@@ -8892,7 +9117,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 187 "__id__": 193
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8924,7 +9149,7 @@ ...@@ -8924,7 +9149,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 186 "__id__": 192
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8956,13 +9181,13 @@ ...@@ -8956,13 +9181,13 @@
"_name": "bg_word1-finish", "_name": "bg_word1-finish",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 183 "__id__": 189
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 191 "__id__": 197
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9018,7 +9243,7 @@ ...@@ -9018,7 +9243,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 190 "__id__": 196
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -9050,17 +9275,17 @@ ...@@ -9050,17 +9275,17 @@
"_name": "bg_word1", "_name": "bg_word1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 183 "__id__": 189
}, },
"_children": [ "_children": [
{ {
"__id__": 193 "__id__": 199
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 196 "__id__": 202
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9116,16 +9341,16 @@ ...@@ -9116,16 +9341,16 @@
"_name": "New Label", "_name": "New Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 192 "__id__": 198
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 194 "__id__": 200
}, },
{ {
"__id__": 195 "__id__": 201
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9181,7 +9406,7 @@ ...@@ -9181,7 +9406,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 193 "__id__": 199
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -9216,7 +9441,7 @@ ...@@ -9216,7 +9441,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 193 "__id__": 199
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -9243,7 +9468,7 @@ ...@@ -9243,7 +9468,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 192 "__id__": 198
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -9275,26 +9500,26 @@ ...@@ -9275,26 +9500,26 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 183 "__id__": 189
}, },
"_enabled": true, "_enabled": true,
"pic_node": { "pic_node": {
"__id__": 186 "__id__": 192
}, },
"pic_finish": { "pic_finish": {
"__id__": 184 "__id__": 190
}, },
"pic": { "pic": {
"__id__": 188 "__id__": 194
}, },
"word_node": { "word_node": {
"__id__": 192 "__id__": 198
}, },
"word_finish": { "word_finish": {
"__id__": 190 "__id__": 196
}, },
"word": { "word": {
"__id__": 194 "__id__": 200
}, },
"_id": "8dsxiyZ1dGt6uZJDUodj+3" "_id": "8dsxiyZ1dGt6uZJDUodj+3"
} }
......
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const {ccclass, property} = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
// LIFE-CYCLE CALLBACKS:
// onLoad () {}
start () {
}
handleClickBack() {
const middleLayer = global["middleLayer"];
if (middleLayer) {
// 有些模板需要在返回时上报数据,直接把数据作为参数传入就可以了
middleLayer.exitGame({});
} else {
console.log("==触发返回事件==");
}
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "03cf1000-27cb-443f-bb15-012ee2ce199e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0b82c686-0772-42d2-94ad-d3485f249f88",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 139,
"height": 97,
"platformSettings": {},
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "d25ca776-b422-4ac6-bd30-47cd559446d8",
"rawTextureUuid": "0b82c686-0772-42d2-94ad-d3485f249f88",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 139,
"height": 97,
"rawWidth": 139,
"rawHeight": 97,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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