diff --git a/src/App.vue b/src/App.vue index 7e4b39df9d2c1088c5892869e393159073ac8295..b7c397085b30f7637eab3bdd2615f175fe1f3fb5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,19 +1,32 @@ - diff --git a/src/components/container/SideBar.vue b/src/components/container/SideBar.vue index 562f21d5a5f029d7ffa7688ee830868b61282ac5..3e0e5e42223dbbf7aad0e223b25b2ab7eacad1b2 100644 --- a/src/components/container/SideBar.vue +++ b/src/components/container/SideBar.vue @@ -1,24 +1,94 @@ -// 左侧菜单 +// 左侧菜单menu - \ No newline at end of file diff --git a/src/components/container/Tags.vue b/src/components/container/Tags.vue index cab2697f0998b967dd70ef3727630b1d3b3a20ff..48cd3bab754c153ef9e6adcf3d392deb3d027e05 100644 --- a/src/components/container/Tags.vue +++ b/src/components/container/Tags.vue @@ -1 +1,29 @@ -// 顶部标签组件 \ No newline at end of file +// 顶部标签组件 + + + + + \ No newline at end of file diff --git a/src/components/container/Top.vue b/src/components/container/Top.vue index 682d84e6905ce775987990b5a9238dcf989c8f75..0daac8d2a2c679d9317f378d17d8d00c52c4b324 100644 --- a/src/components/container/Top.vue +++ b/src/components/container/Top.vue @@ -1 +1,82 @@ -// 顶部组件,内含Tags.vue \ No newline at end of file +// 顶部组件,内含Tags.vue + + + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 2da7faa2a44bd984c9ea03eb603e6e95b3059cd3..18e2047c571d1e388f5b5517e91113abb8758298 100644 --- a/src/main.js +++ b/src/main.js @@ -1,15 +1,15 @@ -import { createApp } from "vue"; -import App from "./App.vue"; -import ElementPlus from "element-plus"; -import "element-plus/dist/index.css"; -import router from "./router/index.js"; +import { createApp } from 'vue' +import App from './App.vue' +import router from './router/index' +import ElementPlus from 'element-plus' +import 'element-plus/dist/index.css' import * as ElementPlusIconsVue from "@element-plus/icons-vue"; import 'animate.css/animate.min.css' // 动画库 -const app = createApp(App); -app.use(ElementPlus); -app.use(router); -app.mount("#app"); +const app = createApp(App) +app.use(ElementPlus) +app.use(router) // 注册icon for (const [key, component] of Object.entries(ElementPlusIconsVue)) { - app.component(key, component); + app.component(key, component) } +app.mount('#app') \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 60c509923b2cd69b4933d8329442bed5a78d40b4..1805b01b1d27a344ed3bb9336083480cfbac6fd7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,16 +1,14 @@ -import { createRouter, createWebHashHistory } from 'vue-router'; - - +import {createRouter,createWebHashHistory} from 'vue-router' export default createRouter({ history:createWebHashHistory(), routes:[ // redirect - { - path:'/', - redirect:'/account/login', - component:()=>import('../components/page/account/Login') - }, + // { + // path:'/', + // redirect:'/account/login', + // component:()=>import('../components/page/account/Login') + // }, // dash_board { path:'/dash_board/work_bench',