refactor(gui): 更新背景信息预制件的节点名称和尺寸配置

- 重命名节点以简化命名规范
- 调整背景和边框的尺寸及缩放比例
- 更新精灵帧和颜色配置
- 修改部件边距和锚点设置
This commit is contained in:
panw
2025-12-22 15:37:25 +08:00
parent 993fd4ebac
commit 84d10a7aca
3 changed files with 895 additions and 865 deletions

View File

@@ -71,7 +71,7 @@
},
{
"__type__": "cc.Node",
"_name": "BaseFrame_Border_Rectangle_H60_Bg",
"_name": "Bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -108,8 +108,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 5,
"y": 5,
"z": 1
},
"_mobility": 0,
@@ -136,8 +136,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 825,
"height": 187.5
"width": 360,
"height": 640
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -167,13 +167,13 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 83,
"g": 81,
"b": 81,
"r": 148,
"g": 148,
"b": 148,
"a": 255
},
"_spriteFrame": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@c3210",
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@ca3ab",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@@ -188,7 +188,10 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_atlas": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
@@ -246,7 +249,7 @@
},
{
"__type__": "cc.Node",
"_name": "BaseFrame_Border_Rectangle_H60_Border",
"_name": "Border",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -283,8 +286,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 5,
"y": 5,
"z": 1
},
"_mobility": 0,
@@ -311,8 +314,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 825,
"height": 187.5
"width": 360,
"height": 640
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -342,13 +345,13 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@6e2e8",
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@8e66b",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@@ -363,7 +366,10 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_atlas": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
@@ -421,7 +427,7 @@
},
{
"__type__": "cc.Node",
"_name": "BaseFrame_Border_Rectangle_H60_DecoLine",
"_name": "CornersSilver",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -458,8 +464,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 5,
"y": 5,
"z": 1
},
"_mobility": 0,
@@ -486,8 +492,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 805,
"height": 167.5
"width": 360,
"height": 640
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -498,7 +504,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fbeQHbeipFY7ExzedhFNLM"
"fileId": "1033MU6eBKWJm2yvPLdAu0"
},
{
"__type__": "cc.Sprite",
@@ -517,13 +523,13 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 182,
"g": 182,
"b": 182,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@fbeff",
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@b50f2",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@@ -543,7 +549,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ccp5/zHVZB3pcnuk2PVY8s"
"fileId": "a4IfOCCsRJRJ4DVgetI+wc"
},
{
"__type__": "cc.Widget",
@@ -559,10 +565,10 @@
},
"_alignFlags": 45,
"_target": null,
"_left": 10,
"_right": 10,
"_top": 10,
"_bottom": 10,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -571,15 +577,15 @@
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 54,
"_originalHeight": 54,
"_originalWidth": 46,
"_originalHeight": 46,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "70pduWDClGF6JcbdW5pmZE"
"fileId": "f9LvExhctNUqDhUqA0wn7n"
},
{
"__type__": "cc.PrefabInfo",
@@ -589,7 +595,7 @@
"asset": {
"__id__": 0
},
"fileId": "beOOI7i7NFaqr0T9a9N6d2",
"fileId": "43P0gFGJBAiYf55DlpmNdV",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -608,8 +614,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 825,
"height": 187.5
"width": 1800,
"height": 3200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -667,6 +673,7 @@
"__id__": 0
},
"fileId": "05DREFeeFN3J6MVw6Ib9Zw",
"instance": null,
"targetOverrides": null
}
]