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

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

@@ -29,6 +29,17 @@
"autoPopup": true,
"once": true,
"priority": 1,
"ctas": [
{
"type": "quiz",
"label": "答题加分",
"bonusScore": 1,
"countdownSeconds": 10,
"minValue": 10,
"maxValue": 99,
"allowSubtraction": true
}
],
"contentExperience": {
"type": "h5",
"url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
@@ -51,6 +62,16 @@
"autoPopup": true,
"once": false,
"priority": 1,
"ctas": [
{
"type": "photo",
"label": "拍照打卡"
},
{
"type": "detail",
"label": "查看详情"
}
],
"clickTitle": "图书馆前广场",
"clickBody": "这里是顺序赛的首个关键点位,适合确认路线方向。",
"contentExperience": {
@@ -66,9 +87,15 @@
"presentation": "dialog"
}
},
"control-2": {
"template": "minimal",
"title": "教学楼南侧",
"control-2": {
"template": "minimal",
"pointStyle": "badge",
"pointColorHex": "#27ae60",
"pointSizeScale": 0.92,
"pointAccentRingScale": 1.1,
"pointLabelScale": 0.94,
"pointLabelColorHex": "#ffffff",
"title": "教学楼南侧",
"body": "注意这里地形开阔,适合快速判断下一段方向。这个点配置成手动查看后可进 H5。",
"autoPopup": false,
"once": true,
@@ -99,6 +126,16 @@
"autoPopup": true,
"once": true,
"priority": 2,
"ctas": [
{
"type": "audio",
"label": "语音留言"
},
{
"type": "detail",
"label": "查看详情"
}
],
"clickTitle": "终点说明",
"clickBody": "点击终点可再次查看本局结束说明。",
"clickExperience": {
@@ -109,6 +146,14 @@
}
}
},
"legOverrides": {
"leg-2": {
"style": "glow-leg",
"colorHex": "#27ae60",
"widthScale": 1.12,
"glowStrength": 0.82
}
},
"metadata": {
"title": "顺序赛路线示例",
"code": "classic-001"
@@ -140,6 +185,89 @@
"legAnimation": true,
"allowFocusSelection": false
},
"presentation": {
"track": {
"mode": "full",
"style": "neon",
"tailLength": "medium",
"colorPreset": "mint",
"colorHex": "#176d5d",
"headColorHex": "#54f3d8",
"widthPx": 4.2,
"headWidthPx": 6.6,
"glowStrength": 0.18
},
"gpsMarker": {
"visible": true,
"style": "beacon",
"size": "medium",
"colorPreset": "cyan",
"showHeadingIndicator": true,
"logoUrl": "https://oss-mbh5.colormaprun.com/gotomars/test/me.jpg",
"logoMode": "center-badge"
},
"sequential": {
"controls": {
"default": {
"style": "classic-ring",
"colorHex": "#cc006b",
"sizeScale": 1,
"labelScale": 1
},
"current": {
"style": "pulse-core",
"colorHex": "#38fff2",
"sizeScale": 1.1,
"accentRingScale": 1.32,
"glowStrength": 0.95,
"labelScale": 1.08,
"labelColorHex": "#fff8fb"
},
"completed": {
"style": "solid-dot",
"colorHex": "#7e838a",
"sizeScale": 0.88,
"labelScale": 0.94
},
"skipped": {
"style": "badge",
"colorHex": "#8a9198",
"sizeScale": 0.9,
"accentRingScale": 1.12,
"labelScale": 0.96
},
"start": {
"style": "double-ring",
"colorHex": "#2f80ed",
"sizeScale": 1.04,
"accentRingScale": 1.28,
"labelScale": 1.02
},
"finish": {
"style": "double-ring",
"colorHex": "#f2994a",
"sizeScale": 1.08,
"accentRingScale": 1.34,
"glowStrength": 0.3,
"labelScale": 1.06,
"labelColorHex": "#fff4de"
}
},
"legs": {
"default": {
"style": "dashed-leg",
"colorHex": "#cc006b",
"widthScale": 1
},
"completed": {
"style": "progress-leg",
"colorHex": "#7a8088",
"widthScale": 0.92,
"glowStrength": 0.22
}
}
}
},
"visibility": {
"revealFullPlayfieldAfterStartPunch": true
},