refactor(ui): 重构装备和英雄的词条展示逻辑

1. 替换单个Label词条为RichText多行展示
2. 统一使用buildEquipRich和buildSkillDescRich生成带高亮的词条文本
3. 调整prefab的UI元素尺寸适配新的富文本展示
4. 新增showName参数适配不同场景的技能名显示需求
This commit is contained in:
pan
2026-07-31 17:12:47 +08:00
parent b4a42baee5
commit e026ee0e35
8 changed files with 1981 additions and 1616 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2374,7 +2374,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 189.9,
"height": 26.46
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@@ -2194,7 +2194,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 190,
"height": 26.46
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",

File diff suppressed because it is too large Load Diff