feat: init
This commit is contained in:
27
src/components/footer/index.vue
Normal file
27
src/components/footer/index.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<a-layout-footer class="footer">
|
||||
智能运维管理系统
|
||||
<span style="margin-left: 3px">© {{ currentYear }}</span>
|
||||
<p style="margin-left: 10px">
|
||||
Powered by
|
||||
<!-- <a target="_blank" style="color: #4d8af0; text-decoration: none">xx</a> -->
|
||||
</p>
|
||||
</a-layout-footer>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from 'vue'
|
||||
|
||||
const currentYear = ref(new Date().getFullYear())
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 60px;
|
||||
color: var(--color-text-2);
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user