From 5cfa221a5818438670223751eb771465040c8459 Mon Sep 17 00:00:00 2001 From: pan Date: Mon, 3 Aug 2026 11:26:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E9=87=8D=E6=9E=84=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E8=83=8C=E6=99=AF=E9=A2=84=E5=88=B6=E4=BD=93=E4=B8=8E?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增boxsbg通用卡片背景预制体 2. 调整ui5.plist的边框内边距配置 3. 重构sbox.prefab,替换为统一的卡片背景组件 --- assets/resources/gui/auie/boxsbg.prefab | 672 ++++++++++++ assets/resources/gui/auie/boxsbg.prefab.meta | 13 + assets/resources/gui/element/sbox.prefab | 1010 ++++++++++++++++-- assets/resources/gui/ui5.plist.meta | 24 +- 4 files changed, 1600 insertions(+), 119 deletions(-) create mode 100644 assets/resources/gui/auie/boxsbg.prefab create mode 100644 assets/resources/gui/auie/boxsbg.prefab.meta diff --git a/assets/resources/gui/auie/boxsbg.prefab b/assets/resources/gui/auie/boxsbg.prefab new file mode 100644 index 00000000..081bcdfb --- /dev/null +++ b/assets/resources/gui/auie/boxsbg.prefab @@ -0,0 +1,672 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "boxsbg", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "boxsbg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 10 + }, + { + "__id__": 18 + } + ], + "_active": true, + "_components": [ + { + "__id__": 26 + }, + { + "__id__": 28 + } + ], + "_prefab": { + "__id__": 30 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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.Node", + "_name": "CardFrame_05_White_Bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + } + ], + "_prefab": { + "__id__": 9 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 116, + "height": 116 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "faw/e2TmNLDrlGkMwY+l+w" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 163, + "g": 56, + "b": 213, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@3c808", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dd8Hfs9UJPUJ0bcn7N0Tox" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 45, + "_target": null, + "_left": 1, + "_right": 1, + "_top": 1, + "_bottom": 1, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 75, + "_originalHeight": 75, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3tGhrZB5MKL359ZCOD3UB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "beQut86xpAMrELorQzHSgt", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame_05_White_InnerBorder", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 13 + }, + { + "__id__": 15 + } + ], + "_prefab": { + "__id__": 17 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 112, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "16bp3PpYdN2IXsvhTDmBtS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 203, + "g": 99, + "b": 250, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@408f4", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "87fe+UXw9CQIihrWYrB/TF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_alignFlags": 45, + "_target": null, + "_left": 2, + "_right": 2, + "_top": 2, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 65, + "_originalHeight": 65, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1e3jgag4BFHbKBtBxLWZ0S" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f5ettqcIRPyaBH/z8iGNoO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame_05_White_Border", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 19 + }, + { + "__id__": 21 + }, + { + "__id__": 23 + } + ], + "_prefab": { + "__id__": 25 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1edpcSEPVI4pjLreOuzVB/" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 73, + "g": 19, + "b": 107, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@5e22e", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4eX8PE3gRI0ZCibEdow+jT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 75, + "_originalHeight": 75, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "288tXOUOdBAqICuDgxQQtB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a1/6UrupFE4Lg9b8Yv6jqp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 60, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "256WiDlglOmIwnFbiXvxh+" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "90d4r0ZPVIjKuPqeRPrFnP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4241iL8hlHkplAAjgVAcN5", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/gui/auie/boxsbg.prefab.meta b/assets/resources/gui/auie/boxsbg.prefab.meta new file mode 100644 index 00000000..60038a1e --- /dev/null +++ b/assets/resources/gui/auie/boxsbg.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "735b5b91-006f-42eb-b097-dc69fa0884ca", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "boxsbg" + } +} diff --git a/assets/resources/gui/element/sbox.prefab b/assets/resources/gui/element/sbox.prefab index ab110446..1998e680 100644 --- a/assets/resources/gui/element/sbox.prefab +++ b/assets/resources/gui/element/sbox.prefab @@ -31,23 +31,26 @@ "__id__": 328 }, { - "__id__": 370 + "__id__": 364 }, { - "__id__": 378 + "__id__": 406 + }, + { + "__id__": 414 } ], "_active": true, "_components": [ { - "__id__": 384 + "__id__": 420 }, { - "__id__": 386 + "__id__": 422 } ], "_prefab": { - "__id__": 388 + "__id__": 424 }, "_lpos": { "__type__": "cc.Vec3", @@ -2672,7 +2675,7 @@ "__id__": 218 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 240 @@ -4284,7 +4287,7 @@ }, { "__type__": "cc.Node", - "_name": "sbg", + "_name": "ibg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -4536,10 +4539,10 @@ ], "value": { "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 49, - "a": 255 + "r": 163, + "g": 56, + "b": 255, + "a": 48 } }, { @@ -5452,7 +5455,7 @@ }, { "__type__": "cc.Node", - "_name": "Mask", + "_name": "sbg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -5461,37 +5464,19 @@ "_children": [ { "__id__": 329 - }, - { - "__id__": 335 - }, - { - "__id__": 343 - }, - { - "__id__": 349 - }, - { - "__id__": 355 } ], "_active": true, "_components": [ + { + "__id__": 359 + }, { "__id__": 361 - }, - { - "__id__": 363 - }, - { - "__id__": 365 - }, - { - "__id__": 367 } ], "_prefab": { - "__id__": 369 + "__id__": 363 }, "_lpos": { "__type__": "cc.Vec3", @@ -5524,24 +5509,87 @@ }, { "__type__": "cc.Node", - "_name": "ItemFrame00~03_BgGlow", + "_name": "Node", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 328 }, - "_children": [], - "_active": true, - "_components": [ + "_children": [ { "__id__": 330 }, { - "__id__": 332 + "__id__": 338 + }, + { + "__id__": 346 + } + ], + "_active": true, + "_components": [ + { + "__id__": 354 + }, + { + "__id__": 356 } ], "_prefab": { - "__id__": 334 + "__id__": 358 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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.Node", + "_name": "CardFrame_05_White_Bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 329 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 331 + }, + { + "__id__": 333 + }, + { + "__id__": 335 + } + ], + "_prefab": { + "__id__": 337 }, "_lpos": { "__type__": "cc.Vec3", @@ -5572,6 +5620,478 @@ }, "_id": "" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 330 + }, + "_enabled": true, + "__prefab": { + "__id__": 332 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 116, + "height": 116 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "faw/e2TmNLDrlGkMwY+l+w" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 330 + }, + "_enabled": true, + "__prefab": { + "__id__": 334 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 163, + "g": 56, + "b": 213, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@3c808", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dd8Hfs9UJPUJ0bcn7N0Tox" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 330 + }, + "_enabled": true, + "__prefab": { + "__id__": 336 + }, + "_alignFlags": 45, + "_target": null, + "_left": 1, + "_right": 1, + "_top": 1, + "_bottom": 1, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 75, + "_originalHeight": 75, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3tGhrZB5MKL359ZCOD3UB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "beQut86xpAMrELorQzHSgt", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame_05_White_InnerBorder", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 329 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 339 + }, + { + "__id__": 341 + }, + { + "__id__": 343 + } + ], + "_prefab": { + "__id__": 345 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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__": 338 + }, + "_enabled": true, + "__prefab": { + "__id__": 340 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 112, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "16bp3PpYdN2IXsvhTDmBtS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 338 + }, + "_enabled": true, + "__prefab": { + "__id__": 342 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 203, + "g": 99, + "b": 250, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@408f4", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "87fe+UXw9CQIihrWYrB/TF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 338 + }, + "_enabled": true, + "__prefab": { + "__id__": 344 + }, + "_alignFlags": 45, + "_target": null, + "_left": 2, + "_right": 2, + "_top": 2, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 65, + "_originalHeight": 65, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1e3jgag4BFHbKBtBxLWZ0S" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f5ettqcIRPyaBH/z8iGNoO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame_05_White_Border", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 329 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 347 + }, + { + "__id__": 349 + }, + { + "__id__": 351 + } + ], + "_prefab": { + "__id__": 353 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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__": 346 + }, + "_enabled": true, + "__prefab": { + "__id__": 348 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1edpcSEPVI4pjLreOuzVB/" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 346 + }, + "_enabled": true, + "__prefab": { + "__id__": 350 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 73, + "g": 19, + "b": 107, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dd7e2f04-f9b9-489b-8d38-b4971ad81910@5e22e", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4eX8PE3gRI0ZCibEdow+jT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 346 + }, + "_enabled": true, + "__prefab": { + "__id__": 352 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 75, + "_originalHeight": 75, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "288tXOUOdBAqICuDgxQQtB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a1/6UrupFE4Lg9b8Yv6jqp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -5582,7 +6102,283 @@ }, "_enabled": true, "__prefab": { - "__id__": 331 + "__id__": 355 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 60, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "256WiDlglOmIwnFbiXvxh+" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 329 + }, + "_enabled": true, + "__prefab": { + "__id__": 357 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "90d4r0ZPVIjKuPqeRPrFnP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4241iL8hlHkplAAjgVAcN5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 328 + }, + "_enabled": true, + "__prefab": { + "__id__": 360 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 60, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "80rCqbPAVL2ZcsHFtRZLEp" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 328 + }, + "_enabled": true, + "__prefab": { + "__id__": 362 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 80, + "_originalHeight": 80, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "30mNjvv4dPH6WHgHyZphjE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "23CkTWp3pEeZJH0nSaeWhi", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Mask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 365 + }, + { + "__id__": 371 + }, + { + "__id__": 379 + }, + { + "__id__": 385 + }, + { + "__id__": 391 + } + ], + "_active": true, + "_components": [ + { + "__id__": 397 + }, + { + "__id__": 399 + }, + { + "__id__": 401 + }, + { + "__id__": 403 + } + ], + "_prefab": { + "__id__": 405 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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.Node", + "_name": "ItemFrame00~03_BgGlow", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 364 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 366 + }, + { + "__id__": 368 + } + ], + "_prefab": { + "__id__": 370 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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__": 365 + }, + "_enabled": true, + "__prefab": { + "__id__": 367 }, "_contentSize": { "__type__": "cc.Size", @@ -5606,11 +6402,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 329 + "__id__": 365 }, "_enabled": true, "__prefab": { - "__id__": 333 + "__id__": 369 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5664,23 +6460,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 328 + "__id__": 364 }, "_children": [], "_active": true, "_components": [ { - "__id__": 336 + "__id__": 372 }, { - "__id__": 338 + "__id__": 374 }, { - "__id__": 340 + "__id__": 376 } ], "_prefab": { - "__id__": 342 + "__id__": 378 }, "_lpos": { "__type__": "cc.Vec3", @@ -5717,11 +6513,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 335 + "__id__": 371 }, "_enabled": true, "__prefab": { - "__id__": 337 + "__id__": 373 }, "_contentSize": { "__type__": "cc.Size", @@ -5745,11 +6541,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 335 + "__id__": 371 }, "_enabled": true, "__prefab": { - "__id__": 339 + "__id__": 375 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5790,11 +6586,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 335 + "__id__": 371 }, "_enabled": true, "__prefab": { - "__id__": 341 + "__id__": 377 }, "_alignFlags": 45, "_target": null, @@ -5839,20 +6635,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 328 + "__id__": 364 }, "_children": [], "_active": false, "_components": [ { - "__id__": 344 + "__id__": 380 }, { - "__id__": 346 + "__id__": 382 } ], "_prefab": { - "__id__": 348 + "__id__": 384 }, "_lpos": { "__type__": "cc.Vec3", @@ -5889,11 +6685,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 343 + "__id__": 379 }, "_enabled": true, "__prefab": { - "__id__": 345 + "__id__": 381 }, "_contentSize": { "__type__": "cc.Size", @@ -5917,11 +6713,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 343 + "__id__": 379 }, "_enabled": true, "__prefab": { - "__id__": 347 + "__id__": 383 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5975,20 +6771,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 328 + "__id__": 364 }, "_children": [], "_active": false, "_components": [ { - "__id__": 350 + "__id__": 386 }, { - "__id__": 352 + "__id__": 388 } ], "_prefab": { - "__id__": 354 + "__id__": 390 }, "_lpos": { "__type__": "cc.Vec3", @@ -6025,11 +6821,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 349 + "__id__": 385 }, "_enabled": true, "__prefab": { - "__id__": 351 + "__id__": 387 }, "_contentSize": { "__type__": "cc.Size", @@ -6053,11 +6849,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 349 + "__id__": 385 }, "_enabled": true, "__prefab": { - "__id__": 353 + "__id__": 389 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6111,20 +6907,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 328 + "__id__": 364 }, "_children": [], "_active": false, "_components": [ { - "__id__": 356 + "__id__": 392 }, { - "__id__": 358 + "__id__": 394 } ], "_prefab": { - "__id__": 360 + "__id__": 396 }, "_lpos": { "__type__": "cc.Vec3", @@ -6161,11 +6957,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 355 + "__id__": 391 }, "_enabled": true, "__prefab": { - "__id__": 357 + "__id__": 393 }, "_contentSize": { "__type__": "cc.Size", @@ -6189,11 +6985,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 355 + "__id__": 391 }, "_enabled": true, "__prefab": { - "__id__": 359 + "__id__": 395 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6247,11 +7043,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 328 + "__id__": 364 }, "_enabled": true, "__prefab": { - "__id__": 362 + "__id__": 398 }, "_contentSize": { "__type__": "cc.Size", @@ -6275,11 +7071,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 328 + "__id__": 364 }, "_enabled": true, "__prefab": { - "__id__": 364 + "__id__": 400 }, "_type": 0, "_inverted": false, @@ -6297,11 +7093,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 328 + "__id__": 364 }, "_enabled": true, "__prefab": { - "__id__": 366 + "__id__": 402 }, "_alignFlags": 45, "_target": null, @@ -6333,11 +7129,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 328 + "__id__": 364 }, "_enabled": true, "__prefab": { - "__id__": 368 + "__id__": 404 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6398,17 +7194,17 @@ "_active": false, "_components": [ { - "__id__": 371 + "__id__": 407 }, { - "__id__": 373 + "__id__": 409 }, { - "__id__": 375 + "__id__": 411 } ], "_prefab": { - "__id__": 377 + "__id__": 413 }, "_lpos": { "__type__": "cc.Vec3", @@ -6445,11 +7241,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 370 + "__id__": 406 }, "_enabled": true, "__prefab": { - "__id__": 372 + "__id__": 408 }, "_contentSize": { "__type__": "cc.Size", @@ -6473,11 +7269,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 370 + "__id__": 406 }, "_enabled": true, "__prefab": { - "__id__": 374 + "__id__": 410 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6521,11 +7317,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 370 + "__id__": 406 }, "_enabled": true, "__prefab": { - "__id__": 376 + "__id__": 412 }, "_alignFlags": 45, "_target": null, @@ -6576,14 +7372,14 @@ "_active": false, "_components": [ { - "__id__": 379 + "__id__": 415 }, { - "__id__": 381 + "__id__": 417 } ], "_prefab": { - "__id__": 383 + "__id__": 419 }, "_lpos": { "__type__": "cc.Vec3", @@ -6620,11 +7416,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 378 + "__id__": 414 }, "_enabled": true, "__prefab": { - "__id__": 380 + "__id__": 416 }, "_contentSize": { "__type__": "cc.Size", @@ -6648,11 +7444,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 378 + "__id__": 414 }, "_enabled": true, "__prefab": { - "__id__": 382 + "__id__": 418 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6733,7 +7529,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 385 + "__id__": 421 }, "_contentSize": { "__type__": "cc.Size", @@ -6761,7 +7557,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 387 + "__id__": 423 }, "icon_node": { "__id__": 245 @@ -6770,10 +7566,10 @@ "__id__": 2 }, "num_label": { - "__id__": 381 + "__id__": 417 }, "cd_mask": { - "__id__": 370 + "__id__": 406 }, "iboxPrefab": { "__uuid__": "348ec900-f7b9-440a-911e-75f9590254c7", diff --git a/assets/resources/gui/ui5.plist.meta b/assets/resources/gui/ui5.plist.meta index 009a34c6..0d56c099 100644 --- a/assets/resources/gui/ui5.plist.meta +++ b/assets/resources/gui/ui5.plist.meta @@ -3474,10 +3474,10 @@ "height": 75, "rawWidth": 75, "rawHeight": 75, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 37.5, + "borderBottom": 37.5, + "borderLeft": 37.5, + "borderRight": 37.5, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, @@ -3520,10 +3520,10 @@ "height": 75, "rawWidth": 75, "rawHeight": 75, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 37.5, + "borderBottom": 37.5, + "borderLeft": 37.5, + "borderRight": 37.5, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, @@ -3612,10 +3612,10 @@ "height": 65, "rawWidth": 65, "rawHeight": 65, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 32.5, + "borderBottom": 32.5, + "borderLeft": 32.5, + "borderRight": 32.5, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5,