diff --git a/src/components/feed/RecipeCompareDialog.vue b/src/components/feed/RecipeCompareDialog.vue
index 30e97108..de9a693e 100644
--- a/src/components/feed/RecipeCompareDialog.vue
+++ b/src/components/feed/RecipeCompareDialog.vue
@@ -56,19 +56,21 @@
@close="compareError = null"
/>
-
+
-
-
+
+
- {{ scope.row.currentRecipeValue !== undefined ? scope.row.currentRecipeValue.toFixed(2) : '-' }}
+
+ {{ scope.row.currentRecipeValue !== undefined ? scope.row.currentRecipeValue.toFixed(2) : '-' }}
+
-
+
-
+
{{ scope.row.compareRecipeValue !== undefined ? scope.row.compareRecipeValue.toFixed(2) : '-' }}
@@ -76,17 +78,17 @@
-
+
{{ scope.row.minRequirement !== undefined ? scope.row.minRequirement.toFixed(2) : '-' }}
-
+
{{ scope.row.maxRequirement !== undefined ? scope.row.maxRequirement.toFixed(2) : '-' }}
-
+
@@ -328,4 +330,8 @@ export default {
.dialog-footer {
text-align: right;
}
+.table-wrapper {
+ margin: 0 auto; /* 水平居中 */
+ max-width: 100%; /* 确保不超过父容器宽度 */
+}
\ No newline at end of file