perf: 完善 UI

This commit is contained in:
richarjiang
2026-05-06 11:58:57 +08:00
parent b288c0bc8f
commit 168288f6ae
9 changed files with 1921 additions and 560 deletions

View File

@@ -52,17 +52,17 @@
"_active": true,
"_components": [
{
"__id__": 246
"__id__": 258
},
{
"__id__": 248
"__id__": 260
},
{
"__id__": 250
"__id__": 262
}
],
"_prefab": {
"__id__": 252
"__id__": 264
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5057,19 +5057,22 @@
},
{
"__id__": 229
},
{
"__id__": 241
}
],
"_active": true,
"_components": [
{
"__id__": 241
"__id__": 253
},
{
"__id__": 243
"__id__": 255
}
],
"_prefab": {
"__id__": 245
"__id__": 257
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5868,6 +5871,282 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "MileStone",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 208
},
"_children": [
{
"__id__": 242
}
],
"_active": true,
"_components": [
{
"__id__": 248
},
{
"__id__": 250
}
],
"_prefab": {
"__id__": 252
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 455.467,
"y": 4.346,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.25,
"y": 0.25,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "IconMileStone",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 241
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 243
},
{
"__id__": 245
}
],
"_prefab": {
"__id__": 247
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -2.024,
"y": -9.576,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.8,
"y": 0.8,
"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__": 242
},
"_enabled": true,
"__prefab": {
"__id__": 244
},
"_contentSize": {
"__type__": "cc.Size",
"width": 392,
"height": 380
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bcQjzG0s9Ob4XaSq6xDWFX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 242
},
"_enabled": true,
"__prefab": {
"__id__": 246
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "447f92b8-70aa-462a-8caa-b91321c8995b@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "60d6pHtMNDUqKFQWVz7mBF"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "33Umm9BjVJz4bLO/ZtY6dM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 241
},
"_enabled": true,
"__prefab": {
"__id__": 249
},
"_contentSize": {
"__type__": "cc.Size",
"width": 416,
"height": 416
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bdv/P/CP1O95HsemlJPz71"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 241
},
"_enabled": true,
"__prefab": {
"__id__": 251
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 186,
"g": 255,
"b": 177,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7a17df33-9d28-4272-9f3e-f336af8d4afb@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "041llJlEtAUJB3RW6WtAgE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "bcSVywsB5LoK44DA0vzk/F",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -5878,7 +6157,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 242
"__id__": 254
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5906,7 +6185,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 244
"__id__": 256
},
"_alignFlags": 4,
"_target": null,
@@ -5955,7 +6234,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 247
"__id__": 259
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5983,7 +6262,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 249
"__id__": 261
},
"_alignFlags": 45,
"_target": null,
@@ -6019,7 +6298,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 251
"__id__": 263
},
"startGameBtn": {
"__id__": 81