feat: 新增卡牌自定义图标功能,优化图标加载逻辑

1. 为所有卡牌配置添加icon字段,支持自定义指定图集内的图标
2. 重构列表组件与卡片组件的图标获取逻辑,优先使用自定义图标
3. 更新预加载的图集资源从ui3改为ui6,适配新图标图集
4. 调整弹窗预制体尺寸与图集引用,适配新的图标资源系统
This commit is contained in:
pan
2026-07-27 10:41:53 +08:00
parent 14a41dbcc1
commit 903ec42905
13 changed files with 6411 additions and 2610 deletions

View File

@@ -136,8 +136,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 710,
"height": 55
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -311,8 +311,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1420,
"height": 110
"width": 1440,
"height": 2560
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -348,7 +348,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@7e6bd",
"__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@2ddbe",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@@ -363,7 +363,10 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_atlas": {
"__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
@@ -486,8 +489,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1388,
"height": 78
"width": 1408,
"height": 2528
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -608,8 +611,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 710,
"height": 55
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -667,6 +670,7 @@
"__id__": 0
},
"fileId": "50T0YGiGBH7qZZFeATiEP+",
"instance": null,
"targetOverrides": null
}
]