fix(gui): 调整通知和角色控制器的UI布局与样式

- 更新通知弹窗的宽度、位置和背景图,使其更美观
- 调整角色控制器按钮的位置、尺寸和边距,优化操作体验
- 修复角色控制器中一个组件的激活状态
This commit is contained in:
walkpan
2026-04-06 09:37:37 +08:00
parent dc9c6cc94a
commit 93e5bb9fcd
5 changed files with 859 additions and 672 deletions

View File

@@ -105,7 +105,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": -4.773,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -145,7 +145,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 680, "width": 760,
"height": 80 "height": 80
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -182,7 +182,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@7f50d", "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@eb418",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 1, "_type": 1,
@@ -198,7 +198,7 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": { "_atlas": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73",
"__expectedType__": "cc.SpriteAtlas" "__expectedType__": "cc.SpriteAtlas"
}, },
"_id": "" "_id": ""
@@ -221,8 +221,8 @@
}, },
"_alignFlags": 40, "_alignFlags": 40,
"_target": null, "_target": null,
"_left": 10, "_left": -30,
"_right": 10, "_right": -30,
"_top": 0, "_top": 0,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,

View File

@@ -476,8 +476,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -247.976, "x": -286.28,
"y": 1140.1399999999999, "y": 1110.85,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -570,8 +570,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 210, "width": 179,
"height": 100 "height": 140
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -607,12 +607,12 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@8e2b9", "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@c874e",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 1, "_type": 1,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 0, "_sizeMode": 1,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
@@ -623,7 +623,7 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": true, "_useGrayscale": true,
"_atlas": { "_atlas": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73",
"__expectedType__": "cc.SpriteAtlas" "__expectedType__": "cc.SpriteAtlas"
}, },
"_id": "" "_id": ""
@@ -646,9 +646,9 @@
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
"_left": 0, "_left": 15.5,
"_right": 0, "_right": 15.5,
"_top": 0, "_top": -40,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
@@ -677,8 +677,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "2dNqi4EsNF74bvqXfxOncz", "fileId": "2dNqi4EsNF74bvqXfxOncz",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -690,7 +688,7 @@
"__id__": 15 "__id__": 15
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 25 "__id__": 25
@@ -994,8 +992,8 @@
"_alignFlags": 33, "_alignFlags": 33,
"_target": null, "_target": null,
"_left": 495.695, "_left": 495.695,
"_right": 502.976, "_right": 541.28,
"_top": 89.86000000000001, "_top": 119.1500000000002,
"_bottom": 1159.929, "_bottom": 1159.929,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

After

Width:  |  Height:  |  Size: 259 KiB