complete dc logic

This commit is contained in:
2025-05-22 10:55:37 +08:00
parent 64868a980f
commit 16a5eb9e6b
50 changed files with 811 additions and 695 deletions

View File

@@ -1,6 +1,6 @@
{
"_$ver": 1,
"_$id": "1189xhfw",
"_$id": "scvd34ii",
"_$type": "Box",
"name": "TrophyRoom",
"width": 1080,
@@ -15,16 +15,16 @@
"_$type": "554595b0-0dd8-4e4b-8073-8d775219659c",
"scriptPath": "../src/views/TrophyRoom.ts",
"btn_back": {
"_$ref": "frfomxcb"
"_$ref": "12tz34f8"
},
"obj_items": {
"_$ref": "jt9xxw2i"
"_$ref": "k3gvjlus"
}
}
],
"_$child": [
{
"_$id": "ei2oglth",
"_$id": "lj5633i3",
"_$type": "Image",
"name": "bg",
"width": 1080,
@@ -37,7 +37,7 @@
"color": "#f5f7fb"
},
{
"_$id": "jgayyog0",
"_$id": "z1p4zsvs",
"_$type": "Box",
"name": "back",
"x": 38,
@@ -49,7 +49,7 @@
"centerY": -850,
"_$child": [
{
"_$id": "frfomxcb",
"_$id": "12tz34f8",
"_$type": "Button",
"name": "btn_back",
"width": 69,
@@ -63,7 +63,7 @@
"labelVAlign": "middle"
},
{
"_$id": "6dm2cil7",
"_$id": "nyfbewpo",
"_$type": "Label",
"name": "title",
"x": 92,
@@ -81,632 +81,36 @@
]
},
{
"_$id": "457s8lgx",
"_$type": "Box",
"name": "center",
"y": 188,
"width": 1080,
"height": 1632,
"bottom": 100,
"_$id": "8jansi3q",
"_$type": "Panel",
"name": "Panel",
"x": 48,
"y": 200,
"width": 984,
"height": 1720,
"_mouseState": 2,
"top": 200,
"bottom": 0,
"centerX": 0,
"scrollType": 2,
"_$child": [
{
"_$id": "sf0c1is5",
"_$type": "Sprite",
"name": "Sprite",
"x": 48,
"width": 984,
"height": 72,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 0,
"rt": 0,
"lb": 0,
"rb": 0,
"percent": true,
"lineWidth": 1,
"fillColor": "#FFFFFF"
}
],
"_$child": [
{
"_$id": "aeojubkf",
"_$type": "Label",
"name": "Label",
"width": 984,
"height": 72,
"centerX": 0,
"centerY": 0,
"text": "2025",
"fontSize": 48,
"color": "rgba(84, 89, 98, 1)",
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "jt9xxw2i",
"_$id": "k3gvjlus",
"_$type": "VBox",
"name": "items",
"x": 60,
"y": 88,
"width": 960,
"height": 1500,
"centerX": 0,
"space": 128,
"width": 984,
"height": 2000,
"space": 40,
"align": "center",
"_$child": [
{
"_$id": "rtjlzxrg",
"_$type": "Box",
"name": "Box(1)",
"width": 960,
"height": 288,
"_$child": [
{
"_$id": "sxhnu7s0",
"_$type": "HBox",
"name": "HBox",
"width": 960,
"height": 288,
"space": 48,
"align": "middle",
"_$child": [
{
"_$id": "ahv6vinq",
"_$type": "Box",
"name": "Box(1)",
"width": 288,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "xs2facku"
},
"icon": {
"_$ref": "i99wsuz9"
},
"label_count": {
"_$ref": "8f3q88gt"
},
"label_month": {
"_$ref": "rnb9of21"
}
}
],
"_$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",
"name": "icon",
"width": 288,
"height": 288,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "8f3q88gt",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"width": 72,
"height": 20,
"centerX": 0,
"text": "03/20",
"fontSize": 24,
"color": "rgba(0, 0, 0, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "rnb9of21",
"_$type": "Label",
"name": "month",
"x": 94,
"y": 334,
"width": 100,
"height": 60,
"bottom": -106,
"centerX": 0,
"text": "Otc",
"fontSize": 42,
"color": "rgba(167, 171, 179, 1)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "3dpnbnbm",
"_$type": "Box",
"name": "Box(2)",
"x": 336,
"width": 288,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "etn7qmiw"
},
"icon": {
"_$ref": "7hjok1ev"
},
"label_count": {
"_$ref": "koikjqiv"
},
"label_month": {
"_$ref": "kpfyndbn"
}
}
],
"_$child": [
{
"_$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,
"height": 288,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "koikjqiv",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"width": 72,
"height": 20,
"centerX": 0,
"text": "03/20",
"fontSize": 24,
"color": "rgba(0, 0, 0, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "kpfyndbn",
"_$type": "Label",
"name": "month",
"x": 94,
"y": 334,
"width": 100,
"height": 60,
"bottom": -106,
"centerX": 0,
"text": "Otc",
"fontSize": 42,
"color": "rgba(167, 171, 179, 1)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "4hfbjkna",
"_$type": "Box",
"name": "Box(3)",
"x": 672,
"width": 288,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "n1srjbm6"
},
"icon": {
"_$ref": "r09n4fhm"
},
"label_count": {
"_$ref": "5lcf8a4b"
},
"label_month": {
"_$ref": "pf8nfx2v"
}
}
],
"_$child": [
{
"_$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,
"height": 288,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "5lcf8a4b",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"width": 72,
"height": 20,
"centerX": 0,
"text": "03/20",
"fontSize": 24,
"color": "rgba(0, 0, 0, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "pf8nfx2v",
"_$type": "Label",
"name": "month",
"x": 94,
"y": 334,
"width": 100,
"height": 60,
"bottom": -106,
"centerX": 0,
"text": "Otc",
"fontSize": 42,
"color": "rgba(167, 171, 179, 1)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
{
"_$id": "908k43gz",
"_$type": "Sprite",
"name": "Sprite",
"y": 288,
"width": 960,
"height": 18,
"_gcmds": [
{
"_$type": "DrawRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"percent": true,
"lineWidth": 1,
"fillColor": "#ffffff"
}
]
}
]
},
{
"_$id": "d57ox1j2",
"_$type": "Box",
"name": "Box(2)",
"y": 416,
"width": 960,
"height": 288,
"_$child": [
{
"_$id": "0b9gkf05",
"_$type": "HBox",
"name": "HBox",
"width": 960,
"height": 288,
"space": 48,
"align": "middle",
"_$child": [
{
"_$id": "jp4pzvxr",
"_$type": "Box",
"name": "Box(1)",
"width": 288,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "u167io9a"
},
"icon": {
"_$ref": "umqtxrh0"
},
"label_count": {
"_$ref": "cixct5br"
},
"label_month": {
"_$ref": "7343tj11"
}
}
],
"_$child": [
{
"_$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,
"height": 288,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "cixct5br",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"width": 72,
"height": 20,
"centerX": 0,
"text": "03/20",
"fontSize": 24,
"color": "rgba(0, 0, 0, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "7343tj11",
"_$type": "Label",
"name": "month",
"x": 94,
"y": 334,
"width": 100,
"height": 60,
"bottom": -106,
"centerX": 0,
"text": "Otc",
"fontSize": 42,
"color": "rgba(167, 171, 179, 1)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "hx6pe1ov",
"_$type": "Box",
"name": "Box(2)",
"x": 336,
"width": 288,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "74es56r4"
},
"icon": {
"_$ref": "tcdkrp1u"
},
"label_count": {
"_$ref": "n8uw70hh"
},
"label_month": {
"_$ref": "1fmgl5ec"
}
}
],
"_$child": [
{
"_$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,
"height": 288,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "n8uw70hh",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"width": 72,
"height": 20,
"centerX": 0,
"text": "03/20",
"fontSize": 24,
"color": "rgba(0, 0, 0, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "1fmgl5ec",
"_$type": "Label",
"name": "month",
"x": 94,
"y": 334,
"width": 100,
"height": 60,
"bottom": -106,
"centerX": 0,
"text": "Otc",
"fontSize": 42,
"color": "rgba(167, 171, 179, 1)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "crbop6ic",
"_$type": "Box",
"name": "Box(3)",
"x": 672,
"width": 288,
"height": 288,
"_$comp": [
{
"_$type": "79064920-30a6-4b11-a82e-bbdd4112c4e1",
"scriptPath": "../src/views/TrophyUnit.ts",
"bg_light": {
"_$ref": "k1u9d18x"
},
"icon": {
"_$ref": "js7oqbfw"
},
"label_count": {
"_$ref": "tyah3p0y"
},
"label_month": {
"_$ref": "k8xv4u65"
}
}
],
"_$child": [
{
"_$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,
"height": 288,
"skin": "res://7d235ac1-6755-4409-ab86-23aaf41e1537",
"useSourceSize": true,
"color": "#ffffff"
},
{
"_$id": "tyah3p0y",
"_$type": "Label",
"name": "label_count",
"x": 108,
"y": 233,
"width": 72,
"height": 20,
"centerX": 0,
"text": "03/20",
"fontSize": 24,
"color": "rgba(0, 0, 0, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "k8xv4u65",
"_$type": "Label",
"name": "month",
"x": 94,
"y": 334,
"width": 100,
"height": 60,
"bottom": -106,
"centerX": 0,
"text": "Otc",
"fontSize": 42,
"color": "rgba(167, 171, 179, 1)",
"bold": true,
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
{
"_$id": "qddl5vua",
"_$type": "Sprite",
"name": "Sprite",
"y": 288,
"width": 960,
"height": 18,
"_gcmds": [
{
"_$type": "DrawRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"percent": true,
"lineWidth": 1,
"fillColor": "#ffffff"
}
]
}
]
"_$id": "0cxaz0lv",
"_$prefab": "381b129b-cb47-4a77-805d-6d4637bc67b8",
"name": "TrophyRoomYear",
"active": true,
"x": 0,
"y": 0,
"visible": true
}
]
}