fix: 抽离底部组件

This commit is contained in:
MTrun
2021-12-17 14:19:55 +08:00
parent 557ddd6ee5
commit 4273682d51
4 changed files with 31 additions and 9 deletions
+3
View File
@@ -0,0 +1,3 @@
import Footer from './index.vue'
export { Footer }
+23
View File
@@ -0,0 +1,23 @@
<template>
<div class="go-footer">
<slot>
<n-a>{{ $t('global.doc_addr') }}: </n-a>
<n-a italic href="http://www.mtruning.club/">
http://www.mtruning.club/
</n-a>
</slot>
</div>
</template>
<script setup lang="ts"></script>
<style lang="scss" scoped>
@include go(footer) {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding: 0 40px;
height: $--footer-height;
}
</style>