add trophy logic

This commit is contained in:
2025-05-22 14:54:48 +08:00
parent 16a5eb9e6b
commit 2bf07ab8f6
27 changed files with 587 additions and 127 deletions

View File

@@ -1,6 +1,6 @@
{
"_$ver": 1,
"_$id": "qayij6fq",
"_$id": "42qxmdwy",
"_$type": "VBox",
"name": "TrophyRoomCell",
"y": 120,
@@ -10,16 +10,16 @@
"align": "center",
"_$child": [
{
"_$id": "edutm8p9",
"_$id": "od2un0s9",
"_$type": "HBox",
"name": "HBox",
"width": 984,
"height": 288,
"space": 48,
"space": 0,
"align": "middle",
"_$child": [
{
"_$id": "npywocl2",
"_$id": "t4qzx693",
"_$type": "Box",
"name": "Box(1)",
"width": 328,
@@ -29,22 +29,22 @@
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "7a93ikng"
"_$ref": "rnanoiet"
},
"icon": {
"_$ref": "232cncr7"
"_$ref": "cnlfb8yz"
},
"label_count": {
"_$ref": "jafwv0lk"
"_$ref": "2bldvkij"
},
"label_month": {
"_$ref": "5ifvmsv6"
"_$ref": "5wwqja5x"
}
}
],
"_$child": [
{
"_$id": "7a93ikng",
"_$id": "rnanoiet",
"_$type": "Image",
"name": "bg_light",
"x": 20,
@@ -55,7 +55,7 @@
"color": "#ffffff"
},
{
"_$id": "232cncr7",
"_$id": "cnlfb8yz",
"_$type": "Image",
"name": "icon",
"x": 20,
@@ -63,15 +63,14 @@
"height": 288,
"centerX": 0,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "jafwv0lk",
"_$id": "2bldvkij",
"_$type": "Label",
"name": "label_count",
"x": 128,
"y": 233,
"y": 234,
"width": 72,
"height": 20,
"centerX": 0,
@@ -84,7 +83,7 @@
"padding": "0,0,0,0"
},
{
"_$id": "5ifvmsv6",
"_$id": "5wwqja5x",
"_$type": "Label",
"name": "month",
"x": 114,
@@ -103,56 +102,59 @@
]
},
{
"_$id": "h293u30o",
"_$id": "u3azxf82",
"_$type": "Box",
"name": "Box(2)",
"x": 376,
"width": 288,
"x": 328,
"width": 328,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "tsk96lzw"
"_$ref": "tnjynmgf"
},
"icon": {
"_$ref": "vnxa59lv"
"_$ref": "0qe74n99"
},
"label_count": {
"_$ref": "3matj08s"
"_$ref": "9dsn53bb"
},
"label_month": {
"_$ref": "z4msejq5"
"_$ref": "zse8y0wo"
}
}
],
"_$child": [
{
"_$id": "tsk96lzw",
"_$id": "tnjynmgf",
"_$type": "Image",
"name": "bg_light",
"x": 20,
"width": 288,
"height": 288,
"centerX": 0,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "vnxa59lv",
"_$id": "0qe74n99",
"_$type": "Image",
"name": "icon",
"x": 20,
"width": 288,
"height": 288,
"centerX": 0,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "3matj08s",
"_$id": "9dsn53bb",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"x": 128,
"y": 234,
"width": 72,
"height": 20,
"centerX": 0,
@@ -165,10 +167,10 @@
"padding": "0,0,0,0"
},
{
"_$id": "z4msejq5",
"_$id": "zse8y0wo",
"_$type": "Label",
"name": "month",
"x": 94,
"x": 114,
"y": 334,
"width": 100,
"height": 60,
@@ -184,56 +186,59 @@
]
},
{
"_$id": "g7w60s1c",
"_$id": "wle8hrmr",
"_$type": "Box",
"name": "Box(3)",
"x": 712,
"width": 288,
"x": 656,
"width": 328,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "ka2embmi"
"_$ref": "o57stpd9"
},
"icon": {
"_$ref": "d1fdbz6w"
"_$ref": "en1ghf80"
},
"label_count": {
"_$ref": "6rod3nlm"
"_$ref": "1znenn3j"
},
"label_month": {
"_$ref": "tmao7m9v"
"_$ref": "row347fk"
}
}
],
"_$child": [
{
"_$id": "ka2embmi",
"_$id": "o57stpd9",
"_$type": "Image",
"name": "bg_light",
"x": 20,
"width": 288,
"height": 288,
"centerX": 0,
"skin": "res://d0c3b007-6036-460a-b23d-09d6f2492886",
"color": "#ffffff"
},
{
"_$id": "d1fdbz6w",
"_$id": "en1ghf80",
"_$type": "Image",
"name": "icon",
"x": 20,
"width": 288,
"height": 288,
"centerX": 0,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "6rod3nlm",
"_$id": "1znenn3j",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"x": 128,
"y": 234,
"width": 72,
"height": 20,
"centerX": 0,
@@ -246,10 +251,10 @@
"padding": "0,0,0,0"
},
{
"_$id": "tmao7m9v",
"_$id": "row347fk",
"_$type": "Label",
"name": "month",
"x": 94,
"x": 114,
"y": 334,
"width": 100,
"height": 60,
@@ -267,7 +272,7 @@
]
},
{
"_$id": "btspwass",
"_$id": "so760lhs",
"_$type": "Sprite",
"name": "Sprite",
"x": 12,