From ac4bf3465dd15d7123afdd09e7e4192d43911656 Mon Sep 17 00:00:00 2001 From: tangwei Date: Wed, 5 Aug 2026 18:32:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96excel=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=A0=87=E9=A2=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yfd/platform/utils/ExportZipUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/com/yfd/platform/utils/ExportZipUtil.java b/backend/src/main/java/com/yfd/platform/utils/ExportZipUtil.java index dc6d248d..e0583236 100644 --- a/backend/src/main/java/com/yfd/platform/utils/ExportZipUtil.java +++ b/backend/src/main/java/com/yfd/platform/utils/ExportZipUtil.java @@ -466,14 +466,14 @@ public class ExportZipUtil { public static CellStyle createHeaderStyle(Workbook workbook) { CellStyle style = workbook.createCellStyle(); - // 背景色:深蓝 - style.setFillForegroundColor(IndexedColors.ROYAL_BLUE.getIndex()); + // 背景色:浅淡的苍白蓝 + style.setFillForegroundColor(IndexedColors.PALE_BLUE.getIndex()); style.setFillPattern(FillPatternType.SOLID_FOREGROUND); - // 字体:白色加粗 + // 字体:黑色加粗 Font font = workbook.createFont(); font.setBold(true); - font.setColor(IndexedColors.WHITE.getIndex()); + font.setColor(IndexedColors.BLACK.getIndex()); font.setFontHeightInPoints((short) 11); style.setFont(font);