{ "type": "object", "required": [], "x-layout": { "mode": "contextComposer", "rows": 5, "placeholder": "粘贴页面 URL、性能报告、Core Web Vitals 指标或复现场景", "primaryTabs": [ { "id": "paste", "icon": "FileText", "field": "materialText", "label": "粘贴报告" }, { "id": "upload", "icon": "Upload", "field": "materialFile", "label": "上传报告" }, { "id": "link", "icon": "Link", "field": "materialUrl", "label": "填页面链接" } ], "primaryField": "materialText", "advancedLabel": "补充诊断范围", "primaryControlFields": [], "advancedControlFields": [ "audience", "goal", "brandRequirements" ] }, "properties": { "goal": { "type": "string", "title": "诊断目标", "x-rows": 3, "description": "说明要定位的性能、可用性、搜索、转化或上线检查目标。", "x-component": "Textarea" }, "audience": { "type": "string", "title": "影响对象", "x-rows": 3, "description": "说明受影响的用户、设备、页面类型、地区或业务场景。", "x-component": "Textarea" }, "materialUrl": { "type": "string", "title": "待诊断页面链接", "format": "uri", "description": "填写公开可访问的待诊断页面、站点、报告或参考链接。" }, "materialFile": { "type": "string", "title": "性能报告文件", "format": "binary", "x-accept": ".xlsx,.xls,.csv,.tsv", "x-max-size": 20971520, "description": "上传 Lighthouse 报告、性能截图、指标表、页面说明或技术排查资料。", "x-component": "FileUpload" }, "materialText": { "type": "string", "title": "页面 URL、报告或问题描述", "x-rows": 8, "description": "粘贴页面 URL、性能报告摘要、Core Web Vitals 指标、复现场景或网站质量问题。", "x-component": "Textarea" }, "brandRequirements": { "type": "string", "title": "技术与验证边界", "x-rows": 3, "description": "补充设备网络、浏览器、时间范围、技术栈限制、不可改动项或复测要求。", "x-component": "Textarea" } }, "x-profile-context": true, "x-required-any-of": [ { "fields": [ "materialText", "materialFile", "materialUrl" ], "message": "请填写页面/性能资料、上传报告或提供页面链接" } ] }