diff --git a/Service/BudgetService.cs b/Service/BudgetService.cs
index f3caf24..5b43ef9 100644
--- a/Service/BudgetService.cs
+++ b/Service/BudgetService.cs
@@ -563,10 +563,28 @@ public class BudgetService(
if (incomeItems.Count == 0) description.Append("
无收入预算
");
else
{
- description.Append("| 名称 | 金额 | 折算 | 合计 |
");
+ description.Append("""
+
+
+
+ | 名称 |
+ 金额 |
+ 折算 |
+ 合计 |
+
+
+
+ """);
foreach (var item in incomeItems)
{
- description.Append($"| {item.Name} | {item.Limit:N0} | x{item.Factor:0.##} | {item.Total:N0} |
");
+ description.Append($"""
+
+ | {item.Name} |
+ {item.Limit:N0} |
+ {item.Factor:0.##} |
+ {item.Total:N0} |
+
+ """);
}
description.Append("
");
}
@@ -590,7 +608,14 @@ public class BudgetService(
""");
foreach (var item in expenseItems)
{
- description.Append($"| {item.Name} | {item.Limit:N0} | x{item.Factor:0.##} | {item.Total:N0} |
");
+ description.Append($"""
+
+ | {item.Name} |
+ {item.Limit:N0} |
+ {item.Factor:0.##} |
+ {item.Total:N0} |
+
+ """);
}
description.Append("
");
}
diff --git a/Web/src/styles/rich-content.css b/Web/src/styles/rich-content.css
index d605dad..8150a50 100644
--- a/Web/src/styles/rich-content.css
+++ b/Web/src/styles/rich-content.css
@@ -93,17 +93,6 @@
text-overflow: ellipsis;
}
-/* 针对第一列“名称”分配更多空间,其余平分 */
-.rich-html-content th:first-child,
-.rich-html-content td:first-child {
- width: 30%;
-}
-
-.rich-html-content th:not(:first-child),
-.rich-html-content td:not(:first-child) {
- width: 20%;
-}
-
.rich-html-content th {
background: var(--van-gray-1);
color: var(--van-text-color);
diff --git a/WebApi/Program.cs b/WebApi/Program.cs
index e3a874f..576a499 100644
--- a/WebApi/Program.cs
+++ b/WebApi/Program.cs
@@ -111,7 +111,7 @@ var fsql = new FreeSqlBuilder()
.UseMonitorCommand(
cmd =>
{
- Log.Debug("执行SQL: {Sql}", cmd.CommandText);
+ Log.Verbose("执行SQL: {Sql}", cmd.CommandText);
}
)
.Build();