继续补充UI细节

This commit is contained in:
2025-05-21 11:08:50 +08:00
parent 2e384f43e4
commit 594a295b5a
26 changed files with 251 additions and 85 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 502 B

View File

@@ -1,6 +0,0 @@
{
"uuid": "01e2c8ef-cb3b-4633-acf1-85ae9e5e0062",
"importer": {
"textureType": 2
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 B

View File

@@ -1,6 +0,0 @@
{
"uuid": "a40c7d39-0906-4227-8784-e7f3eebba541",
"importer": {
"textureType": 2
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,14 @@
{
"uuid": "d79c761b-6bc3-49e0-9e51-bd2ba385cfe0",
"importer": {
"textureType": 2,
"stateNum": 3,
"sizeGrid": [
10,
10,
10,
10,
0
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,7 @@
{
"uuid": "a62dfa59-dd5c-491c-8d7a-346205a51a5b",
"importer": {
"textureType": 2,
"stateNum": 3
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,7 @@
{
"uuid": "c1da2147-6391-438e-a9a3-6f2dfb6b32d3",
"importer": {
"textureType": 2,
"stateNum": 3
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,13 @@
{
"uuid": "fc3bb457-8d97-4456-b6b6-304c6b064689",
"importer": {
"textureType": 2,
"sizeGrid": [
11,
9,
11,
9,
0
]
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

View File

@@ -1,6 +0,0 @@
{
"uuid": "0a33c495-5713-4f5d-bb30-d0021966cf7e",
"importer": {
"textureType": 2
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

View File

@@ -0,0 +1,6 @@
{
"uuid": "d0c3b007-6036-460a-b23d-09d6f2492886",
"importer": {
"textureType": 2
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -0,0 +1,6 @@
{
"uuid": "338cf96d-06aa-4f4a-becc-470188c6fac2",
"importer": {
"textureType": 2
}
}

View File

@@ -24,10 +24,10 @@
"_$ref": "e7a1ntdg"
},
"btn_left": {
"_$ref": "vy67efg7"
"_$ref": "ydwm2tu6"
},
"btn_right": {
"_$ref": "55ije39v"
"_$ref": "e2xuqxps"
},
"bg_dc": {
"_$ref": "hdia0flx"
@@ -250,28 +250,81 @@
]
},
{
"_$id": "vy67efg7",
"_$type": "Image",
"_$id": "ydwm2tu6",
"_$type": "Box",
"name": "btn_left",
"x": 50,
"y": 343,
"width": 21,
"height": 60,
"skin": "res://01e2c8ef-cb3b-4633-acf1-85ae9e5e0062",
"useSourceSize": true,
"color": "#ffffff"
"x": 60,
"y": 378,
"width": 20,
"height": 66,
"anchorX": 0.5,
"anchorY": 0.5,
"rotation": 180,
"_$child": [
{
"_$id": "a1eyth57",
"_$type": "Sprite",
"name": "Sprite",
"width": 20,
"height": 66,
"alpha": 0.6,
"_gcmds": [
{
"_$type": "DrawPolyCmd",
"x": 0,
"y": 0,
"points": [
0,
0,
20,
33,
0,
66
],
"lineWidth": 1,
"fillColor": "#FFFFFF"
}
]
}
]
},
{
"_$id": "55ije39v",
"_$type": "Image",
"_$id": "e2xuqxps",
"_$type": "Box",
"name": "btn_right",
"x": 996,
"y": 337,
"width": 48,
"height": 97,
"skin": "res://a40c7d39-0906-4227-8784-e7f3eebba541",
"useSourceSize": true,
"color": "#ffffff"
"x": 1012,
"y": 378,
"width": 20,
"height": 66,
"anchorX": 0.5,
"anchorY": 0.5,
"_$child": [
{
"_$id": "q72t1vv2",
"_$type": "Sprite",
"name": "Sprite",
"width": 20,
"height": 66,
"alpha": 0.6,
"_gcmds": [
{
"_$type": "DrawPolyCmd",
"x": 0,
"y": 0,
"points": [
0,
0,
20,
33,
0,
66
],
"lineWidth": 1,
"fillColor": "#FFFFFF"
}
]
}
]
}
]
},

View File

@@ -209,11 +209,11 @@
"_$id": "t0v4lr20",
"_$type": "Label",
"name": "Label",
"y": 184,
"y": 226,
"width": 984,
"height": 100,
"centerX": 0,
"centerY": -189,
"centerY": -147,
"text": "Congratulations!",
"fontSize": 80,
"color": "rgba(0, 0, 0, 1)",

View File

@@ -169,6 +169,9 @@
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "xs2facku"
},
"icon": {
"_$ref": "i99wsuz9"
},
@@ -181,6 +184,15 @@
}
],
"_$child": [
{
"_$id": "xs2facku",
"_$type": "Image",
"name": "bg_light",
"width": 288,
"height": 288,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "i99wsuz9",
"_$type": "Image",
@@ -228,7 +240,7 @@
]
},
{
"_$id": "5a72w6r6",
"_$id": "3dpnbnbm",
"_$type": "Box",
"name": "Box(2)",
"x": 336,
@@ -238,20 +250,32 @@
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "etn7qmiw"
},
"icon": {
"_$ref": "qtzrgk8b"
"_$ref": "7hjok1ev"
},
"label_count": {
"_$ref": "nejjxzap"
"_$ref": "koikjqiv"
},
"label_month": {
"_$ref": "kyfur82i"
"_$ref": "kpfyndbn"
}
}
],
"_$child": [
{
"_$id": "qtzrgk8b",
"_$id": "etn7qmiw",
"_$type": "Image",
"name": "bg_light",
"width": 288,
"height": 288,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "7hjok1ev",
"_$type": "Image",
"name": "icon",
"width": 288,
@@ -261,7 +285,7 @@
"color": "#ffffff"
},
{
"_$id": "nejjxzap",
"_$id": "koikjqiv",
"_$type": "Label",
"name": "label_count",
"x": 108,
@@ -278,7 +302,7 @@
"padding": "0,0,0,0"
},
{
"_$id": "kyfur82i",
"_$id": "kpfyndbn",
"_$type": "Label",
"name": "month",
"x": 94,
@@ -297,7 +321,7 @@
]
},
{
"_$id": "ou2bc7ya",
"_$id": "4hfbjkna",
"_$type": "Box",
"name": "Box(3)",
"x": 672,
@@ -307,20 +331,32 @@
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "n1srjbm6"
},
"icon": {
"_$ref": "60czvplu"
"_$ref": "r09n4fhm"
},
"label_count": {
"_$ref": "z9p6fvm8"
"_$ref": "5lcf8a4b"
},
"label_month": {
"_$ref": "qt83mjyk"
"_$ref": "pf8nfx2v"
}
}
],
"_$child": [
{
"_$id": "60czvplu",
"_$id": "n1srjbm6",
"_$type": "Image",
"name": "bg_light",
"width": 288,
"height": 288,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "r09n4fhm",
"_$type": "Image",
"name": "icon",
"width": 288,
@@ -330,7 +366,7 @@
"color": "#ffffff"
},
{
"_$id": "z9p6fvm8",
"_$id": "5lcf8a4b",
"_$type": "Label",
"name": "label_count",
"x": 108,
@@ -347,7 +383,7 @@
"padding": "0,0,0,0"
},
{
"_$id": "qt83mjyk",
"_$id": "pf8nfx2v",
"_$type": "Label",
"name": "month",
"x": 94,
@@ -390,7 +426,7 @@
]
},
{
"_$id": "qafamkwj",
"_$id": "d57ox1j2",
"_$type": "Box",
"name": "Box(2)",
"y": 416,
@@ -398,7 +434,7 @@
"height": 288,
"_$child": [
{
"_$id": "pqcum5of",
"_$id": "0b9gkf05",
"_$type": "HBox",
"name": "HBox",
"width": 960,
@@ -407,7 +443,7 @@
"align": "middle",
"_$child": [
{
"_$id": "r4wq2wm7",
"_$id": "jp4pzvxr",
"_$type": "Box",
"name": "Box(1)",
"width": 288,
@@ -416,20 +452,32 @@
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "u167io9a"
},
"icon": {
"_$ref": "f8qx50up"
"_$ref": "umqtxrh0"
},
"label_count": {
"_$ref": "sx3ojzwo"
"_$ref": "cixct5br"
},
"label_month": {
"_$ref": "49lxnrrm"
"_$ref": "7343tj11"
}
}
],
"_$child": [
{
"_$id": "f8qx50up",
"_$id": "u167io9a",
"_$type": "Image",
"name": "bg_light",
"width": 288,
"height": 288,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "umqtxrh0",
"_$type": "Image",
"name": "icon",
"width": 288,
@@ -439,7 +487,7 @@
"color": "#ffffff"
},
{
"_$id": "sx3ojzwo",
"_$id": "cixct5br",
"_$type": "Label",
"name": "label_count",
"x": 108,
@@ -456,7 +504,7 @@
"padding": "0,0,0,0"
},
{
"_$id": "49lxnrrm",
"_$id": "7343tj11",
"_$type": "Label",
"name": "month",
"x": 94,
@@ -475,7 +523,7 @@
]
},
{
"_$id": "fvekysyv",
"_$id": "hx6pe1ov",
"_$type": "Box",
"name": "Box(2)",
"x": 336,
@@ -485,20 +533,32 @@
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "74es56r4"
},
"icon": {
"_$ref": "7er8q2x5"
"_$ref": "tcdkrp1u"
},
"label_count": {
"_$ref": "6vznujfd"
"_$ref": "n8uw70hh"
},
"label_month": {
"_$ref": "0jjnp6zh"
"_$ref": "1fmgl5ec"
}
}
],
"_$child": [
{
"_$id": "7er8q2x5",
"_$id": "74es56r4",
"_$type": "Image",
"name": "bg_light",
"width": 288,
"height": 288,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "tcdkrp1u",
"_$type": "Image",
"name": "icon",
"width": 288,
@@ -508,7 +568,7 @@
"color": "#ffffff"
},
{
"_$id": "6vznujfd",
"_$id": "n8uw70hh",
"_$type": "Label",
"name": "label_count",
"x": 108,
@@ -525,7 +585,7 @@
"padding": "0,0,0,0"
},
{
"_$id": "0jjnp6zh",
"_$id": "1fmgl5ec",
"_$type": "Label",
"name": "month",
"x": 94,
@@ -544,7 +604,7 @@
]
},
{
"_$id": "3sbxo969",
"_$id": "crbop6ic",
"_$type": "Box",
"name": "Box(3)",
"x": 672,
@@ -554,20 +614,32 @@
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "k1u9d18x"
},
"icon": {
"_$ref": "xk7btt6d"
"_$ref": "js7oqbfw"
},
"label_count": {
"_$ref": "42lm20bs"
"_$ref": "tyah3p0y"
},
"label_month": {
"_$ref": "ch29xisl"
"_$ref": "k8xv4u65"
}
}
],
"_$child": [
{
"_$id": "xk7btt6d",
"_$id": "k1u9d18x",
"_$type": "Image",
"name": "bg_light",
"width": 288,
"height": 288,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "js7oqbfw",
"_$type": "Image",
"name": "icon",
"width": 288,
@@ -577,7 +649,7 @@
"color": "#ffffff"
},
{
"_$id": "42lm20bs",
"_$id": "tyah3p0y",
"_$type": "Label",
"name": "label_count",
"x": 108,
@@ -594,7 +666,7 @@
"padding": "0,0,0,0"
},
{
"_$id": "ch29xisl",
"_$id": "k8xv4u65",
"_$type": "Label",
"name": "month",
"x": 94,
@@ -615,7 +687,7 @@
]
},
{
"_$id": "fmb77cdv",
"_$id": "qddl5vua",
"_$type": "Sprite",
"name": "Sprite",
"y": 288,