fix(equipBox): 修正装备弹窗显示层级和位置问题

1. 调整ibox预制体的尺寸和对齐参数适配新布局
2. 修改弹窗挂载层级,避免被其他元素遮挡
3. 修正弹窗位置计算逻辑,适配新的父节点坐标系
This commit is contained in:
pan
2026-08-06 19:51:26 +08:00
parent 0b579f695c
commit c78502c4ff
2 changed files with 23 additions and 14 deletions

View File

@@ -786,7 +786,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 2.5,
"x": 0,
"y": 0,
"z": 0
},
@@ -827,8 +827,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 715,
"height": 120
"width": 720,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -900,10 +900,10 @@
},
"_alignFlags": 45,
"_target": null,
"_left": 5,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_top": 540,
"_bottom": 540,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -1079,7 +1079,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 120
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",