Drop the 每日/总览 sub-tabs on 电能 — only 龙王路充电站 in scope, so the overview is light (3 KPI cards + 1 bar chart) and combining saves a click for daily ops. ElectricView now renders ElectricOverview + ElectricDaily back-to-back below the hint card. 氢能 keeps its sub-tabs (richer overview with Top5 + region chart). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
425 B
TypeScript
15 lines
425 B
TypeScript
import ElectricOverview from './ElectricOverview';
|
||
import ElectricDaily from './ElectricDaily';
|
||
|
||
export default function ElectricView() {
|
||
return (
|
||
<>
|
||
<div className="bg-white rounded-xl border border-slate-100 px-3 py-1.5 text-[11px] text-slate-400">
|
||
龙王路停车场充电站,期初 2025-01-01,手工导入每日更新
|
||
</div>
|
||
<ElectricOverview />
|
||
<ElectricDaily />
|
||
</>
|
||
);
|
||
}
|