Przeglądaj źródła

update 友情链接

15724580513 5 lat temu
rodzic
commit
3bb667b15a

+ 14 - 1
src/views/management/HangYeZiXun/components/Table.vue

@@ -2,6 +2,7 @@
     <el-table
             :data="tableData"
             border
+            class="table"
             @selection-change="handleSelectionChange"
             style="width: 100%">
         <el-table-column
@@ -93,6 +94,18 @@
     };
 </script>
 
-<style scoped>
+<style lang="scss" scoped>
+.table {
+    ::v-deep .is-leaf {
+        .cell {
+            text-align: center;
+        }
+    }
 
+    ::v-deep .el-table-column--selection {
+        .cell {
+            text-align: center;
+        }
+    }
+}
 </style>

+ 20 - 4
src/views/management/YouQingLianJie/components/Table.vue

@@ -2,6 +2,7 @@
     <el-table
             :data="tableData"
             border
+            class="table"
             @selection-change="handleSelectionChange"
             style="width: 100%">
         <el-table-column
@@ -93,8 +94,23 @@
 </script>
 
 <style lang="scss" scoped>
-.table-link {
-    text-decoration:none;
-    color: #2C98F2;
-}
+    .table {
+        ::v-deep .is-leaf {
+            .cell {
+                text-align: center;
+            }
+        }
+
+        ::v-deep .el-table-column--selection {
+            .cell {
+                text-align: center;
+            }
+        }
+
+        .table-link {
+            text-decoration: none;
+            color: #2C98F2;
+        }
+    }
+
 </style>