wangmengwei 3 vuotta sitten
vanhempi
commit
6ae63479e3

+ 1 - 1
src/assets/styles/common/common.less

@@ -39,7 +39,7 @@
 @import "../theme/light/jjyx/decision3db.less";//单机横向对比 /decision/decision3db
 @import "../theme/light/jjyx/ztzhl.less";// 状态转换率 /decision/ztzhl
 @import "../theme/light/jjyx/ztfx.less"; //专题分析 /decision/ztfx
-
+@import "../theme/light/jjyx/dlyc.less"; //专题分析 /decision/dlyc
 // 智慧检修模块
 @import "../theme/light/zhjx/frist.less"; //健康推荐 /health/frist
 @import "../theme/light/zhjx/malfunctionRecall.less"; //故障回溯 /health/gzzd/malfunctionRecall

+ 1 - 1
src/assets/styles/theme/light/components.less

@@ -145,7 +145,7 @@
 			}
 			td.prev-month,
 			td.next-month {
-				background: fade(@black, 20);
+				background: @gray-3;
 			}
 			span {
 				color: @black;

+ 49 - 0
src/assets/styles/theme/light/jjyx/dlyc.less

@@ -0,0 +1,49 @@
+@import '../setting.less';
+
+#appBody.light {
+	// 电量预测
+	.main-body {
+		.dlTable {
+			.el-table thead.is-group th.el-table__cell {
+				background-color: @gray-3;
+			}
+
+			.el-table__expanded-cell {
+				background: @gray-3;
+			}
+
+			.el-table__body {
+				tr.hover-row > td {
+					background-color: @white;
+					color: @black !important;
+				}
+
+				td {
+					background-color: @white;
+				}
+
+				td[rowspan="2"],
+				td[rowspan="3"],
+				tr.hover-row>td[rowspan="2"],
+				tr.hover-row>td[rowspan="3"],
+				tr td:last-of-type,
+				tr td:nth-last-of-type(2),
+				tr:hover td {
+					color: @black;
+					background-color: @gray-3 !important;
+				}
+			}
+
+			.el-table__fixed-footer-wrapper tbody td.el-table__cell {
+				color: @gray;
+				background-color: @gray-3 !important;
+			}
+
+			.el-table__footer-wrapper tbody td.el-table__cell,
+			.el-table__header-wrapper tbody td.el-table__cell {
+				color: @black;
+				background-color: @white;
+			}
+		}
+	}
+}

+ 2 - 3
src/views/report/dlyc.vue

@@ -389,11 +389,10 @@
 		
 				td[rowspan="2"],
 				td[rowspan="3"],
-				td[rowspan="6"],
-				td[rowspan="9"],
-				td[rowspan="12"],
 				tr.hover-row>td[rowspan="2"],
 				tr.hover-row>td[rowspan="3"],
+				tr td:last-of-type,
+				tr td:nth-last-of-type(2),
 				tr:hover td {
 					background-color: #141e1e !important;
 				}

+ 3 - 4
src/views/report/nhdl.vue

@@ -41,7 +41,7 @@
 	import $ from "jquery";
 	import Panel from "@/components/coms/panel/panel.vue";
 	import FileSaver from "file-saver";
-	    import XLSX from "xlsx";
+	import XLSX from "xlsx";
 	export default {
 		components: {
 			Panel,
@@ -389,11 +389,10 @@
 		
 				td[rowspan="2"],
 				td[rowspan="3"],
-				td[rowspan="6"],
-				td[rowspan="9"],
-				td[rowspan="12"],
 				tr.hover-row>td[rowspan="2"],
 				tr.hover-row>td[rowspan="3"],
+				tr td:last-of-type,
+				tr td:nth-last-of-type(2),
 				tr:hover td {
 					background-color: #141e1e !important;
 				}

+ 2 - 3
src/views/report/xzdl.vue

@@ -389,11 +389,10 @@
 		
 				td[rowspan="2"],
 				td[rowspan="3"],
-				td[rowspan="6"],
-				td[rowspan="9"],
-				td[rowspan="12"],
 				tr.hover-row>td[rowspan="2"],
 				tr.hover-row>td[rowspan="3"],
+				tr td:last-of-type,
+				tr td:nth-last-of-type(2),
 				tr:hover td {
 					background-color: #141e1e !important;
 				}