]> acesimba.cloud Git - StationBuilder.git/commitdiff
页面配置-仪表板/数字孪生场景Tab替换为配置截图
authorroot <root@localhost.localdomain>
Fri, 11 Sep 2026 10:40:11 +0000 (18:40 +0800)
committerroot <root@localhost.localdomain>
Fri, 11 Sep 2026 10:40:11 +0000 (18:40 +0800)
app/page.tsx
public/dashboard-panel.png [new file with mode: 0644]
public/twin-panel.png [new file with mode: 0644]

index cad300ae96eb49df0a2e5cb32e40bd305d1693a4..1ec8fe54f541ce13b7403ab9b37184a6da7a02bd 100644 (file)
@@ -714,7 +714,9 @@ export default function Home(){
                 return <div className="mu-tree">{opGrouped.map(g=><div key={g.parentMenu} className="mu-group"><b>{g.parentMenu}</b><div className="mu-items">{g.items.map(item=><label key={item.key} className={item.disabled?"disabled":""}><input type="checkbox" disabled={item.disabled} checked={opEff.includes(item.key)} onChange={()=>opToggle(item.key)}/><span>{item.label}</span></label>)}</div></div>)}</div>;
               })()}
             </Panel>
-          : <Panel title={PAGE_CONFIG_LABEL[pageConfigTab]}><div className="muted">内容待补充</div></Panel>}
+          : pageConfigTab==="dashboard"
+            ? <Panel title={PAGE_CONFIG_LABEL.dashboard}><img src="/t/stationbuilder/dashboard-panel.png" alt="仪表板配置" style={{maxWidth:"100%",display:"block"}}/></Panel>
+            : <Panel title={PAGE_CONFIG_LABEL.twin}><img src="/t/stationbuilder/twin-panel.png" alt="数字孪生场景配置" style={{maxWidth:"100%",display:"block"}}/></Panel>}
       </div>}
       {page==="functions"&&<Functions site={site} muTree={muTree} onMuChange={saveMu} onSiteChange={setSite} pageStyles={pageStyles} notify={notify} onViewCompletePrompt={viewCompleteCubesPrompt}/>}
       {page==="siteEdit"&&siteEditSection==="functions"&&<Functions site={site} muTree={muTree} onMuChange={saveMu} onSiteChange={setSite} pageStyles={pageStyles} notify={notify} onViewCompletePrompt={viewCompleteCubesPrompt}/>}
diff --git a/public/dashboard-panel.png b/public/dashboard-panel.png
new file mode 100644 (file)
index 0000000..aae406c
Binary files /dev/null and b/public/dashboard-panel.png differ
diff --git a/public/twin-panel.png b/public/twin-panel.png
new file mode 100644 (file)
index 0000000..2c270b2
Binary files /dev/null and b/public/twin-panel.png differ