瀏覽代碼

调整表格组件样式

zq940222 4 月之前
父節點
當前提交
520926bf22
共有 2 個文件被更改,包括 14 次插入2 次删除
  1. 3 2
      src/views/adweb/marketing/googleads.vue
  2. 11 0
      src/views/dashboard/Analysis/homePage/adweb3Home.vue

+ 3 - 2
src/views/adweb/marketing/googleads.vue

@@ -901,9 +901,10 @@ onMounted(() => {
   background-color: #fafafa;
 }
 
+// 修改表格头部样式
 :deep(.ant-table-thead > tr > th) {
-  background: #f5f5f5;
-  font-weight: 500;
+  background: #e6f7ff !important;
+  font-weight: 600;
 }
 
 :deep(.ant-table-tbody > tr > td) {

+ 11 - 0
src/views/dashboard/Analysis/homePage/adweb3Home.vue

@@ -661,4 +661,15 @@
     }
   }
 }
+
+// 添加表格头部样式
+:deep(.ant-table-thead > tr > th) {
+  background: #e6f7ff !important;
+  font-weight: 600;
+}
+
+// 添加斑马线样式
+:deep(.table-striped) {
+  background-color: #fafafa;
+}
 </style>