浏览代码

fix:背景色和字体颜色

Roc 1 年之前
父节点
当前提交
9127e067f7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      services/excel/lucky_sheet.go

+ 2 - 2
services/excel/lucky_sheet.go

@@ -1055,7 +1055,7 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
 				firstCol = append(firstCol, LuckySheetDataValue{
 					Value:      v.DataTime,
 					Monitor:    v.DataTime,
-					Background: "#FFFFFF",
+					Background: "#dcdfe6",
 					FontColor:  "#666666",
 					MergeCell:  LuckySheetDataConfigMerge{},
 				})
@@ -1066,7 +1066,7 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
 				firstCol = append(firstCol, LuckySheetDataValue{
 					Value:      textColList[0].Value,
 					Monitor:    textColList[0].ShowValue,
-					Background: "#FFFFFF",
+					Background: "#dcdfe6",
 					FontColor:  "#666666",
 					MergeCell:  LuckySheetDataConfigMerge{},
 				})