chore:调整ui

This commit is contained in:
2026-07-20 15:33:32 +08:00
parent 9c8387da32
commit 269615a7fa
130 changed files with 4164 additions and 2482 deletions
+419 -169
View File
@@ -28,17 +28,17 @@
"_active": true,
"_components": [
{
"__id__": 152
"__id__": 164
},
{
"__id__": 154
"__id__": 166
},
{
"__id__": 156
"__id__": 168
}
],
"_prefab": {
"__id__": 158
"__id__": 170
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -336,35 +336,38 @@
"__id__": 93
},
{
"__id__": 109
},
{
"__id__": 117
"__id__": 115
},
{
"__id__": 123
},
{
"__id__": 131
"__id__": 129
},
{
"__id__": 139
"__id__": 137
},
{
"__id__": 145
},
{
"__id__": 151
}
],
"_active": true,
"_components": [
{
"__id__": 145
"__id__": 157
},
{
"__id__": 147
"__id__": 159
},
{
"__id__": 149
"__id__": 161
}
],
"_prefab": {
"__id__": 151
"__id__": 163
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -803,7 +806,7 @@
"__id__": 12
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 30
@@ -1011,74 +1014,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "b4FxsqXmJG16OjEkqgLm8K"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 35
},
"_enabled": true,
"__prefab": {
"__id__": 39
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Energy Station",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 100,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 4,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c9dOhtRr1BbL4ziRXAAaEv"
},
{
"__type__": "cc.Widget",
"_name": "",
@@ -1089,7 +1024,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 41
"__id__": 39
},
"_alignFlags": 17,
"_target": null,
@@ -1115,6 +1050,48 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "7foreeSgpHGYKW5//rG/gP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 35
},
"_enabled": true,
"__prefab": {
"__id__": 41
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "388gtv7vZPwIYJfNHrcaW9"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -2285,30 +2262,33 @@
"_children": [
{
"__id__": 94
},
{
"__id__": 100
}
],
"_active": true,
"_components": [
{
"__id__": 100
},
{
"__id__": 102
},
{
"__id__": 104
},
{
"__id__": 106
},
{
"__id__": 108
},
{
"__id__": 110
},
{
"__id__": 112
}
],
"_prefab": {
"__id__": 108
"__id__": 114
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -265.554,
"x": -2.225,
"y": -267.779,
"z": 0
},
"_lrot": {
@@ -2343,7 +2323,7 @@
"__id__": 93
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 95
@@ -2440,7 +2420,7 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -2470,6 +2450,142 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "ICON_AD2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 93
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
},
{
"__id__": 103
}
],
"_prefab": {
"__id__": 105
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -254.99800000000005,
"y": -0.4900000000000091,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.456,
"y": 0.456,
"z": 0.228
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 100
},
"_enabled": true,
"__prefab": {
"__id__": 102
},
"_contentSize": {
"__type__": "cc.Size",
"width": 408,
"height": 314
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fa1fUb5SRJaIAkXAHJUtgn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 100
},
"_enabled": true,
"__prefab": {
"__id__": 104
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "0e6df75d-287a-4e82-b6fc-9cbb027cdb24@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7175qvulVKrKygQmv3JV0E"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b7Yc9DG8RKUq/urDR3TTjg",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -2480,11 +2596,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 101
"__id__": 107
},
"_contentSize": {
"__type__": "cc.Size",
"width": 551,
"width": 737.9,
"height": 262
},
"_anchorPoint": {
@@ -2508,7 +2624,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 103
"__id__": 109
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2553,15 +2669,15 @@
},
"_enabled": true,
"__prefab": {
"__id__": 105
"__id__": 111
},
"_alignFlags": 17,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 569.0319999999999,
"_top": 571.257,
"_bottom": 0,
"_horizontalCenter": 0,
"_horizontalCenter": -2.225,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
@@ -2589,7 +2705,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 107
"__id__": 113
},
"clickEvents": [],
"_interactable": true,
@@ -2657,20 +2773,20 @@
"__id__": 12
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 110
"__id__": 116
},
{
"__id__": 112
"__id__": 118
},
{
"__id__": 114
"__id__": 120
}
],
"_prefab": {
"__id__": 116
"__id__": 122
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -2707,11 +2823,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 109
"__id__": 115
},
"_enabled": true,
"__prefab": {
"__id__": 111
"__id__": 117
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2735,11 +2851,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 109
"__id__": 115
},
"_enabled": true,
"__prefab": {
"__id__": 113
"__id__": 119
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2803,11 +2919,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 109
"__id__": 115
},
"_enabled": true,
"__prefab": {
"__id__": 115
"__id__": 121
},
"_alignFlags": 17,
"_target": null,
@@ -2842,8 +2958,6 @@
"__id__": 0
},
"fileId": "56XDe8wbtFlIHre2jdxPbZ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -2858,19 +2972,19 @@
"_active": true,
"_components": [
{
"__id__": 118
"__id__": 124
},
{
"__id__": 120
"__id__": 126
}
],
"_prefab": {
"__id__": 122
"__id__": 128
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -95.932,
"y": -110.559,
"x": -142.087,
"y": -2.095,
"z": 0
},
"_lrot": {
@@ -2882,9 +2996,9 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
"x": 1.35,
"y": 1.35,
"z": 2.756
},
"_mobility": 0,
"_layer": 33554432,
@@ -2902,11 +3016,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 117
"__id__": 123
},
"_enabled": true,
"__prefab": {
"__id__": 119
"__id__": 125
},
"_contentSize": {
"__type__": "cc.Size",
@@ -2930,11 +3044,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 117
"__id__": 123
},
"_enabled": true,
"__prefab": {
"__id__": 121
"__id__": 127
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -2994,22 +3108,22 @@
"_active": true,
"_components": [
{
"__id__": 124
"__id__": 130
},
{
"__id__": 126
"__id__": 132
},
{
"__id__": 128
"__id__": 134
}
],
"_prefab": {
"__id__": 130
"__id__": 136
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 22.989,
"y": -110.68799999999999,
"y": -2.2239999999999895,
"z": 0
},
"_lrot": {
@@ -3041,11 +3155,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 123
"__id__": 129
},
"_enabled": true,
"__prefab": {
"__id__": 125
"__id__": 131
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3069,11 +3183,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 123
"__id__": 129
},
"_enabled": true,
"__prefab": {
"__id__": 127
"__id__": 133
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3137,17 +3251,17 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 123
"__id__": 129
},
"_enabled": true,
"__prefab": {
"__id__": 129
"__id__": 135
},
"_alignFlags": 17,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 406.66599999999994,
"_top": 298.20199999999994,
"_bottom": 0,
"_horizontalCenter": 22.989,
"_verticalCenter": 0,
@@ -3192,22 +3306,22 @@
"_active": true,
"_components": [
{
"__id__": 132
"__id__": 138
},
{
"__id__": 134
"__id__": 140
},
{
"__id__": 136
"__id__": 142
}
],
"_prefab": {
"__id__": 138
"__id__": 144
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 103.829,
"y": -108.85299999999998,
"y": -0.3889999999999816,
"z": 0
},
"_lrot": {
@@ -3239,11 +3353,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 131
"__id__": 137
},
"_enabled": true,
"__prefab": {
"__id__": 133
"__id__": 139
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3267,11 +3381,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 131
"__id__": 137
},
"_enabled": true,
"__prefab": {
"__id__": 135
"__id__": 141
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3335,17 +3449,17 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 131
"__id__": 137
},
"_enabled": true,
"__prefab": {
"__id__": 137
"__id__": 143
},
"_alignFlags": 17,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 392.23099999999994,
"_top": 283.76699999999994,
"_bottom": 0,
"_horizontalCenter": 103.829,
"_verticalCenter": 0,
@@ -3387,17 +3501,17 @@
"__id__": 12
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 140
"__id__": 146
},
{
"__id__": 142
"__id__": 148
}
],
"_prefab": {
"__id__": 144
"__id__": 150
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3434,11 +3548,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 139
"__id__": 145
},
"_enabled": true,
"__prefab": {
"__id__": 141
"__id__": 147
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3462,11 +3576,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 139
"__id__": 145
},
"_enabled": true,
"__prefab": {
"__id__": 143
"__id__": 149
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3514,6 +3628,142 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "energy",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
},
{
"__id__": 154
}
],
"_prefab": {
"__id__": 156
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -20.024999999999977,
"y": 300.3760000000002,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.59,
"y": 0.59,
"z": 0.411
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 151
},
"_enabled": true,
"__prefab": {
"__id__": 153
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1147,
"height": 195
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "76ixLxXRpJoLTPxhKH+N2C"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 151
},
"_enabled": true,
"__prefab": {
"__id__": 155
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "261f7859-d3f7-4fd7-8bac-20d9d664c002@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "15wkuP6xFAzZwFLXNpNE/w"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "9dTUeurS5FFoMtds2p9fb3",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -3524,7 +3774,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 146
"__id__": 158
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3552,7 +3802,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 148
"__id__": 160
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3597,7 +3847,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 150
"__id__": 162
},
"startPos": {
"__type__": "cc.Vec3",
@@ -3646,7 +3896,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 153
"__id__": 165
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3674,7 +3924,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 155
"__id__": 167
},
"_alignFlags": 45,
"_target": null,
@@ -3710,10 +3960,10 @@
},
"_enabled": true,
"__prefab": {
"__id__": 157
"__id__": 169
},
"addPower": {
"__id__": 106
"__id__": 112
},
"closeBtn": {
"__id__": 24