From 7d2c28da41b3a272746d46716a7b28c2c5c30394 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 11 三月 2025 11:07:02 +0800
Subject: [PATCH] gx

---
 src/views/home/components/fangAn/editDietary.vue |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/src/views/home/components/fangAn/editDietary.vue b/src/views/home/components/fangAn/editDietary.vue
index 1e614ee..ab47e6a 100644
--- a/src/views/home/components/fangAn/editDietary.vue
+++ b/src/views/home/components/fangAn/editDietary.vue
@@ -834,7 +834,41 @@
 		type: 'html',
 		css: ['@/assets/css/printcss.css','//at.alicdn.com/t/c/font_2298093_rnp72ifj3ba.css', '//unpkg.com/element-plus/dist/index.css'],
 		scanStyles: false,
-		style: `@media print{}}`,
+		style: `@media print{.gridtable {
+    font-family: verdana, arial, sans-serif;
+
+    color: #333333;
+    border-width: 1px;
+    border-color: #666666;
+    border-collapse: collapse;
+    
+}
+
+.gridtable th {
+    border-width: 1px;
+    padding: 8px;
+    border-style: solid;
+    border-color: #666666;
+    background-color: #a4b0e2;
+}
+
+.gridtable td {
+    border-width: 1px;
+    padding: 8px;
+    border-style: solid;
+    border-color: #666666;
+    text-align: center;
+}
+
+.htr {
+    background-color: rgb(250, 236, 216);
+    font-weight: 800;
+
+}
+
+.lvse {
+    background-color: rgb(239.8, 248.9, 235.3);
+}}}`,
 	});
 }
 const numberPart=(str:any)=>{

--
Gitblit v1.8.0