feat(card): 添加长按放大功能并调整卡牌布局

- 在 CardComp 中实现长按触发卡牌放大,优化触摸交互逻辑
- 调整 MissionCardComp 中卡牌位置数组顺序,修复布局错位
- 修改 card.prefab 中多个 UI 元素的坐标和对齐方式,优化视觉呈现
- 移除卡牌种类标识的显示逻辑,简化卡牌 UI
This commit is contained in:
walkpan
2026-04-20 23:59:38 +08:00
parent 033fd44560
commit 0829b0bc9d
3 changed files with 135 additions and 29 deletions

View File

@@ -3044,7 +3044,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -71.448,
"y": 70,
"z": 0
},
"_lrot": {
@@ -3178,11 +3178,11 @@
"__prefab": {
"__id__": 138
},
"_alignFlags": 16,
"_alignFlags": 17,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 163.951,
"_top": 30,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -5982,8 +5982,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -70.639,
"y": 96.745,
"x": 0,
"y": -101.274,
"z": 0
},
"_lrot": {
@@ -6389,12 +6389,12 @@
"__prefab": {
"__id__": 283
},
"_alignFlags": 9,
"_alignFlags": 20,
"_target": null,
"_left": -5.638999999999996,
"_right": 0,
"_top": -1.7450000000000045,
"_bottom": 0,
"_top": 196.274,
"_bottom": -6.274000000000001,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -8440,7 +8440,7 @@
"__id__": 390
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 396