代码结构整理

This commit is contained in:
2025-08-11 16:08:59 +08:00
parent ab4d0093d9
commit dad0f47974
81 changed files with 2408 additions and 1179 deletions
+222 -222
View File
@@ -22,10 +22,10 @@
"__id__": 2
},
{
"__id__": 76
"__id__": 80
},
{
"__id__": 108
"__id__": 112
},
{
"__id__": 211
@@ -381,7 +381,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -535,
"x": -533.5,
"y": -170,
"z": 0
},
@@ -549,7 +549,7 @@
"__id__": 1
},
"component": "",
"_componentId": "21603yJg0BO95DCq8gffZFc",
"_componentId": "dec59XlX69L6qBAxHhL4vQ8",
"handler": "returnBtn",
"customEventData": ""
},
@@ -833,7 +833,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 465,
"x": 463.5,
"y": -80,
"z": 0
},
@@ -1205,7 +1205,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 467.1,
"x": 465.6,
"y": -77.9,
"z": 0
},
@@ -1368,7 +1368,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1170,
"width": 1167,
"height": 400
},
"_anchorPoint": {
@@ -1633,10 +1633,10 @@
"__id__": 73
},
{
"__id__": 139
"__id__": 75
},
{
"__id__": 141
"__id__": 77
}
],
"_prefab": {
@@ -1685,7 +1685,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1170,
"width": 1167,
"height": 2032
},
"_anchorPoint": {
@@ -1736,7 +1736,7 @@
"fileId": "c0g4T+74hDM55GL9w2mFrk"
},
{
"__type__": "3f083uxM8tOh5OpfBIPOqDm",
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -1747,38 +1747,106 @@
"__prefab": {
"__id__": 74
},
"_type": 0,
"_inverted": false,
"_segments": 64,
"_alphaThreshold": 0.1,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3csoWqseVD4Y/nXGfZnbcE"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 68
},
"_enabled": true,
"__prefab": {
"__id__": 76
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineWidth": 1,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 0,
"_fillColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 0
},
"_miterLimit": 10,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8csrjLXqpG35J80yvHM5I/"
},
{
"__type__": "8abe1ncXvJP8rwnbJLnufMR",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 68
},
"_enabled": true,
"__prefab": {
"__id__": 78
},
"lBubble": {
"__id__": 75
"__id__": 79
},
"rBubble": {
"__id__": 107
"__id__": 111
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "90rBad+H9LLKpQtxsJQ0HG"
"fileId": "0eCoEonSlIba9mQkZ3vqh7"
},
{
"__type__": "174d8WN3QRCg7wgPa7/k8UY",
"__type__": "f58198wb7hDW4g+FIOov5qS",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 76
"__id__": 80
},
"_enabled": true,
"__prefab": {
"__id__": 106
"__id__": 110
},
"bg": {
"__id__": 86
"__id__": 90
},
"content": {
"__id__": 96
"__id__": 100
},
"contentT": {
"__id__": 94
"__id__": 98
},
"_id": ""
},
@@ -1792,33 +1860,33 @@
},
"_children": [
{
"__id__": 77
"__id__": 81
},
{
"__id__": 85
"__id__": 89
},
{
"__id__": 93
"__id__": 97
}
],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 105
},
{
"__id__": 75
"__id__": 107
},
{
"__id__": 103
"__id__": 79
}
],
"_prefab": {
"__id__": 105
"__id__": 109
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -535,
"x": -533.5,
"y": -370.22900000000004,
"z": 0
},
@@ -1851,23 +1919,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 76
"__id__": 80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
},
{
"__id__": 80
},
{
"__id__": 82
},
{
"__id__": 84
},
{
"__id__": 86
}
],
"_prefab": {
"__id__": 84
"__id__": 88
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1904,11 +1972,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 77
"__id__": 81
},
"_enabled": true,
"__prefab": {
"__id__": 79
"__id__": 83
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1932,11 +2000,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 77
"__id__": 81
},
"_enabled": true,
"__prefab": {
"__id__": 81
"__id__": 85
},
"_alignFlags": 12,
"_target": null,
@@ -1968,11 +2036,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 77
"__id__": 81
},
"_enabled": true,
"__prefab": {
"__id__": 83
"__id__": 87
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2026,23 +2094,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 76
"__id__": 80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 86
},
{
"__id__": 88
},
{
"__id__": 90
},
{
"__id__": 92
},
{
"__id__": 94
}
],
"_prefab": {
"__id__": 92
"__id__": 96
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2079,11 +2147,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 85
"__id__": 89
},
"_enabled": true,
"__prefab": {
"__id__": 87
"__id__": 91
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2107,11 +2175,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 85
"__id__": 89
},
"_enabled": true,
"__prefab": {
"__id__": 89
"__id__": 93
},
"_alignFlags": 12,
"_target": null,
@@ -2143,11 +2211,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 85
"__id__": 89
},
"_enabled": true,
"__prefab": {
"__id__": 91
"__id__": 95
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2201,23 +2269,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 76
"__id__": 80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
},
{
"__id__": 96
},
{
"__id__": 98
},
{
"__id__": 100
},
{
"__id__": 102
}
],
"_prefab": {
"__id__": 100
"__id__": 104
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2254,11 +2322,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 93
"__id__": 97
},
"_enabled": true,
"__prefab": {
"__id__": 95
"__id__": 99
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2282,11 +2350,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 93
"__id__": 97
},
"_enabled": true,
"__prefab": {
"__id__": 97
"__id__": 101
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2350,11 +2418,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 93
"__id__": 97
},
"_enabled": true,
"__prefab": {
"__id__": 99
"__id__": 103
},
"_alignFlags": 12,
"_target": null,
@@ -2399,11 +2467,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 76
"__id__": 80
},
"_enabled": true,
"__prefab": {
"__id__": 102
"__id__": 106
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2427,11 +2495,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 76
"__id__": 80
},
"_enabled": true,
"__prefab": {
"__id__": 104
"__id__": 108
},
"_alignFlags": 8,
"_target": null,
@@ -2472,28 +2540,28 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c1ieHdrcBDMZ1l4fZs9wyT"
"fileId": "1aK7QgBcRCnLd2ctEbu6JV"
},
{
"__type__": "174d8WN3QRCg7wgPa7/k8UY",
"__type__": "f58198wb7hDW4g+FIOov5qS",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 108
"__id__": 112
},
"_enabled": true,
"__prefab": {
"__id__": 138
"__id__": 142
},
"bg": {
"__id__": 118
"__id__": 122
},
"content": {
"__id__": 128
"__id__": 132
},
"contentT": {
"__id__": 126
"__id__": 130
},
"_id": ""
},
@@ -2507,33 +2575,33 @@
},
"_children": [
{
"__id__": 109
"__id__": 113
},
{
"__id__": 117
"__id__": 121
},
{
"__id__": 125
"__id__": 129
}
],
"_active": true,
"_components": [
{
"__id__": 133
"__id__": 137
},
{
"__id__": 107
"__id__": 139
},
{
"__id__": 135
"__id__": 111
}
],
"_prefab": {
"__id__": 137
"__id__": 141
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 535,
"x": 533.5,
"y": -568.8,
"z": 0
},
@@ -2566,23 +2634,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 108
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 110
},
{
"__id__": 112
},
{
"__id__": 114
},
{
"__id__": 116
},
{
"__id__": 118
}
],
"_prefab": {
"__id__": 116
"__id__": 120
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2619,11 +2687,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 109
"__id__": 113
},
"_enabled": true,
"__prefab": {
"__id__": 111
"__id__": 115
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2647,11 +2715,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 109
"__id__": 113
},
"_enabled": true,
"__prefab": {
"__id__": 113
"__id__": 117
},
"_alignFlags": 36,
"_target": null,
@@ -2683,11 +2751,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 109
"__id__": 113
},
"_enabled": true,
"__prefab": {
"__id__": 115
"__id__": 119
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2741,23 +2809,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 108
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 118
},
{
"__id__": 120
},
{
"__id__": 122
},
{
"__id__": 124
},
{
"__id__": 126
}
],
"_prefab": {
"__id__": 124
"__id__": 128
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2794,11 +2862,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 117
"__id__": 121
},
"_enabled": true,
"__prefab": {
"__id__": 119
"__id__": 123
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2822,11 +2890,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 117
"__id__": 121
},
"_enabled": true,
"__prefab": {
"__id__": 121
"__id__": 125
},
"_alignFlags": 36,
"_target": null,
@@ -2858,11 +2926,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 117
"__id__": 121
},
"_enabled": true,
"__prefab": {
"__id__": 123
"__id__": 127
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2916,23 +2984,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 108
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 126
},
{
"__id__": 128
},
{
"__id__": 130
},
{
"__id__": 132
},
{
"__id__": 134
}
],
"_prefab": {
"__id__": 132
"__id__": 136
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2969,11 +3037,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 125
"__id__": 129
},
"_enabled": true,
"__prefab": {
"__id__": 127
"__id__": 131
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2997,11 +3065,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 125
"__id__": 129
},
"_enabled": true,
"__prefab": {
"__id__": 129
"__id__": 133
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3065,11 +3133,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 125
"__id__": 129
},
"_enabled": true,
"__prefab": {
"__id__": 131
"__id__": 135
},
"_alignFlags": 36,
"_target": null,
@@ -3114,11 +3182,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 108
"__id__": 112
},
"_enabled": true,
"__prefab": {
"__id__": 134
"__id__": 138
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3142,11 +3210,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 108
"__id__": 112
},
"_enabled": true,
"__prefab": {
"__id__": 136
"__id__": 140
},
"_alignFlags": 32,
"_target": null,
@@ -3187,75 +3255,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "acYlO8MN9KJ6rhyQLm8evP"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 68
},
"_enabled": true,
"__prefab": {
"__id__": 140
},
"_type": 0,
"_inverted": false,
"_segments": 64,
"_alphaThreshold": 0.1,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3csoWqseVD4Y/nXGfZnbcE"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 68
},
"_enabled": true,
"__prefab": {
"__id__": 142
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineWidth": 1,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 0,
"_fillColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 0
},
"_miterLimit": 10,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8csrjLXqpG35J80yvHM5I/"
"fileId": "e2nip1AtpJqbPa2zazMPfC"
},
{
"__type__": "cc.PrefabInfo",
@@ -3334,7 +3334,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1170,
"width": 1167,
"height": 2032
},
"_anchorPoint": {
@@ -3543,7 +3543,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -506.95,
"x": -505.45,
"y": 47,
"z": 0
},
@@ -3584,7 +3584,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1015.9,
"width": 1012.9,
"height": 94
},
"_anchorPoint": {
@@ -3702,7 +3702,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -506.95,
"x": -505.45,
"y": 47,
"z": 0
},
@@ -3743,7 +3743,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1015.9,
"width": 1012.9,
"height": 94
},
"_anchorPoint": {
@@ -3852,7 +3852,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1017.9,
"width": 1014.9,
"height": 94
},
"_anchorPoint": {
@@ -3959,7 +3959,7 @@
"__id__": 1
},
"component": "",
"_componentId": "21603yJg0BO95DCq8gffZFc",
"_componentId": "dec59XlX69L6qBAxHhL4vQ8",
"handler": "OnClickSend",
"customEventData": ""
},
@@ -4381,7 +4381,7 @@
"__id__": 1
},
"component": "",
"_componentId": "21603yJg0BO95DCq8gffZFc",
"_componentId": "dec59XlX69L6qBAxHhL4vQ8",
"handler": "OnClickSend",
"customEventData": ""
},
@@ -4412,7 +4412,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1170,
"width": 1167,
"height": 200
},
"_anchorPoint": {
@@ -4587,8 +4587,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 448,
"height": 576
"width": 222.5,
"height": 1016
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4694,7 +4694,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1170,
"width": 1167,
"height": 2532
},
"_anchorPoint": {
@@ -5424,7 +5424,7 @@
"fileId": "50kDioEh1FYp3JOb54KHrO"
},
{
"__type__": "c0cd76jxSFGi7ScbAQULjhd",
"__type__": "fdde8U7CO5FBo5/3JFI1TBW",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -5442,7 +5442,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "06XbOqLXdOIZX3zXvn8M/+"
"fileId": "64r8U0iphDlYf85yqFQTDW"
},
{
"__type__": "cc.PrefabInfo",
@@ -5471,7 +5471,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1170,
"width": 1167,
"height": 2532
},
"_anchorPoint": {
@@ -5522,7 +5522,7 @@
"fileId": "1ffj7HwTBBsLYftB8hBfSb"
},
{
"__type__": "21603yJg0BO95DCq8gffZFc",
"__type__": "dec59XlX69L6qBAxHhL4vQ8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -5544,7 +5544,7 @@
"__id__": 33
},
"layout": {
"__id__": 73
"__id__": 77
},
"popUpImage": {
"__id__": 238
@@ -5553,7 +5553,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3cWpHYOmlPY5WVgEBLTBYd"
"fileId": "6bb54DCjtCNZH0taEqvGyQ"
},
{
"__type__": "cc.PrefabInfo",