添加横屏页面

This commit is contained in:
2025-05-26 19:57:17 +08:00
parent 354194358b
commit 468f40351d
71 changed files with 11796 additions and 42067 deletions

View File

@@ -0,0 +1,326 @@
{
"_$ver": 1,
"_$id": "wjk0u6h3",
"_$type": "Box",
"name": "CommonTips",
"width": 1920,
"height": 1080,
"_mouseState": 2,
"drawCallOptimize": true,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"_$comp": [
{
"_$type": "b0dfcf08-5aef-4078-8149-1fbd00d8038f",
"scriptPath": "../src/views/CommonTips.ts",
"label_title": {
"_$ref": "qawnoo6z"
},
"label_content": {
"_$ref": "jjabofyx"
},
"btn_ok": {
"_$ref": "ob8d2aj7"
},
"btn_cancel": {
"_$ref": "ikd12rw5"
},
"toggle": {
"_$ref": "g1zoj9qx"
},
"check": {
"_$ref": "cofalite"
}
}
],
"_$child": [
{
"_$id": "h6qqt6bd",
"_$type": "Image",
"name": "Image",
"width": 1920,
"height": 1080,
"alpha": 0.6,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"skin": "res://a98f334e-ce04-4cd0-8fc5-bbdf9b048609",
"color": "#000000"
},
{
"_$id": "r463so4u",
"_$type": "Box",
"name": "center",
"x": 540,
"y": 330,
"width": 840,
"height": 420,
"_mouseState": 2,
"centerX": 0,
"centerY": 0,
"_$child": [
{
"_$id": "wfz9ah0j",
"_$type": "Sprite",
"name": "Sprite",
"width": 840,
"height": 420,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 36,
"rt": 36,
"lb": 36,
"rb": 36,
"percent": true,
"lineWidth": 1,
"fillColor": "#FFFFFF"
}
]
},
{
"_$id": "kdbuqg4b",
"_$type": "VBox",
"name": "buttons",
"x": 114,
"y": 106,
"width": 612,
"height": 350,
"bottom": -36,
"centerX": 0,
"space": 27,
"align": "center"
},
{
"_$id": "qawnoo6z",
"_$type": "Label",
"name": "label_title",
"x": 120,
"y": 24,
"width": 600,
"height": 60,
"top": 24,
"centerX": 0,
"text": "Start New Game",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 48,
"color": "rgba(45, 49, 56, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "jjabofyx",
"_$type": "Label",
"name": "label_content",
"x": 120,
"y": 100,
"width": 600,
"height": 120,
"top": 100,
"centerX": 0,
"text": "Current game progress will be lost",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 36,
"color": "rgba(45, 49, 56, 1)",
"align": "center",
"valign": "top",
"padding": "0,0,0,0"
},
{
"_$id": "k3fjill3",
"_$type": "HBox",
"name": "HBox",
"x": 60,
"y": 220,
"width": 720,
"height": 96,
"centerX": 0,
"space": 120,
"align": "middle",
"_$child": [
{
"_$id": "ob8d2aj7",
"_$type": "Box",
"name": "btn_ok",
"width": 300,
"height": 96,
"_$child": [
{
"_$id": "bqp1fe7k",
"_$type": "Sprite",
"name": "Sprite",
"width": 300,
"height": 96,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "q2n5i4r9",
"_$type": "Label",
"name": "Label",
"width": 300,
"height": 96,
"centerX": 0,
"centerY": 0,
"text": "OK",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 36,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "ikd12rw5",
"_$type": "Box",
"name": "btn_cancel",
"x": 420,
"width": 300,
"height": 96,
"_$child": [
{
"_$id": "he6hpns9",
"_$type": "Sprite",
"name": "Sprite",
"width": 300,
"height": 96,
"alpha": 0.1,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "qa4fm6cu",
"_$type": "Label",
"name": "Label",
"width": 300,
"height": 96,
"centerX": 0,
"centerY": 0,
"text": "Cancel",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 36,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
{
"_$id": "g1zoj9qx",
"_$type": "Box",
"name": "toggle",
"x": 226,
"y": 339,
"width": 64,
"height": 64,
"_$child": [
{
"_$id": "74puwx15",
"_$type": "Sprite",
"name": "Sprite",
"width": 64,
"height": 64,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 10,
"rt": 10,
"lb": 10,
"rb": 10,
"percent": true,
"lineWidth": 2,
"lineColor": "#000000",
"fillColor": "#FFFFFF"
}
],
"_$child": [
{
"_$id": "cofalite",
"_$type": "Image",
"name": "Image",
"x": 14,
"y": 18,
"width": 36,
"height": 28,
"centerX": 0,
"centerY": 0,
"skin": "res://6f23a1ca-70f5-467a-afc3-5b178a851423",
"useSourceSize": true,
"color": "#ffffff"
}
]
},
{
"_$id": "jf00gv80",
"_$type": "Label",
"name": "Label",
"x": 78,
"y": 2,
"width": 400,
"height": 64,
"left": 78,
"centerY": 2,
"text": "Don't ask me agin",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 36,
"color": "rgba(128, 144, 144, 1)",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
}
]
}