mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 抽离底部组件
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import Footer from './index.vue'
|
||||
|
||||
export { Footer }
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user