refactor(界面): 移除物品购买逻辑并调整卡片组件

- 删除MissionCardComp中与物品购买相关的代码逻辑
- 调整card.prefab的宽度和精灵图集引用
- 简化卡片选择逻辑,统一处理物品使用事件
This commit is contained in:
walkpan
2026-01-06 17:01:57 +08:00
parent 30172da27d
commit fcc2aaf0a0
2 changed files with 8 additions and 66 deletions

View File

@@ -851,7 +851,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"width": 130,
"height": 80
},
"_anchorPoint": {
@@ -888,7 +888,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@eb208",
"__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@c83a0",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -903,7 +903,10 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_atlas": {
"__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{