feat(ui): 调整卡片与列表UI布局并添加高等级光效动画

- 为卡片组件添加高等级光效显示逻辑与动画资源
- 调整card.prefab中多个UI元素的尺寸、边距与位置
- 重构melist.prefab中排名列表的节点结构与样式
- 更新list.prefab中数字标签的字体大小与位置
- 修改部分图片资源与新增动画元数据文件
This commit is contained in:
walkpan
2026-04-03 20:46:40 +08:00
parent 0129771435
commit c350071841
24 changed files with 7362 additions and 4788 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -579,7 +579,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 55,
"y": 0,
"y": 12.894000000000005,
"z": 0
},
"_lrot": {
@@ -673,7 +673,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 150
"height": 165
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1510,7 +1510,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 150
"height": 165
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1539,8 +1539,8 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_top": -20.394000000000005,
"_bottom": 5.394000000000005,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -1612,7 +1612,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 55,
"y": 0,
"y": 12.894000000000005,
"z": 0
},
"_lrot": {
@@ -1706,7 +1706,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 150
"height": 165
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2543,7 +2543,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 150
"height": 165
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2572,8 +2572,8 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_top": -20.394000000000005,
"_bottom": 5.394000000000005,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,

View File

@@ -0,0 +1,220 @@
[
{
"__type__": "cc.Prefab",
"_name": "light",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "light",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
},
{
"__id__": 4
},
{
"__id__": 6
},
{
"__id__": 8
}
],
"_prefab": {
"__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -1.4210854715202004e-14,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.5,
"y": 1.9,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 3
},
"_contentSize": {
"__type__": "cc.Size",
"width": 154,
"height": 154
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0epNAJ+SZBmLJWPfcpMVen"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 5
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 243,
"g": 253,
"b": 0,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@332e3",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_useGrayscale": true,
"_atlas": {
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "35kqonssVDPahqnSWUwxbU"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": false,
"__prefab": {
"__id__": 7
},
"_alignFlags": 45,
"_target": null,
"_left": 0.04705882352941171,
"_right": 8.000000000000028,
"_top": 38,
"_bottom": 38,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": false,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 181,
"_originalHeight": 120,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9778iivYhHB7Z+oxphluGA"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "1a87d32a-1a12-47e6-ad56-f0ef7bbc5a2a",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "1a87d32a-1a12-47e6-ad56-f0ef7bbc5a2a",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "02sGLnty1LbJNQV+yNmPbg"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7347RlFLBEdJZ/A06wfR5f",
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "5aae4a6d-b697-4c4b-86d3-8ea91be92be6",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "light"
}
}

View File

@@ -869,7 +869,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 194.478,
"x": 225.016,
"y": 0,
"z": 0
},
@@ -949,8 +949,8 @@
"_string": "999999",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 41,
"_fontSize": 40,
"_actualFontSize": 26,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
@@ -1028,7 +1028,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 152.454,
"x": 181.966,
"y": 0,
"z": 0
},
@@ -1041,8 +1041,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.5,
"y": 0.5,
"x": 0.4,
"y": 0.4,
"z": 1
},
"_mobility": 0,

View File

@@ -397,7 +397,7 @@
},
{
"__type__": "cc.Node",
"_name": "rank-001",
"_name": "rank",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -556,7 +556,7 @@
},
{
"__type__": "cc.Node",
"_name": "icon-001",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -651,7 +651,7 @@
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"b": 0,
"a": 255
},
"_spriteFrame": {
@@ -692,7 +692,7 @@
},
{
"__type__": "cc.Node",
"_name": "name-001",
"_name": "name",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -851,7 +851,7 @@
},
{
"__type__": "cc.Node",
"_name": "num-001",
"_name": "ItemIcon_Trophy",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -872,7 +872,143 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 194.478,
"x": 181.966,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.4,
"y": 0.4,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e7NLTIaOZF6rg0RRAoWL0f"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 38
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@c778f",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9fAUopJgRKkrabAsZt45A+"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "91maPNfO5DHK3SuAXEiepV",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
},
{
"__id__": 43
}
],
"_prefab": {
"__id__": 45
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 225.016,
"y": 0,
"z": 0
},
@@ -905,11 +1041,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 36
"__id__": 42
},
"_contentSize": {
"__type__": "cc.Size",
@@ -925,7 +1061,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d95TW1CmtI4bKsSrBme5fP"
"fileId": "d0+hZjiRtCsayRkNZSQSpq"
},
{
"__type__": "cc.Label",
@@ -933,11 +1069,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 38
"__id__": 44
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -952,8 +1088,8 @@
"_string": "999999",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 41,
"_fontSize": 40,
"_actualFontSize": 26,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
@@ -993,7 +1129,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "28YRkRKo9BNZ6AQEpJB+Y7"
"fileId": "57al5dpqBAOpU/bhvDZTBl"
},
{
"__type__": "cc.PrefabInfo",
@@ -1003,143 +1139,7 @@
"asset": {
"__id__": 0
},
"fileId": "efz7Y7nd9BXKHnhiz7F+2J",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "ItemIcon_Trophy-001",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
},
{
"__id__": 43
}
],
"_prefab": {
"__id__": 45
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 152.454,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.5,
"y": 0.5,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 42
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5bMPUrhtxKR6iHsKgbg4/v"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
},
"_enabled": true,
"__prefab": {
"__id__": 44
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@c778f",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63ZWCEYdxCS5qoR6gK0/hU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "98cegEY9dGZr6Z/GUEuXSv",
"fileId": "bbYT9Fz1JA5Jwu0b1XZEgo",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null