index.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <div class="go-chart">
  3. <n-layout>
  4. <HeaderPro>
  5. <template #left>
  6. <HeaderLeftBtn />
  7. </template>
  8. <template #center>
  9. <HeaderTitle />
  10. </template>
  11. <template #ri-left>
  12. <HeaderRightBtn />
  13. </template>
  14. </HeaderPro>
  15. <n-layout-content content-style="overflow:hidden; display: flex">
  16. <ContentCharts />
  17. <ContentLayers />
  18. <ContentDetails />
  19. </n-layout-content>
  20. </n-layout>
  21. </div>
  22. </template>
  23. <script setup lang="ts">
  24. import { HeaderPro } from '@/layout/components/HeaderPro'
  25. import { HeaderLeftBtn } from './components/HeaderLeftBtn/index'
  26. import { HeaderRightBtn } from './components/HeaderRightBtn/index'
  27. import { HeaderTitle } from './components/HeaderTitle/index'
  28. import { ContentLayers } from './components/ContentLayers/index'
  29. import { ContentCharts } from './components/ContentCharts/index'
  30. import { ContentDetails } from './components/ContentDetails/index'
  31. </script>
  32. <style lang="scss" scoped>
  33. @include go("chart") {
  34. height: 100vh;
  35. width: 100vw;
  36. overflow: hidden;
  37. @include background-image('background-image');
  38. }
  39. </style>