diff --git a/Service/BudgetService.cs b/Service/BudgetService.cs
index b4a146f..9e0031f 100644
--- a/Service/BudgetService.cs
+++ b/Service/BudgetService.cs
@@ -564,13 +564,13 @@ public class BudgetService(
else
{
description.Append("""
-
+
- | 名称 |
- 金额 |
- 折算 |
- 合计 |
+ 名称 |
+ 金额 |
+ 折算 |
+ 合计 |
@@ -579,10 +579,10 @@ public class BudgetService(
{
description.Append($"""
- | {item.Name} |
- {item.Limit:N0} |
- {item.Factor:0.##} |
- {item.Total:N0} |
+ {item.Name} |
+ {item.Limit:N0} |
+ {item.Factor:0.##} |
+ {item.Total:N0} |
""");
}
@@ -595,13 +595,13 @@ public class BudgetService(
else
{
description.Append("""
-
+
- | 名称 |
- 金额 |
- 折算 |
- 合计 |
+ 名称 |
+ 金额 |
+ 折算 |
+ 合计 |
@@ -610,10 +610,10 @@ public class BudgetService(
{
description.Append($"""
- | {item.Name} |
- {item.Limit:N0} |
- {item.Factor:0.##} |
- {item.Total:N0} |
+ {item.Name} |
+ {item.Limit:N0} |
+ {item.Factor:0.##} |
+ {item.Total:N0} |
""");
}
diff --git a/Web/src/styles/rich-content.css b/Web/src/styles/rich-content.css
index 8150a50..a4578ec 100644
--- a/Web/src/styles/rich-content.css
+++ b/Web/src/styles/rich-content.css
@@ -72,7 +72,6 @@
.rich-html-content tbody {
display: table;
width: 100%;
- min-width: 400px; /* 确保窄屏下有足够宽度触发滚动 */
table-layout: fixed; /* 核心:强制列宽分配逻辑一致 */
}
@@ -99,6 +98,20 @@
font-weight: 600;
}
+.rich-html-content th:nth-child(1),
+.rich-html-content td:nth-child(1) {
+ width: 40%;
+}
+
+.rich-html-content th:nth-child(2),
+.rich-html-content td:nth-child(2),
+.rich-html-content th:nth-child(3),
+.rich-html-content td:nth-child(3),
+.rich-html-content th:nth-child(4),
+.rich-html-content td:nth-child(4) {
+ width: 20%;
+}
+
/* 业务特定样式:收入、支出、高亮 */
.rich-html-content .income-value {
color: #07c160 !important;