refactor(uiPrefab): 调整任务和英雄顶部UI的布局与组件配置

统一修改mission.prefab和top.prefab的节点激活状态、位置、尺寸,替换旧的精灵/文本组件为正确配置,清理冗余节点和组件,优化UI显示效果
This commit is contained in:
panFD
2026-07-20 22:26:28 +08:00
parent 76085c3ecd
commit cff7b4703f
3 changed files with 2311 additions and 2984 deletions

View File

@@ -7106,7 +7106,7 @@
"__id__": 387
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 407
@@ -7180,7 +7180,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -226,
"x": -220,
"y": 0,
"z": 0
},
@@ -7274,8 +7274,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 190,
"height": 256
"width": 164,
"height": 220
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7538,8 +7538,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 196,
"height": 266
"width": 170,
"height": 230
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7731,8 +7731,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 190,
"height": 256
"width": 164,
"height": 220
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7995,8 +7995,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 196,
"height": 266
"width": 170,
"height": 230
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -8094,7 +8094,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 226,
"x": 220,
"y": 0,
"z": 0
},
@@ -8188,8 +8188,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 190,
"height": 256
"width": 164,
"height": 220
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -8452,8 +8452,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 196,
"height": 266
"width": 170,
"height": 230
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -8992,7 +8992,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 648,
"width": 570,
"height": 300
},
"_anchorPoint": {
@@ -9020,8 +9020,8 @@
},
"_alignFlags": 42,
"_target": null,
"_left": 36,
"_right": 36,
"_left": 75,
"_right": 75,
"_top": -391.513,
"_bottom": 591.5129999999999,
"_horizontalCenter": 0,
@@ -9050,7 +9050,7 @@
"node": {
"__id__": 326
},
"_enabled": true,
"_enabled": false,
"__prefab": {
"__id__": 412
},