container.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div class="common-layout">
  3. <el-container>
  4. <el-aside
  5. width="200px"
  6. style="
  7. display: flex;
  8. justify-content: center;
  9. align-items: center;
  10. background-color: #d3dce6;
  11. "
  12. >Aside</el-aside
  13. >
  14. <el-container>
  15. <el-header
  16. style="
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. background-color: #b3c0d1;
  21. "
  22. >Header</el-header
  23. >
  24. <el-main
  25. style="
  26. display: flex;
  27. justify-content: center;
  28. align-items: center;
  29. background-color: #e9eef3;
  30. "
  31. >Main</el-main
  32. >
  33. <el-footer
  34. style="
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. background-color: #b3c0d1;
  39. "
  40. >Footer</el-footer
  41. >
  42. </el-container>
  43. </el-container>
  44. </div>
  45. </template>