mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-26 09:06:31 +08:00
28 lines
535 B
Vue
28 lines
535 B
Vue
|
<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>
|