diff --git a/src/modules/mileage/MonitoringView.tsx b/src/modules/mileage/MonitoringView.tsx index e6ddb11..40b7f3d 100644 --- a/src/modules/mileage/MonitoringView.tsx +++ b/src/modules/mileage/MonitoringView.tsx @@ -708,23 +708,19 @@ export default function MonitoringView() { ); })()} - {/* High Density KPI Grid — sticky below tab bar */} -
+ {/* Sticky header: KPI + 清单标题 */} +
-
-
-
{sortBy === 'today' ? '今日' : '累计'}总里程
-
- {Math.round(sortBy === 'today' ? stats.totalToday : stats.totalAll).toLocaleString()} - km - {sortBy === 'today' && stats.yesterdayTotal > 0 && (() => { - const change = ((stats.totalToday - stats.yesterdayTotal) / stats.yesterdayTotal) * 100; - const isUp = change >= 0; - return {isUp ? '\u2191' : '\u2193'}{Math.abs(change).toFixed(1)}%; - })()} -
-
+
{sortBy === 'today' ? '今日' : '累计'}总里程
+
+ {Math.round(sortBy === 'today' ? stats.totalToday : stats.totalAll).toLocaleString()} + km + {sortBy === 'today' && stats.yesterdayTotal > 0 && (() => { + const change = ((stats.totalToday - stats.yesterdayTotal) / stats.yesterdayTotal) * 100; + const isUp = change >= 0; + return {isUp ? '\u2191' : '\u2193'}{Math.abs(change).toFixed(1)}%; + })()}
@@ -738,14 +734,14 @@ export default function MonitoringView() {
-
- - {/* High-Density Vehicle List - Two Columns on Tablet, One on Mobile */} -
-
+
车辆详情清单 {total} 条
+
+ + {/* Vehicle List */} +
{filteredVehicles.map((v) => (