补充UI细节

This commit is contained in:
2025-06-09 20:52:28 +08:00
parent 62a69f1596
commit 5814a2639c
5 changed files with 199 additions and 38 deletions

View File

@@ -104,6 +104,13 @@
"x": 990,
"width": 200,
"height": 200,
"_$comp": [
{
"_$type": "a541bdfc-e8e1-4795-b68e-7138c5190f17",
"scriptPath": "../src/views/common/CommonHover.ts",
"hoverAlpha": true
}
],
"_$child": [
{
"_$id": "5uhu17g4",
@@ -44462,15 +44469,50 @@
"color": "#ffffff",
"_$child": [
{
"_$id": "yjptrqd4",
"_$type": "Image",
"name": "OFF",
"_$id": "xikibn0h",
"_$type": "Sprite",
"name": "off",
"x": 45,
"y": -26,
"width": 84,
"height": 48,
"skin": "res://a5777c44-0002-4629-b646-c0e8098c7f80",
"color": "#ffffff"
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 24,
"rt": 24,
"lb": 24,
"rb": 24,
"percent": true,
"lineWidth": 2,
"lineColor": "rgba(255, 255, 255, 1)",
"fillColor": "rgba(167, 171, 179, 1)"
}
],
"_$child": [
{
"_$id": "sajob6jr",
"_$type": "Label",
"name": "label",
"y": 4,
"width": 84,
"height": 48,
"centerX": 0,
"centerY": 4,
"text": "OFF",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 30,
"color": "rgba(255, 255, 255, 1)",
"align": "center",
"valign": "middle",
"padding": "0,0,0,0",
"strokeColor": "rgba(160, 160, 160, 1)"
}
]
}
]
}
@@ -44497,15 +44539,50 @@
"color": "#ffffff",
"_$child": [
{
"_$id": "iufey8m0",
"_$type": "Image",
"_$id": "8gny6los",
"_$type": "Sprite",
"name": "on",
"x": 45,
"y": -26,
"width": 72,
"height": 48,
"skin": "res://e2b45239-87db-4cee-9dd7-a2d1762abc24",
"color": "#ffffff"
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 24,
"rt": 24,
"lb": 24,
"rb": 24,
"percent": true,
"lineWidth": 2,
"lineColor": "rgba(255, 255, 255, 1)",
"fillColor": "rgba(29, 92, 220, 1)"
}
],
"_$child": [
{
"_$id": "houyxe6r",
"_$type": "Label",
"name": "label",
"y": 4,
"width": 72,
"height": 48,
"centerX": 0,
"centerY": 4,
"text": "ON",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 30,
"color": "rgba(255, 255, 255, 1)",
"align": "center",
"valign": "middle",
"padding": "0,0,0,0",
"strokeColor": "rgba(160, 160, 160, 1)"
}
]
}
]
}
@@ -44621,10 +44698,10 @@
"y": 0,
"width": 1,
"height": 1,
"lt": 20,
"rt": 20,
"lb": 20,
"rb": 20,
"lt": 24,
"rt": 24,
"lb": 24,
"rb": 24,
"percent": true,
"lineWidth": 2,
"lineColor": "rgba(255, 255, 255, 1)",