54 lines
1.1 KiB
Vue
Raw Normal View History

2021-05-13 10:56:04 +08:00
<template>
<div class="foot">
<Row type="flex" justify="space-around" class="help">
<a class="item" :href="config.website" target="_blank">帮助</a>
<a class="item" :href="config.website" target="_blank">隐私</a>
<a class="item" :href="config.website" target="_blank">条款</a>
2021-05-13 10:56:04 +08:00
</Row>
<Row type="flex" justify="center" class="copyright">
2022-10-26 11:13:43 +08:00
Copyright © {{ year }} - Present
<a
:href="config.website"
class="href"
target="_blank"
style="margin: 0 5px"
>{{ config.title }}</a
>
2021-05-13 10:56:04 +08:00
</Row>
</div>
</template>
<script>
2022-10-26 11:13:43 +08:00
const config = require("@/config/index");
2021-05-13 10:56:04 +08:00
export default {
2022-10-26 11:13:43 +08:00
// name: "footer",
2021-07-08 14:36:05 +08:00
data() {
return {
config,
year: new Date().getFullYear(), // 年
};
2021-07-08 14:36:05 +08:00
},
2021-05-13 10:56:04 +08:00
};
</script>
<style lang="scss" scoped>
.foot {
position: fixed;
bottom: 4vh;
width: 368px;
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
.help {
margin: 0 auto;
margin-bottom: 1vh;
width: 60%;
.item {
color: rgba(0, 0, 0, 0.45);
}
:hover {
color: rgba(0, 0, 0, 0.65);
}
}
}
</style>