feat(gui): 更新UI元素样式和布局

调整按钮、进度条和背景的样式及位置
更新精灵图集引用和尺寸配置
修改进度条模式和填充颜色
This commit is contained in:
panw
2025-12-22 16:53:10 +08:00
parent dfa8e93b52
commit a8e3723f3d
7 changed files with 13295 additions and 5896 deletions

View File

@@ -179,7 +179,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@c4cca",
"__uuid__": "666aafac-e2c4-4580-91da-70192c286746@85a4a",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@@ -194,7 +194,10 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_atlas": {
"__uuid__": "666aafac-e2c4-4580-91da-70192c286746",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
@@ -276,7 +279,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -150,
"x": -147,
"y": 0,
"z": 0
},
@@ -317,8 +320,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 15
"width": 294,
"height": 9
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -354,10 +357,10 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e@439bb",
"__uuid__": "666aafac-e2c4-4580-91da-70192c286746@c77b0",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 3,
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
@@ -370,7 +373,7 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "ab41374b-398e-499c-8501-75493c8ff83e",
"__uuid__": "666aafac-e2c4-4580-91da-70192c286746",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
@@ -393,10 +396,10 @@
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_left": 3,
"_right": 3,
"_top": 3,
"_bottom": 3,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -437,7 +440,7 @@
"__id__": 1
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 19
@@ -694,9 +697,9 @@
"_barSprite": {
"__id__": 13
},
"_mode": 2,
"_totalLength": 1,
"_progress": 0.5,
"_mode": 0,
"_totalLength": 296,
"_progress": 1,
"_reverse": false,
"_id": ""
},