Browse Source

7-22作业:首页布局

DYaiu 4 years ago
parent
commit
3eeb9b4d15
1 changed files with 24 additions and 0 deletions
  1. 24 0
      src/views/treeAndTable/tree_and_table.vue

+ 24 - 0
src/views/treeAndTable/tree_and_table.vue

@@ -0,0 +1,24 @@
+<template>
+  <el-container style="height:900px;border: 5px solid #eee">
+    <el-aside width="20%"></el-aside>
+    <el-container>
+      <el-main>
+        <el-tabs value="people" type="border-card">
+          <el-tab-pane label="人员" name="people"></el-tab-pane>
+          <el-tab-pane label="岗位" name="job"></el-tab-pane>
+        </el-tabs>
+      </el-main>
+    </el-container>
+  </el-container>
+</template>
+
+<script>
+export default {
+  name: "tree_table",
+  components: {},
+  data() {
+    return {};
+  },
+  methods: {},
+};
+</script>