+
+ Table Demo 1: 基本表格
+ Table Demo 2: 斑马线表格
+ Table Demo 3: 带边框的表格
+ Table Demo 4: 自定义样式
+ Table Demo 5: 滚动条
+ Table Demo 6: 固定列
+ Table Demo 7: 多级表头
+ Table Demo 8: 合并行列
+ Table Demo 9: 带状态的行
+ Table Demo 10: 单行选择
+ Table Demo 11: 多行选择
+ Table Demo 12: 排序
+ Table Demo 13: 筛选
+ Table Demo 14: 展开行
+ Table Demo 15: 树形数据
+ Table Demo 16: 分页
+
+
+
+
+
diff --git a/demo/el-table/main.js b/demo/el-table/main.js
new file mode 100644
index 0000000..2df3148
--- /dev/null
+++ b/demo/el-table/main.js
@@ -0,0 +1,7 @@
+import {createApp} from "vue";
+import App from "./App.vue"
+import router from './router'
+import ElementPlus from "element-plus"
+import "element-plus/dist/index.css"
+
+createApp(App).use(ElementPlus).use(router).mount('#app')
diff --git a/demo/el-table/router/index.js b/demo/el-table/router/index.js
new file mode 100644
index 0000000..2435aa9
--- /dev/null
+++ b/demo/el-table/router/index.js
@@ -0,0 +1,122 @@
+// 引入必要的router组件
+import {createRouter, createWebHistory} from 'vue-router'
+// 引入视图
+// const root = () => import('../App.vue')
+const tableDemo1 = () => import('../views/Table_Demo1.vue')
+const tableDemo2 = () => import('../views/Table_Demo2.vue')
+const tableDemo3 = () => import('../views/Table_Demo3.vue')
+const tableDemo4 = () => import('../views/Table_Demo4.vue')
+const tableDemo5 = () => import('../views/Table_Demo5.vue')
+const tableDemo6 = () => import('../views/Table_Demo6.vue')
+const tableDemo7 = () => import('../views/Table_Demo7.vue')
+const tableDemo8 = () => import('../views/Table_Demo8.vue')
+const tableDemo9 = () => import('../views/Table_Demo9.vue')
+const tableDemo10 = () => import('../views/Table_Demo10.vue')
+const tableDemo11 = () => import('../views/Table_Demo11.vue')
+const tableDemo12 = () => import('../views/Table_Demo12.vue')
+const tableDemo13 = () => import('../views/Table_Demo13.vue')
+const tableDemo14 = () => import('../views/Table_Demo14.vue')
+const tableDemo15 = () => import('../views/Table_Demo15.vue')
+const tableDemo16 = () => import('../views/Table_Demo16.vue')
+
+// 引入组件
+
+
+// 创建路由
+const routes = [
+ // {
+ // path: "/",
+ // name: 'root',
+ // component: root
+ // },
+ {
+ path: '/table1',
+ name: 'table1',
+ component: tableDemo1
+ },
+ {
+ path: '/table2',
+ name: 'table2',
+ component: tableDemo2
+ },
+ {
+ path: '/table3',
+ name: 'table3',
+ component: tableDemo3
+ },
+ {
+ path: '/table4',
+ name: 'table4',
+ component: tableDemo4
+ },
+ {
+ path: '/table5',
+ name: 'table5',
+ component: tableDemo5
+ },
+ {
+ path: '/table6',
+ name: 'table6',
+ component: tableDemo6
+ },
+ {
+ path: '/table7',
+ name: 'table7',
+ component: tableDemo7
+ },
+ {
+ path: '/table8',
+ name: 'table8',
+ component: tableDemo8
+ },
+ {
+ path: '/table9',
+ name: 'table9',
+ component: tableDemo9
+ },
+ {
+ path: '/table10',
+ name: 'table10',
+ component: tableDemo10
+ },
+ {
+ path: '/table11',
+ name: 'table11',
+ component: tableDemo11
+ },
+ {
+ path: '/table12',
+ name: 'table12',
+ component: tableDemo12
+ },
+ {
+ path: '/table13',
+ name: 'table13',
+ component: tableDemo13
+ },
+ {
+ path: '/table14',
+ name: 'table14',
+ component: tableDemo14
+ },
+ {
+ path: '/table15',
+ name: 'table15',
+ component: tableDemo15
+ },
+ {
+ path: '/table16',
+ name: 'table16',
+ component: tableDemo16
+ },
+]
+
+// 创建路由器,使用createRouter方法,传入history(路由类型)和 创建好的路由routes
+// 路由类型分为hash型和html5型,分别为createWebHashHistory和createWebHistory
+const router = createRouter({
+ history: createWebHistory(),
+ routes
+})
+
+// 导出路由
+export default router
diff --git a/src/views/Table_Demo1.vue b/demo/el-table/views/Table_Demo1.vue
similarity index 100%
rename from src/views/Table_Demo1.vue
rename to demo/el-table/views/Table_Demo1.vue
diff --git a/src/views/Table_Demo10.vue b/demo/el-table/views/Table_Demo10.vue
similarity index 100%
rename from src/views/Table_Demo10.vue
rename to demo/el-table/views/Table_Demo10.vue
diff --git a/src/views/Table_Demo11.vue b/demo/el-table/views/Table_Demo11.vue
similarity index 100%
rename from src/views/Table_Demo11.vue
rename to demo/el-table/views/Table_Demo11.vue
diff --git a/src/views/Table_Demo12.vue b/demo/el-table/views/Table_Demo12.vue
similarity index 100%
rename from src/views/Table_Demo12.vue
rename to demo/el-table/views/Table_Demo12.vue
diff --git a/src/views/Table_Demo13.vue b/demo/el-table/views/Table_Demo13.vue
similarity index 100%
rename from src/views/Table_Demo13.vue
rename to demo/el-table/views/Table_Demo13.vue
diff --git a/src/views/Table_Demo14.vue b/demo/el-table/views/Table_Demo14.vue
similarity index 100%
rename from src/views/Table_Demo14.vue
rename to demo/el-table/views/Table_Demo14.vue
diff --git a/src/views/Table_Demo15.vue b/demo/el-table/views/Table_Demo15.vue
similarity index 100%
rename from src/views/Table_Demo15.vue
rename to demo/el-table/views/Table_Demo15.vue
diff --git a/src/views/Table_Demo16.vue b/demo/el-table/views/Table_Demo16.vue
similarity index 100%
rename from src/views/Table_Demo16.vue
rename to demo/el-table/views/Table_Demo16.vue
diff --git a/src/views/Table_Demo2.vue b/demo/el-table/views/Table_Demo2.vue
similarity index 100%
rename from src/views/Table_Demo2.vue
rename to demo/el-table/views/Table_Demo2.vue
diff --git a/src/views/Table_Demo3.vue b/demo/el-table/views/Table_Demo3.vue
similarity index 100%
rename from src/views/Table_Demo3.vue
rename to demo/el-table/views/Table_Demo3.vue
diff --git a/src/views/Table_Demo4.vue b/demo/el-table/views/Table_Demo4.vue
similarity index 100%
rename from src/views/Table_Demo4.vue
rename to demo/el-table/views/Table_Demo4.vue
diff --git a/src/views/Table_Demo5.vue b/demo/el-table/views/Table_Demo5.vue
similarity index 100%
rename from src/views/Table_Demo5.vue
rename to demo/el-table/views/Table_Demo5.vue
diff --git a/src/views/Table_Demo6.vue b/demo/el-table/views/Table_Demo6.vue
similarity index 100%
rename from src/views/Table_Demo6.vue
rename to demo/el-table/views/Table_Demo6.vue
diff --git a/src/views/Table_Demo7.vue b/demo/el-table/views/Table_Demo7.vue
similarity index 100%
rename from src/views/Table_Demo7.vue
rename to demo/el-table/views/Table_Demo7.vue
diff --git a/src/views/Table_Demo8.vue b/demo/el-table/views/Table_Demo8.vue
similarity index 100%
rename from src/views/Table_Demo8.vue
rename to demo/el-table/views/Table_Demo8.vue
diff --git a/src/views/Table_Demo9.vue b/demo/el-table/views/Table_Demo9.vue
similarity index 100%
rename from src/views/Table_Demo9.vue
rename to demo/el-table/views/Table_Demo9.vue
diff --git a/src/App.vue b/src/App.vue
index 9c3d663..bd305ce 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,22 +1,9 @@