From a47faf66f0d3aa5c3c98f380ad3b7ce3d064fd52 Mon Sep 17 00:00:00 2001 From: kkfluous Date: Wed, 29 Apr 2026 20:51:50 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=9D=A2=E5=8C=85=E5=B1=91=E9=A6=96?= =?UTF-8?q?=E9=A1=B9=E6=94=B9=E4=B8=BA=20OneOS=E6=95=B0=E6=8D=AE=E4=B8=AD?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- app.jsx | 20 ++++++++++---------- artboards/integration.jsx | 2 +- artboards/overview.jsx | 2 +- artboards/variant-dense.jsx | 2 +- artboards/variant-light.jsx | 2 +- components/chrome.jsx | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app.jsx b/app.jsx index aedae2e..8b7a70d 100644 --- a/app.jsx +++ b/app.jsx @@ -1,19 +1,19 @@ -// app.jsx — SPA router + responsive shell for 羚牛车辆数据中心 +// app.jsx — SPA router + responsive shell for OneOS数据中台 // hash routes: #/, #/overview, #/detail, #/history, #/playback, #/alarm, #/inbox, #/esg, #/canvas const ROUTES = [ - { path: "overview", icon: "map", label: "实时地图", crumbs: ["羚牛车辆数据中心", "实时监控", "总览"], component: "ArtboardOverview" }, - { path: "detail", icon: "car", label: "车辆详情", crumbs: ["羚牛车辆数据中心", "实时监控", "单车详情"], component: "ArtboardDetail" }, - { path: "history", icon: "history", label: "历史查询", crumbs: ["羚牛车辆数据中心", "数据分析", "历史查询"], component: "ArtboardHistory" }, - { path: "playback", icon: "route", label: "轨迹回放", crumbs: ["羚牛车辆数据中心", "数据分析", "轨迹回放"], component: "ArtboardPlayback" }, - { path: "alarm", icon: "bell", label: "事件规则", crumbs: ["羚牛车辆数据中心", "事件中心", "规则编排"], component: "ArtboardAlarm" }, - { path: "inbox", icon: "inbox", label: "通知中心", crumbs: ["羚牛车辆数据中心", "事件中心", "通知中心"], component: "ArtboardInbox" }, - { path: "integration", icon: "plug", label: "数据接入监控", crumbs: ["羚牛车辆数据中心", "数据接入", "监控总览"], component: "ArtboardIntegration" }, + { path: "overview", icon: "map", label: "实时地图", crumbs: ["OneOS数据中台", "实时监控", "总览"], component: "ArtboardOverview" }, + { path: "detail", icon: "car", label: "车辆详情", crumbs: ["OneOS数据中台", "实时监控", "单车详情"], component: "ArtboardDetail" }, + { path: "history", icon: "history", label: "历史查询", crumbs: ["OneOS数据中台", "数据分析", "历史查询"], component: "ArtboardHistory" }, + { path: "playback", icon: "route", label: "轨迹回放", crumbs: ["OneOS数据中台", "数据分析", "轨迹回放"], component: "ArtboardPlayback" }, + { path: "alarm", icon: "bell", label: "事件规则", crumbs: ["OneOS数据中台", "事件中心", "规则编排"], component: "ArtboardAlarm" }, + { path: "inbox", icon: "inbox", label: "通知中心", crumbs: ["OneOS数据中台", "事件中心", "通知中心"], component: "ArtboardInbox" }, + { path: "integration", icon: "plug", label: "数据接入监控", crumbs: ["OneOS数据中台", "数据接入", "监控总览"], component: "ArtboardIntegration" }, ]; const SUB_ROUTES = [ - { path: "esg", icon: "chart", label: "ESG·碳减排", crumbs: ["羚牛车辆数据中心", "运营分析", "ESG驾驶舱"], component: "ArtboardESG" }, - { path: "canvas", icon: "settings", label: "设计画板", crumbs: ["羚牛车辆数据中心", "设计画板"], component: "DesignCanvasMode" }, + { path: "esg", icon: "chart", label: "ESG·碳减排", crumbs: ["OneOS数据中台", "运营分析", "ESG驾驶舱"], component: "ArtboardESG" }, + { path: "canvas", icon: "settings", label: "设计画板", crumbs: ["OneOS数据中台", "设计画板"], component: "DesignCanvasMode" }, ]; const ALL_ROUTES = [...ROUTES, ...SUB_ROUTES]; diff --git a/artboards/integration.jsx b/artboards/integration.jsx index 1dd0395..71861b4 100644 --- a/artboards/integration.jsx +++ b/artboards/integration.jsx @@ -192,7 +192,7 @@ const ArtboardIntegration = () => {
{
{
{
{ ); }; -const Topbar = ({ crumbs = ["羚牛车辆数据中心", "实时监控"], kpis = [], showSearch = true }) => { +const Topbar = ({ crumbs = ["OneOS数据中台", "实时监控"], kpis = [], showSearch = true }) => { const ctx = (typeof window.useRoute === "function") ? window.useRoute() : null; const isMobile = ctx && ctx.isMobile; return (