chen 3 éve
szülő
commit
2719a71d11
1 módosított fájl, 8 hozzáadás és 3 törlés
  1. 8 3
      src/views/dashboard/index.vue

+ 8 - 3
src/views/dashboard/index.vue

@@ -17,7 +17,7 @@
       <br />
       <!-- 系统通知 -->
       <div v-show="type == '1'" class="table">
-        <el-table v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit highlight-current-row stripe>
+        <el-table class="cql" v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit highlight-current-row stripe>
           <el-table-column align="center" type="index" min-width="160" show-overflow-tooltip></el-table-column>
           <el-table-column align="center" label="标题" prop="title" min-width="160" show-overflow-tooltip></el-table-column>
           <el-table-column align="center" label="来源" prop="source" min-width="160" show-overflow-tooltip></el-table-column>
@@ -30,7 +30,7 @@
         </el-table>
       </div>
       <!-- 文件下发 -->
-      <div v-show="type == '2'">
+      <div v-show="type == '2'" class="table">
         <el-table v-loading="listLoading" :data="fileList" element-loading-text="Loading" border fit highlight-current-row stripe>
           <el-table-column align="center" type="index" min-width="160" show-overflow-tooltip></el-table-column>
           <el-table-column align="center" label="标题" prop="title" min-width="160" show-overflow-tooltip></el-table-column>
@@ -44,7 +44,7 @@
         </el-table>
       </div>
       <!-- 返利确认单 -->
-      <div v-show="type == '3'">
+      <div v-show="type == '3'" class="table">
         <el-table v-loading="listLoading" :data="rebateList" element-loading-text="Loading" border fit highlight-current-row stripe>
           <el-table-column align="center" type="index" min-width="160" show-overflow-tooltip></el-table-column>
           <el-table-column align="center" label="经销商名称" prop="customerName" min-width="160" show-overflow-tooltip></el-table-column>
@@ -330,4 +330,9 @@ export default {
     }
   }
 }
+.cql {
+  ::v-deep.el-table__header-wrapper {
+    background-color: #f5f7fa;
+  }
+}
 </style>