index.vue 450 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div class="layout_index_container">
  3. <SideBar/>
  4. <AppMain/>
  5. </div>
  6. </template>
  7. <script>
  8. import { AppMain,SideBar } from "./components";
  9. export default {
  10. name: "Layout",
  11. components: {
  12. AppMain,
  13. SideBar,
  14. },
  15. data() {
  16. return {};
  17. },
  18. mounted() {},
  19. methods: {},
  20. };
  21. </script>
  22. <style lang="scss" scoped>
  23. .layout_index_container{
  24. width: 100vw;
  25. height: 100vh;
  26. background-color: #F3F5FA;
  27. }
  28. </style>