index.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <script setup lang="ts">
  2. import AppHeader from './components/AppHeader/index.vue'
  3. import AppSider from './components/AppSider/index.vue'
  4. // import Breadcrumb from '~/components/Breadcrumb/index.vue';
  5. // import AppMain from './components/AppMain/index.vue';
  6. </script>
  7. <template>
  8. <div class="flex w-screen h-screen">
  9. <aside class="w-216px flex-none h-full bg-hex-041220">
  10. <el-scrollbar view-class="h-full flex flex-col">
  11. <h1 class="text-xl text-white font-extrabold w-full text-center mt-8 mb-12">
  12. 蒙阴县教育数字平台
  13. </h1>
  14. <AppSider class="flex-auto" />
  15. </el-scrollbar>
  16. </aside>
  17. <div class="h-full flex flex-col flex-auto ">
  18. <header class="w-full flex-none bg-hex-041220">
  19. <AppHeader class="bg-white border_lt overflow-hidden" />
  20. </header>
  21. <main class="w-full flex-auto flex flex-col overflow-hidden bg-hex-f6f9fd">
  22. <div class="w-full h-full">
  23. <el-scrollbar always wrap-class="w-full h-full box-border" view-class="relative h-full w-full">
  24. <router-view />
  25. </el-scrollbar>
  26. </div>
  27. </main>
  28. </div>
  29. </div>
  30. </template>
  31. <style lang="scss" scoped>
  32. .border_lt{
  33. border-radius: 2.25rem 0px 0px 0px;
  34. }
  35. </style>