完善样式系统与调试链路底座

This commit is contained in:
2026-03-30 18:19:05 +08:00
parent 2c0fd4c549
commit 3b9117427e
40 changed files with 7526 additions and 389 deletions

View File

@@ -64,6 +64,17 @@
"autoPopup": false,
"once": true,
"priority": 1,
"ctas": [
{
"type": "quiz",
"label": "答题加分",
"bonusScore": 8,
"countdownSeconds": 12,
"minValue": 20,
"maxValue": 199,
"allowSubtraction": true
}
],
"clickTitle": "2号点",
"clickBody": "这个点配置成点击查看,经过时不会自动弹。",
"clickExperience": {
@@ -81,6 +92,16 @@
"autoPopup": true,
"once": false,
"priority": 1,
"ctas": [
{
"type": "photo",
"label": "拍照打卡"
},
{
"type": "detail",
"label": "查看详情"
}
],
"clickTitle": "湖边步道",
"clickBody": "点击可查看这一区域的补充说明。",
"contentExperience": {
@@ -99,6 +120,13 @@
"control-6": {
"template": "focus",
"score": 60,
"pointStyle": "pulse-core",
"pointColorHex": "#ff4d6d",
"pointSizeScale": 1.18,
"pointAccentRingScale": 1.36,
"pointGlowStrength": 1,
"pointLabelScale": 1.12,
"pointLabelColorHex": "#fff9fb",
"title": "悬崖边",
"body": "这里很危险啊。",
"autoPopup": true,
@@ -120,6 +148,12 @@
"autoPopup": true,
"once": true,
"priority": 2,
"ctas": [
{
"type": "audio",
"label": "语音留言"
}
],
"clickTitle": "终点说明",
"clickBody": "点击终点可再次查看结束与结算提示。",
"clickExperience": {
@@ -159,6 +193,105 @@
"legAnimation": false,
"allowFocusSelection": true
},
"presentation": {
"track": {
"mode": "tail",
"style": "neon",
"tailLength": "long",
"colorPreset": "cyan",
"tailMeters": 60,
"tailMaxSeconds": 30,
"fadeOutWhenStill": true,
"stillSpeedKmh": 0.6,
"fadeOutDurationMs": 3000,
"colorHex": "#149a86",
"headColorHex": "#62fff0",
"widthPx": 3.8,
"headWidthPx": 6.8,
"glowStrength": 0.32
},
"gpsMarker": {
"visible": true,
"style": "beacon",
"size": "medium",
"colorPreset": "cyan",
"showHeadingIndicator": true,
"logoUrl": "https://oss-mbh5.colormaprun.com/gotomars/test/me.jpg",
"logoMode": "center-badge"
},
"scoreO": {
"controls": {
"default": {
"style": "badge",
"colorHex": "#cc006b",
"sizeScale": 0.96,
"accentRingScale": 1.1,
"labelScale": 1.02
},
"focused": {
"style": "pulse-core",
"colorHex": "#fff0fa",
"sizeScale": 1.12,
"accentRingScale": 1.36,
"glowStrength": 1,
"labelScale": 1.14,
"labelColorHex": "#fffafc"
},
"collected": {
"style": "solid-dot",
"colorHex": "#d6dae0",
"sizeScale": 0.82,
"labelScale": 0.92
},
"start": {
"style": "double-ring",
"colorHex": "#2f80ed",
"sizeScale": 1.02,
"accentRingScale": 1.24,
"labelScale": 1.02
},
"finish": {
"style": "double-ring",
"colorHex": "#f2994a",
"sizeScale": 1.06,
"accentRingScale": 1.28,
"glowStrength": 0.26,
"labelScale": 1.04,
"labelColorHex": "#fff4de"
},
"scoreBands": [
{
"min": 0,
"max": 19,
"style": "badge",
"colorHex": "#56ccf2",
"sizeScale": 0.88,
"accentRingScale": 1.06,
"labelScale": 0.92
},
{
"min": 20,
"max": 49,
"style": "badge",
"colorHex": "#f2c94c",
"sizeScale": 1.02,
"accentRingScale": 1.18,
"labelScale": 1.02
},
{
"min": 50,
"max": 999999,
"style": "badge",
"colorHex": "#eb5757",
"sizeScale": 1.14,
"accentRingScale": 1.32,
"glowStrength": 0.72,
"labelScale": 1.1
}
]
}
}
},
"visibility": {
"revealFullPlayfieldAfterStartPunch": true
},