feat: 完善新版 UI

This commit is contained in:
richarjiang
2026-04-24 21:44:22 +08:00
parent 4f93725779
commit ecc82ae9a7
9 changed files with 354 additions and 117 deletions

View File

@@ -2578,8 +2578,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 42.255859375,
"height": 50.4
"width": 100,
"height": 126
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2609,22 +2609,25 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 75,
"g": 75,
"b": 75,
"a": 255
},
"_string": "label",
"_string": "",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_actualFontSize": 100,
"_fontSize": 100,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_lineHeight": 100,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_font": {
"__uuid__": "fb4acba6-6bc7-4eb3-be34-8f2ac9823a80",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
@@ -4588,7 +4591,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -50.312,
"x": -33.411,
"y": -660.724,
"z": 0
},
@@ -4692,7 +4695,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -316.3829999999999,
"x": -340.505,
"y": 0,
"z": 0
},
@@ -4733,7 +4736,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 500,
"width": 464.5749969482422,
"height": 500
},
"_anchorPoint": {
@@ -4745,7 +4748,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "183qHdLEFC1ZokLeOAXS4v"
"fileId": "22LYNUfANKvbDg/dHkSUwV"
},
{
"__type__": "cc.Sprite",
@@ -4775,7 +4778,7 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 2,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -4790,7 +4793,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "91zu1RBf9Bt4h8bGbBCEf+"
"fileId": "c7gLLXlKVCfYCUhQ+jYwy8"
},
{
"__type__": "cc.PrefabInfo",
@@ -4800,7 +4803,7 @@
"asset": {
"__id__": 0
},
"fileId": "4659kCML1J8pPiZ6SwLi2f",
"fileId": "2b3ocDGTBC97mggTD6nDXO",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -4828,7 +4831,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -156.798,
"x": 104.254,
"y": 0,
"z": 0
},
@@ -4869,7 +4872,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 183.05624389648438,
"width": 700,
"height": 63
},
"_anchorPoint": {
@@ -4881,7 +4884,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5330d+6qxIN6lu5Q4FQBz1"
"fileId": "b0+JAH+KJFTaX6sbxsby5I"
},
{
"__type__": "cc.Label",
@@ -4905,14 +4908,14 @@
"b": 65,
"a": 255
},
"_string": "提示 1",
"_string": "提示 1待解锁",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_actualFontSize": 51,
"_fontSize": 50,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_overflow": 0,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "fb4acba6-6bc7-4eb3-be34-8f2ac9823a80",
@@ -4952,7 +4955,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "78Pcn0jMBHN424ZHHdibDV"
"fileId": "c7NNDKisZMy5Fsvl8wdC2E"
},
{
"__type__": "cc.PrefabInfo",
@@ -4962,7 +4965,7 @@
"asset": {
"__id__": 0
},
"fileId": "8czInr32FC34vOGyZgOJl/",
"fileId": "664aZaWkNEM5bDQ63gCwvW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -4993,7 +4996,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "37D6b3G0lPlIkr1GzIzW7S"
"fileId": "b5JmT+IIBO2oALlaZ3XK0f"
},
{
"__type__": "cc.PrefabInfo",
@@ -5003,7 +5006,7 @@
"asset": {
"__id__": 0
},
"fileId": "c16/HqrHNEsam62hN4pFaY",
"fileId": "e2UM2IG6dA9r68xaXEUXjU",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -5085,7 +5088,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -318.81899999999996,
"x": -340.505,
"y": 0,
"z": 0
},
@@ -5098,8 +5101,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.517,
"y": 0.517,
"x": 0.2,
"y": 0.2,
"z": 0.517
},
"_mobility": 0,
@@ -5126,8 +5129,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 153,
"height": 176
"width": 464.5749969482422,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5138,7 +5141,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "24Muu32rZCxahfvEnv6Lh7"
"fileId": "a3hcMCJxVH7qdhcPKmLrrR"
},
{
"__type__": "cc.Sprite",
@@ -5176,14 +5179,14 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": false,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cdz0mOL0lDGqaZ0Fj4ZhzU"
"fileId": "66jwZ+mAlCxrMD28cf4lu8"
},
{
"__type__": "cc.PrefabInfo",
@@ -5193,7 +5196,7 @@
"asset": {
"__id__": 0
},
"fileId": "ddvQFKgzlIN6PN2OGZybmB",
"fileId": "a97AobrwtDRYZeDUxWwe9q",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -5221,7 +5224,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -70.3203125,
"x": 104.254,
"y": 0,
"z": 0
},
@@ -5262,7 +5265,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 342.4312438964844,
"width": 700,
"height": 63
},
"_anchorPoint": {
@@ -5301,11 +5304,11 @@
"_string": "提示 2待解锁",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_actualFontSize": 51,
"_fontSize": 50,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_overflow": 0,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "fb4acba6-6bc7-4eb3-be34-8f2ac9823a80",
@@ -5478,8 +5481,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -314.4599999999999,
"y": 1.1368683772161603e-13,
"x": -340.505,
"y": 0,
"z": 0
},
"_lrot": {
@@ -5491,8 +5494,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.517,
"y": 0.517,
"x": 0.2,
"y": 0.2,
"z": 0.517
},
"_mobility": 0,
@@ -5519,8 +5522,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 153,
"height": 176
"width": 464.5749969482422,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5531,7 +5534,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b1wA0cLKxDJ4h7bFZLjZL4"
"fileId": "50azgTm7pCALtYSMaQYyyF"
},
{
"__type__": "cc.Sprite",
@@ -5569,14 +5572,14 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": false,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "26fAcMh7lAaZJs8caeOT/E"
"fileId": "006v9WAKhG/JqM9MRgJiRS"
},
{
"__type__": "cc.PrefabInfo",
@@ -5586,7 +5589,7 @@
"asset": {
"__id__": 0
},
"fileId": "2bZ2Ap1yhIhbzJDDtNSerr",
"fileId": "ad9JJ1JLNHtpnjMaprKGN7",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -5614,8 +5617,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -70.3203125,
"y": 1.1368683772161603e-13,
"x": 104.254,
"y": 0,
"z": 0
},
"_lrot": {
@@ -5655,7 +5658,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 343.4078063964844,
"width": 700,
"height": 63
},
"_anchorPoint": {
@@ -5694,11 +5697,11 @@
"_string": "提示 3待解锁",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_actualFontSize": 51,
"_fontSize": 50,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_overflow": 0,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "fb4acba6-6bc7-4eb3-be34-8f2ac9823a80",
@@ -5872,10 +5875,10 @@
"__prefab": {
"__id__": 244
},
"_alignFlags": 4,
"_alignFlags": 44,
"_target": null,
"_left": 0,
"_right": 0,
"_left": 106.589,
"_right": 173.411,
"_top": 0,
"_bottom": 249.27599999999995,
"_horizontalCenter": 0,
@@ -5886,7 +5889,7 @@
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalWidth": 800,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
@@ -7933,6 +7936,9 @@
"liveLabel": {
"__id__": 158
},
"titleLevelLabel": {
"__id__": 14
},
"currentLevelIndex": 0,
"clickAudio": {
"__uuid__": "a68a6314-fb7c-48a9-bd6c-0a65ef665d50",