tdesign-vue-next-starter/src/layouts/components/Footer.vue

28 lines
535 B
Vue
Raw Normal View History

<template>
<div :class="PREFIX + '-footer'">Copyright @ 2021-{{ new Date().getFullYear() }} Tencent. All Rights Reserved</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { PREFIX } from '@/config/global';
export default defineComponent({
name: `${PREFIX}-footer`,
setup() {
return {
PREFIX,
};
},
});
</script>
<style lang="less" scoped>
@import '@/style/variables';
.@{prefix}-footer {
color: @text-color-placeholder;
line-height: 20px;
text-align: center;
}
</style>