新增预警页面

This commit is contained in:
2025-12-10 23:35:48 +08:00
parent a2f4e1c31f
commit 77b27b0aac

View File

@@ -343,13 +343,12 @@ const initChart = () => {
</table>
<!-- 汇总行 -->
<div style="border-top: 1px solid #eee; margin: 8px 0; padding-top: 8px; display: flex; justify-content: space-between; font-weight: 600;">
<span>总计</span>
<span style="display: flex; gap: 20px;">
<span style="color: #52c41a;">总收入:${formatNumber(incomeTotal)} 元</span>
<span style="color: #f5222d;">总支出:${formatNumber(expenseTotal)} 元</span>
</span>
</div>
<div style="text-align: right; font-weight: 600; color: #333;">
<div style="text-align: left; font-weight: 600; color: #333;">
净收入:${formatNumber(netIncome)}
</div>
`;