开始添加横屏UI
This commit is contained in:
502
assets/resources/TopBar.lh
Normal file
502
assets/resources/TopBar.lh
Normal file
@@ -0,0 +1,502 @@
|
||||
{
|
||||
"_$ver": 1,
|
||||
"_$id": "n0oso5ht",
|
||||
"_$type": "Box",
|
||||
"name": "TopBar",
|
||||
"width": 1920,
|
||||
"height": 120,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "stl71oaq",
|
||||
"_$type": "HBox",
|
||||
"name": "left",
|
||||
"x": 44,
|
||||
"width": 648,
|
||||
"height": 120,
|
||||
"left": 44,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"space": 20,
|
||||
"align": "middle",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "u4b9ebng",
|
||||
"_$type": "Box",
|
||||
"name": "btn_classic",
|
||||
"y": 24,
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "9pp003sx",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "3egrc2h4",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Classic Sudoku",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "#FFFFFF",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "y4tagu3d",
|
||||
"_$type": "Box",
|
||||
"name": "btn_dc",
|
||||
"x": 332,
|
||||
"y": 24,
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "kdgs3kw9",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "8bp5ph4p",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 312,
|
||||
"height": 72,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Daily Challenge",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0",
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "cadd567d-5099-49b9-a9b3-b7c404d5fe1b",
|
||||
"scriptPath": "../src/views/TopBar.ts",
|
||||
"btn_classic": {
|
||||
"_$ref": "u4b9ebng"
|
||||
},
|
||||
"sprite_classic": {
|
||||
"_$ref": "9pp003sx"
|
||||
},
|
||||
"label_classic": {
|
||||
"_$ref": "3egrc2h4"
|
||||
},
|
||||
"btn_dc": {
|
||||
"_$ref": "y4tagu3d"
|
||||
},
|
||||
"sprite_dc": {
|
||||
"_$ref": "kdgs3kw9"
|
||||
},
|
||||
"label_dc": {
|
||||
"_$ref": "8bp5ph4p"
|
||||
},
|
||||
"obj_items": {
|
||||
"_$ref": "6g0fjeca"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "v2lfxxzc",
|
||||
"_$type": "Box",
|
||||
"name": "right",
|
||||
"x": 866,
|
||||
"width": 1054,
|
||||
"height": 120,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "c4v7pjor",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"x": -108,
|
||||
"y": 30,
|
||||
"width": 292,
|
||||
"height": 60,
|
||||
"centerY": 0,
|
||||
"text": "Difficulty:",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(167, 171, 179, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
},
|
||||
{
|
||||
"_$id": "6g0fjeca",
|
||||
"_$type": "HBox",
|
||||
"name": "items",
|
||||
"x": 144,
|
||||
"y": 30,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"centerY": 0,
|
||||
"space": 20,
|
||||
"align": "middle",
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "2cbgfaxu",
|
||||
"_$type": "Box",
|
||||
"name": "Box(1)",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "b2mvyk8s",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "rixxvje7",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Easy",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "u5q1rxe8",
|
||||
"_$type": "Box",
|
||||
"name": "Box(2)",
|
||||
"x": 152,
|
||||
"width": 189,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "6rwertze",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 189,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "7et7pcm4",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 189,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Medium",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "24u2dmu4",
|
||||
"_$type": "Box",
|
||||
"name": "Box(3)",
|
||||
"x": 361,
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "swr0juum",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "47bub8da",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 132,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Hard",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "tfj1gqhi",
|
||||
"_$type": "Box",
|
||||
"name": "Box(4)",
|
||||
"x": 513,
|
||||
"width": 162,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "ftn8440x",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 162,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "4wvr9z82",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 162,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Expert",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "xqqjuftc",
|
||||
"_$type": "Box",
|
||||
"name": "Box(5)",
|
||||
"x": 695,
|
||||
"width": 192,
|
||||
"height": 60,
|
||||
"_$comp": [
|
||||
{
|
||||
"_$type": "8857686b-9b2c-4e9c-af0f-0164c0994e46",
|
||||
"scriptPath": "../src/views/common/CommonData.ts",
|
||||
"intValue": 0,
|
||||
"strValue": ""
|
||||
}
|
||||
],
|
||||
"_$child": [
|
||||
{
|
||||
"_$id": "f1ra9jda",
|
||||
"_$type": "Sprite",
|
||||
"name": "Sprite",
|
||||
"width": 192,
|
||||
"height": 60,
|
||||
"alpha": 0.1,
|
||||
"_gcmds": [
|
||||
{
|
||||
"_$type": "DrawRoundRectCmd",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1,
|
||||
"lt": 12,
|
||||
"rt": 12,
|
||||
"lb": 12,
|
||||
"rb": 12,
|
||||
"percent": true,
|
||||
"lineWidth": 1,
|
||||
"fillColor": "rgba(14, 42, 83, 1)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"_$id": "3nceoiwj",
|
||||
"_$type": "Label",
|
||||
"name": "Label",
|
||||
"width": 192,
|
||||
"height": 60,
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0,
|
||||
"text": "Extreme",
|
||||
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
|
||||
"fontSize": 36,
|
||||
"color": "rgba(14, 42, 83, 1)",
|
||||
"align": "center",
|
||||
"valign": "middle",
|
||||
"padding": "0,0,0,0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user