pbl_scense_ext/wwwroot/pbl_overlay/validation_report.ui
2026-09-21 12:20:49 +08:00

80 lines
2.5 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "12px",
"backgroundColor": "#0B1020"
},
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "PBL 覆盖层 · 校验报告(14维)",
"fontSize": "18px",
"fontWeight": "bold",
"color": "#E5E7EB"
}
},
{
"widgettype": "Html",
"id": "pbl_overlay_shell_validation_report",
"options": {
"html": "<div data-pbl-page=\"validation_report\" data-pbl-overlay-root=\"1\" class=\"pbl-shell\"><div class=\"pbl-shell-hint\">校验报告(14维)(validation_report)· 覆盖层未启用:点击下方「启用 PBL 覆盖层」装配 PBL 组件;本页为教师/学生侧页面(首屏预算 ≤1.5s)。</div></div>"
}
},
{
"widgettype": "HBox",
"options": {
"width": "100%",
"gap": "8px",
"marginTop": "10px"
},
"subwidgets": [
{
"widgettype": "Button",
"options": {
"label": "启用 PBL 覆盖层",
"type": "primary"
},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "script",
"options": {
"script": "window.PblOverlayLoader?PblOverlayLoader.start({page:'validation_report'}):(function(){var b=String(window.__PBL_API_BASE__||'').replace(/\\/$/,'');var s=document.createElement('script');s.src=b+'/pbl_scense_ext/overlay/pbl_overlay_loader.js';s.async=false;s.onload=function(){window.PblOverlayLoader.start({page:'validation_report'})};s.onerror=function(){window.__pblOverlayFail&&window.__pblOverlayFail('PBL_E_NETWORK','覆盖层引导脚本加载失败')};document.head.appendChild(s);})()"
}
}
]
},
{
"widgettype": "Button",
"options": {
"label": "PBL 首页"
},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "url",
"options": {
"url": "{{entire_url('/pbl_scense_ext/pbl_overlay/home.ui')}}"
}
}
]
}
]
},
{
"widgettype": "Text",
"options": {
"label": "上下文:URL 携带 session_id / blueprint_id / world_id;覆盖层仅渲染服务端权威状态,不本地预测(Q4)。",
"fontSize": "12px",
"color": "#6B7280",
"marginTop": "10px"
}
}
]
}