feat: 新增技能装备详情弹窗IBox,替换旧英雄信息弹窗逻辑

1. 重构IBoxComp组件,支持技能和装备详情展示
2. 为EquipBoxComp和SkillBoxComp添加长按弹窗功能
3. 更新UI配置,修正IBox弹窗层级
4. 新增富文本工具函数生成技能装备详情文案
This commit is contained in:
pan
2026-07-31 10:55:46 +08:00
parent bdb4602fe6
commit 8c421c42d4
11 changed files with 2008 additions and 4222 deletions

View File

@@ -47,7 +47,7 @@
}
],
"_prefab": {
"__id__": 342
"__id__": 360
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1540,7 +1540,7 @@
"a": 255
},
"_string": "词条3",
"_horizontalAlign": 0,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 18,
"_fontSize": 20,
@@ -1738,7 +1738,7 @@
"a": 255
},
"_string": "词条2",
"_horizontalAlign": 0,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 18,
"_fontSize": 20,
@@ -1936,7 +1936,7 @@
"a": 255
},
"_string": "词条3",
"_horizontalAlign": 0,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 18,
"_fontSize": 20,
@@ -6080,7 +6080,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 341
"__id__": 359
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6146,14 +6146,14 @@
"_active": true,
"_components": [
{
"__id__": 338
"__id__": 356
},
{
"__id__": 310
}
],
"_prefab": {
"__id__": 340
"__id__": 358
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6186,7 +6186,7 @@
},
{
"__type__": "cc.Node",
"_name": "cost",
"_name": "coin",
"_objFlags": 0,
"__editorExtras__": {
"mountedRoot": null
@@ -6196,7 +6196,7 @@
},
"_children": [
{
"__id__": 327
"__id__": 345
},
{
"__id__": 311
@@ -6205,14 +6205,14 @@
"_active": true,
"_components": [
{
"__id__": 333
"__id__": 351
},
{
"__id__": 335
"__id__": 353
}
],
"_prefab": {
"__id__": 337
"__id__": 355
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6257,22 +6257,25 @@
},
{
"__id__": 312
},
{
"__id__": 320
}
],
"_active": true,
"_components": [
{
"__id__": 320
"__id__": 338
},
{
"__id__": 322
"__id__": 340
},
{
"__id__": 324
"__id__": 342
}
],
"_prefab": {
"__id__": 326
"__id__": 344
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6464,6 +6467,442 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "stone",
"_objFlags": 0,
"__editorExtras__": {
"mountedRoot": null
},
"_parent": {
"__id__": 313
},
"_children": [
{
"__id__": 321
},
{
"__id__": 327
}
],
"_active": false,
"_components": [
{
"__id__": 333
},
{
"__id__": 335
}
],
"_prefab": {
"__id__": 337
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -32.75,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 320
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 322
},
{
"__id__": 324
}
],
"_prefab": {
"__id__": 326
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -7.5615234375,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"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__": 321
},
"_enabled": true,
"__prefab": {
"__id__": 323
},
"_contentSize": {
"__type__": "cc.Size",
"width": 27,
"height": 27
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "31GJSeBupAjL6B0JSMWEDn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 321
},
"_enabled": true,
"__prefab": {
"__id__": 325
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@66d28",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f0Ah1lXhpLIZry/aPq9YzL"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d5mcu1TmRMYpCqlMi96hsO",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 320
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 328
},
{
"__id__": 330
}
],
"_prefab": {
"__id__": 332
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 13.5,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"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__": 327
},
"_enabled": true,
"__prefab": {
"__id__": 329
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15.123046875,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "94OK1DwMRAl7qOBrTxG/i4"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 327
},
"_enabled": true,
"__prefab": {
"__id__": 331
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "2",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "38htj7TVBI84FdhXPqZi9Y"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5aV+d4uupA3430zZytYs+/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 320
},
"_enabled": true,
"__prefab": {
"__id__": 334
},
"_contentSize": {
"__type__": "cc.Size",
"width": 42.123046875,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "daubq3MHBCvZhVT7CCunA4"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 320
},
"_enabled": true,
"__prefab": {
"__id__": 336
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 0,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "867zQklidJAJ9K6dAQWCB6"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "32ZgIQHstCXYwNDGBH6HPk",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -6474,7 +6913,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 321
"__id__": 339
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6502,7 +6941,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 323
"__id__": 341
},
"_alignFlags": 45,
"_target": null,
@@ -6538,7 +6977,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 325
"__id__": 343
},
"_resizeMode": 1,
"_layoutType": 2,
@@ -6581,7 +7020,7 @@
},
{
"__type__": "cc.Node",
"_name": "gold",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -6591,14 +7030,14 @@
"_active": true,
"_components": [
{
"__id__": 328
"__id__": 346
},
{
"__id__": 330
"__id__": 348
}
],
"_prefab": {
"__id__": 332
"__id__": 350
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6635,11 +7074,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 327
"__id__": 345
},
"_enabled": true,
"__prefab": {
"__id__": 329
"__id__": 347
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6663,11 +7102,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 327
"__id__": 345
},
"_enabled": true,
"__prefab": {
"__id__": 331
"__id__": 349
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6725,7 +7164,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 334
"__id__": 352
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6753,7 +7192,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 336
"__id__": 354
},
"_resizeMode": 1,
"_layoutType": 1,
@@ -6804,7 +7243,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 339
"__id__": 357
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6851,13 +7290,13 @@
"instance": null,
"targetOverrides": [
{
"__id__": 343
"__id__": 361
},
{
"__id__": 345
"__id__": 363
},
{
"__id__": 347
"__id__": 365
}
],
"nestedPrefabInstanceRoots": [
@@ -6885,7 +7324,7 @@
"__id__": 40
},
"targetInfo": {
"__id__": 344
"__id__": 362
}
},
{
@@ -6907,7 +7346,7 @@
"__id__": 40
},
"targetInfo": {
"__id__": 346
"__id__": 364
}
},
{
@@ -6929,7 +7368,7 @@
"__id__": 121
},
"targetInfo": {
"__id__": 348
"__id__": 366
}
},
{

View File

@@ -47,7 +47,7 @@
}
],
"_prefab": {
"__id__": 355
"__id__": 373
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1624,7 +1624,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 23.333333333333336,
"y": 0,
"z": 0
},
"_lrot": {
@@ -1665,7 +1665,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 190,
"height": 23.333333333333332
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1701,12 +1701,12 @@
"a": 255
},
"_string": "词条3",
"_horizontalAlign": 0,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 18,
"_actualFontSize": 21,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 25,
"_lineHeight": 21,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
@@ -1804,7 +1804,7 @@
"__id__": 102
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 112
@@ -2002,7 +2002,7 @@
"__id__": 102
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 120
@@ -2020,7 +2020,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -23.33333333333333,
"y": -11.666666666666666,
"z": 0
},
"_lrot": {
@@ -2206,7 +2206,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 190,
"height": 70
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2235,8 +2235,8 @@
"_target": null,
"_left": 20,
"_right": 20,
"_top": 144.541,
"_bottom": 85.459,
"_top": 139.541,
"_bottom": 80.459,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -6241,7 +6241,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 354
"__id__": 372
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6307,14 +6307,14 @@
"_active": true,
"_components": [
{
"__id__": 351
"__id__": 369
},
{
"__id__": 323
}
],
"_prefab": {
"__id__": 353
"__id__": 371
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6347,7 +6347,7 @@
},
{
"__type__": "cc.Node",
"_name": "cost",
"_name": "coin",
"_objFlags": 0,
"__editorExtras__": {
"mountedRoot": null
@@ -6357,7 +6357,7 @@
},
"_children": [
{
"__id__": 340
"__id__": 358
},
{
"__id__": 324
@@ -6366,14 +6366,14 @@
"_active": true,
"_components": [
{
"__id__": 346
"__id__": 364
},
{
"__id__": 348
"__id__": 366
}
],
"_prefab": {
"__id__": 350
"__id__": 368
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6418,22 +6418,25 @@
},
{
"__id__": 325
},
{
"__id__": 333
}
],
"_active": true,
"_components": [
{
"__id__": 333
"__id__": 351
},
{
"__id__": 335
"__id__": 353
},
{
"__id__": 337
"__id__": 355
}
],
"_prefab": {
"__id__": 339
"__id__": 357
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6625,6 +6628,442 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "stone",
"_objFlags": 0,
"__editorExtras__": {
"mountedRoot": null
},
"_parent": {
"__id__": 326
},
"_children": [
{
"__id__": 334
},
{
"__id__": 340
}
],
"_active": false,
"_components": [
{
"__id__": 346
},
{
"__id__": 348
}
],
"_prefab": {
"__id__": 350
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -32.75,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 333
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 335
},
{
"__id__": 337
}
],
"_prefab": {
"__id__": 339
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -7.5615234375,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"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__": 334
},
"_enabled": true,
"__prefab": {
"__id__": 336
},
"_contentSize": {
"__type__": "cc.Size",
"width": 27,
"height": 27
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "31GJSeBupAjL6B0JSMWEDn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 334
},
"_enabled": true,
"__prefab": {
"__id__": 338
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@66d28",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f0Ah1lXhpLIZry/aPq9YzL"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d5mcu1TmRMYpCqlMi96hsO",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 333
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 341
},
{
"__id__": 343
}
],
"_prefab": {
"__id__": 345
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 13.5,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"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__": 340
},
"_enabled": true,
"__prefab": {
"__id__": 342
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15.123046875,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "94OK1DwMRAl7qOBrTxG/i4"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 340
},
"_enabled": true,
"__prefab": {
"__id__": 344
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "2",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "38htj7TVBI84FdhXPqZi9Y"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5aV+d4uupA3430zZytYs+/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 333
},
"_enabled": true,
"__prefab": {
"__id__": 347
},
"_contentSize": {
"__type__": "cc.Size",
"width": 42.123046875,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "daubq3MHBCvZhVT7CCunA4"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 333
},
"_enabled": true,
"__prefab": {
"__id__": 349
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 0,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "867zQklidJAJ9K6dAQWCB6"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "32ZgIQHstCXYwNDGBH6HPk",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -6635,7 +7074,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 334
"__id__": 352
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6663,7 +7102,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 336
"__id__": 354
},
"_alignFlags": 45,
"_target": null,
@@ -6699,7 +7138,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 338
"__id__": 356
},
"_resizeMode": 1,
"_layoutType": 2,
@@ -6742,7 +7181,7 @@
},
{
"__type__": "cc.Node",
"_name": "gold",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -6752,14 +7191,14 @@
"_active": true,
"_components": [
{
"__id__": 341
"__id__": 359
},
{
"__id__": 343
"__id__": 361
}
],
"_prefab": {
"__id__": 345
"__id__": 363
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6796,11 +7235,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 340
"__id__": 358
},
"_enabled": true,
"__prefab": {
"__id__": 342
"__id__": 360
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6824,11 +7263,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 340
"__id__": 358
},
"_enabled": true,
"__prefab": {
"__id__": 344
"__id__": 362
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6886,7 +7325,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 347
"__id__": 365
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6914,7 +7353,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 349
"__id__": 367
},
"_resizeMode": 1,
"_layoutType": 1,
@@ -6965,7 +7404,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 352
"__id__": 370
},
"_contentSize": {
"__type__": "cc.Size",
@@ -7012,13 +7451,13 @@
"instance": null,
"targetOverrides": [
{
"__id__": 356
"__id__": 374
},
{
"__id__": 358
"__id__": 376
},
{
"__id__": 360
"__id__": 378
}
],
"nestedPrefabInstanceRoots": [
@@ -7046,7 +7485,7 @@
"__id__": 40
},
"targetInfo": {
"__id__": 357
"__id__": 375
}
},
{
@@ -7068,7 +7507,7 @@
"__id__": 40
},
"targetInfo": {
"__id__": 359
"__id__": 377
}
},
{
@@ -7090,7 +7529,7 @@
"__id__": 134
},
"targetInfo": {
"__id__": 361
"__id__": 379
}
},
{

View File

@@ -47,7 +47,7 @@
}
],
"_prefab": {
"__id__": 340
"__id__": 358
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1444,7 +1444,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 23.333333333333336,
"y": 0,
"z": 0
},
"_lrot": {
@@ -1485,7 +1485,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 190,
"height": 23.333333333333332
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1521,12 +1521,12 @@
"a": 255
},
"_string": "词条3",
"_horizontalAlign": 0,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 18,
"_actualFontSize": 21,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 25,
"_lineHeight": 21,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
@@ -1624,7 +1624,7 @@
"__id__": 87
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 97
@@ -1822,7 +1822,7 @@
"__id__": 87
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 105
@@ -6061,7 +6061,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 339
"__id__": 357
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6127,14 +6127,14 @@
"_active": true,
"_components": [
{
"__id__": 336
"__id__": 354
},
{
"__id__": 308
}
],
"_prefab": {
"__id__": 338
"__id__": 356
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6167,7 +6167,7 @@
},
{
"__type__": "cc.Node",
"_name": "cost",
"_name": "coin",
"_objFlags": 0,
"__editorExtras__": {
"mountedRoot": null
@@ -6177,7 +6177,7 @@
},
"_children": [
{
"__id__": 325
"__id__": 343
},
{
"__id__": 309
@@ -6186,14 +6186,14 @@
"_active": true,
"_components": [
{
"__id__": 331
"__id__": 349
},
{
"__id__": 333
"__id__": 351
}
],
"_prefab": {
"__id__": 335
"__id__": 353
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6238,22 +6238,25 @@
},
{
"__id__": 310
},
{
"__id__": 318
}
],
"_active": true,
"_components": [
{
"__id__": 318
"__id__": 336
},
{
"__id__": 320
"__id__": 338
},
{
"__id__": 322
"__id__": 340
}
],
"_prefab": {
"__id__": 324
"__id__": 342
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6445,6 +6448,442 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "stone",
"_objFlags": 0,
"__editorExtras__": {
"mountedRoot": null
},
"_parent": {
"__id__": 311
},
"_children": [
{
"__id__": 319
},
{
"__id__": 325
}
],
"_active": false,
"_components": [
{
"__id__": 331
},
{
"__id__": 333
}
],
"_prefab": {
"__id__": 335
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -32.75,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 318
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 320
},
{
"__id__": 322
}
],
"_prefab": {
"__id__": 324
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -7.5615234375,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"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__": 319
},
"_enabled": true,
"__prefab": {
"__id__": 321
},
"_contentSize": {
"__type__": "cc.Size",
"width": 27,
"height": 27
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "31GJSeBupAjL6B0JSMWEDn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 319
},
"_enabled": true,
"__prefab": {
"__id__": 323
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@66d28",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f0Ah1lXhpLIZry/aPq9YzL"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d5mcu1TmRMYpCqlMi96hsO",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 318
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 326
},
{
"__id__": 328
}
],
"_prefab": {
"__id__": 330
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 13.5,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"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__": 325
},
"_enabled": true,
"__prefab": {
"__id__": 327
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15.123046875,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "94OK1DwMRAl7qOBrTxG/i4"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 325
},
"_enabled": true,
"__prefab": {
"__id__": 329
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "2",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "38htj7TVBI84FdhXPqZi9Y"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5aV+d4uupA3430zZytYs+/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 318
},
"_enabled": true,
"__prefab": {
"__id__": 332
},
"_contentSize": {
"__type__": "cc.Size",
"width": 42.123046875,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "daubq3MHBCvZhVT7CCunA4"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 318
},
"_enabled": true,
"__prefab": {
"__id__": 334
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 0,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "867zQklidJAJ9K6dAQWCB6"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "32ZgIQHstCXYwNDGBH6HPk",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -6455,7 +6894,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 319
"__id__": 337
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6483,7 +6922,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 321
"__id__": 339
},
"_alignFlags": 45,
"_target": null,
@@ -6519,7 +6958,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 323
"__id__": 341
},
"_resizeMode": 1,
"_layoutType": 2,
@@ -6562,7 +7001,7 @@
},
{
"__type__": "cc.Node",
"_name": "gold",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -6572,14 +7011,14 @@
"_active": true,
"_components": [
{
"__id__": 326
"__id__": 344
},
{
"__id__": 328
"__id__": 346
}
],
"_prefab": {
"__id__": 330
"__id__": 348
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -6616,11 +7055,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 325
"__id__": 343
},
"_enabled": true,
"__prefab": {
"__id__": 327
"__id__": 345
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6644,11 +7083,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 325
"__id__": 343
},
"_enabled": true,
"__prefab": {
"__id__": 329
"__id__": 347
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -6706,7 +7145,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 332
"__id__": 350
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6734,7 +7173,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 334
"__id__": 352
},
"_resizeMode": 1,
"_layoutType": 1,
@@ -6785,7 +7224,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 337
"__id__": 355
},
"_contentSize": {
"__type__": "cc.Size",
@@ -6832,13 +7271,13 @@
"instance": null,
"targetOverrides": [
{
"__id__": 341
"__id__": 359
},
{
"__id__": 343
"__id__": 361
},
{
"__id__": 345
"__id__": 363
}
],
"nestedPrefabInstanceRoots": [
@@ -6866,7 +7305,7 @@
"__id__": 40
},
"targetInfo": {
"__id__": 342
"__id__": 360
}
},
{
@@ -6888,7 +7327,7 @@
"__id__": 40
},
"targetInfo": {
"__id__": 344
"__id__": 362
}
},
{
@@ -6910,7 +7349,7 @@
"__id__": 119
},
"targetInfo": {
"__id__": 346
"__id__": 364
}
},
{

View File

@@ -3512,6 +3512,10 @@
"cd_mask": {
"__id__": 138
},
"iboxPrefab": {
"__uuid__": "348ec900-f7b9-440a-911e-75f9590254c7",
"__expectedType__": "cc.Prefab"
},
"_id": ""
},
{

File diff suppressed because it is too large Load Diff

View File

@@ -3922,6 +3922,10 @@
"cd_mask": {
"__id__": 156
},
"iboxPrefab": {
"__uuid__": "348ec900-f7b9-440a-911e-75f9590254c7",
"__expectedType__": "cc.Prefab"
},
"_id": ""
},
{