Files
Yi.Admin/Yi.Bbs.Vue3/src/components/BottomInfo.vue

60 lines
1.2 KiB
Vue
Raw Normal View History

2023-12-14 10:15:23 +08:00
<template>
2024-01-02 20:49:55 +08:00
<div class="botton-div">
<a
><el-icon><UserFilled /></el-icon>站长{{ configStore.author }}</a
>
<a
><el-icon><Search /></el-icon>{{ configStore.bottom }}</a
>
<a
><el-icon><View /></el-icon>关于本站</a
>
<a @click="handleContact"
><el-icon><Link /></el-icon>联系我们</a
>
<a
><el-icon><Message /></el-icon>建议反馈</a
>
<p></p>
<a
2024-07-29 14:59:43 +08:00
><el-icon><Position /></el-icon><div v-html="configStore.icp"></div></a
2024-01-02 20:49:55 +08:00
>
</div>
2023-12-14 10:15:23 +08:00
</template>
<script setup>
import useConfigStore from "@/stores/config";
2024-01-02 20:49:55 +08:00
import { useRouter } from "vue-router";
const router = useRouter();
const configStore = useConfigStore();
// 联系我们跳转对应页面
const handleContact = () => {
router.push("/contact");
};
2023-12-14 10:15:23 +08:00
</script>
<style scoped>
2024-01-02 20:49:55 +08:00
.el-icon {
margin: 0 0.2rem;
}
a {
margin-right: 2rem;
line-height: 1.8rem;
2023-12-14 10:15:23 +08:00
}
a:hover {
2024-01-02 20:49:55 +08:00
color: #40a9ff;
cursor: pointer;
2023-12-14 10:15:23 +08:00
}
2024-01-02 20:49:55 +08:00
.botton-div {
background: transparent;
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
display: flex;
flex-wrap: wrap;
height: auto;
width: auto;
justify-content: center;
margin: 0.5rem auto;
2023-12-14 10:15:23 +08:00
}
2024-01-02 20:49:55 +08:00
</style>