index.vue 518 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div class="go-footer">
  3. <slot>
  4. <n-text depth="2">
  5. <n-a>{{ $t('global.doc_addr') }}: </n-a>
  6. <n-a italic :href="docPath">
  7. {{docPath}}
  8. </n-a>
  9. </n-text>
  10. </slot>
  11. </div>
  12. </template>
  13. <script setup lang="ts">
  14. import { docPath } from '@/settings/pathConst'
  15. </script>
  16. <style lang="scss" scoped>
  17. @include go(footer) {
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. width: 100%;
  22. padding: 0 40px;
  23. height: $--footer-height;
  24. }
  25. </style>