index.vue 901 B

123456789101112131415161718192021222324252627282930313233343536
  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>
  16. <n-space></n-space>
  17. </n-layout-content>
  18. </n-layout>
  19. </div>
  20. </template>
  21. <script setup lang="ts">
  22. import { HeaderPro } from '@/layout/components/HeaderPro'
  23. import { HeaderLeftBtn } from './layout/components/HeaderLeftBtn/index'
  24. import { HeaderRightBtn } from './layout/components/HeaderRightBtn/index'
  25. import { HeaderTitle } from './layout/components/HeaderTitle/index'
  26. </script>
  27. <style lang="scss" scoped>
  28. $height: 100vh;
  29. @include go('chart') {
  30. height: $height;
  31. overflow: hidden;
  32. @include background-image('background-image');
  33. }
  34. </style>