index.vue 920 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <div id="dashboard-container" class="dashboard-container">
  3. <HeaderSection />
  4. <div class="dashboard-content">
  5. <LeftSection />
  6. <MiddleSection />
  7. <RightSection />
  8. </div>
  9. </div>
  10. </template>
  11. <script lang="ts" setup>
  12. import LeftSection from './LeftSection.vue';
  13. import RightSection from './RightSection.vue';
  14. import MiddleSection from './MiddleSection.vue';
  15. import autofit from 'autofit.js';
  16. onMounted(() => {
  17. /* autofit.init(
  18. {
  19. dw: 8960,
  20. dh: 2520,
  21. el: '#dashboard-container',
  22. resize: true
  23. },
  24. false
  25. );*/
  26. });
  27. onUnmounted(() => {
  28. autofit.off();
  29. });
  30. </script>
  31. <style lang="scss" scoped>
  32. .dashboard-container {
  33. //width: 100%;
  34. //height: 100vh;
  35. width: 8960px;
  36. height: 2560px;
  37. background-color: #f2f2f2;
  38. font-size: 74px;
  39. .dashboard-content {
  40. padding: 69px;
  41. display: flex;
  42. height: calc(2560px - 207px);
  43. }
  44. }
  45. </style>