完成奖品和物品显示,使用oops.gui.open打开物品信息栏 可能还存在问题

This commit is contained in:
pan@work
2024-11-28 10:37:27 +08:00
parent ce0a88988b
commit f32a7e5c47
9 changed files with 754 additions and 382 deletions

View File

@@ -35,10 +35,13 @@
},
{
"__id__": 22
},
{
"__id__": 24
}
],
"_prefab": {
"__id__": 24
"__id__": 27
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -305,10 +308,7 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@094d8",
"__expectedType__": "cc.SpriteFrame"
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
@@ -441,7 +441,7 @@
"b": 255,
"a": 255
},
"_string": "99999",
"_string": "0",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 31,
@@ -546,6 +546,76 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "a3fT984fVMY6kPqXqb9G8d"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 25
},
"clickEvents": [
{
"__id__": 26
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.95,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2fDZn0y0hGe74K7nzW6Hsq"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "b3d7bQfUYVKCraQiXgA4mTv",
"handler": "show_info",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {

View File

@@ -52,7 +52,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 748.999,
"y": 0,
"z": 0
},
"_lrot": {
@@ -142,7 +142,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"width": 700,
"height": 500
},
"_anchorPoint": {
@@ -241,7 +241,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -227.342,
"x": -270,
"y": 163.185,
"z": 0
},
@@ -514,7 +514,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -13.947,
"y": -4.997,
"z": 0
},
"_lrot": {
@@ -554,8 +554,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 550,
"height": 250
"width": 630,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -977,10 +977,12 @@
},
{
"__type__": "cc.ClickEvent",
"target": null,
"target": {
"__id__": 1
},
"component": "",
"_componentId": "",
"handler": "",
"_componentId": "8a98fQ67vxAqoq1t/JfAe7z",
"handler": "onTouchEnd",
"customEventData": ""
},
{
@@ -1019,7 +1021,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -169.242,
"x": -200,
"y": 161.461,
"z": 0
},
@@ -1099,8 +1101,8 @@
"_string": "这是物品名称",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 31,
"_fontSize": 30,
"_actualFontSize": 41,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
@@ -1113,7 +1115,7 @@
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
@@ -1122,7 +1124,7 @@
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_enableShadow": true,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
@@ -1132,8 +1134,8 @@
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
"x": 1,
"y": -2
},
"_shadowBlur": 2,
"_id": ""
@@ -1219,8 +1221,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 530,
"height": 230
"width": 600,
"height": 220
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1369,6 +1371,7 @@
"__id__": 0
},
"fileId": "93EVPcNsBBXpMaJjrmWbVn",
"instance": null,
"targetOverrides": null
}
]

File diff suppressed because it is too large Load Diff