Files
Yi.Admin/Yi.Bbs.Vue3/src/layout/LoginLayout.vue

63 lines
1.2 KiB
Vue
Raw Normal View History

2023-12-14 10:15:23 +08:00
<template>
2023-12-19 00:21:25 +08:00
<div class="box">
<div class="content">
<RouterView />
2024-10-03 01:10:32 +08:00
<div class="div-bottom">
<span>备案<span v-html="configStore.icp"></span></span>
<span>站长{{ configStore.author }}</span>
<span v-if="!isIcp"><router-link to="/contact">联系我们</router-link></span>
2024-10-03 01:10:32 +08:00
<span>关于本站</span>
<span>建议反馈</span>
<span>原创站点</span>
</div>
2023-12-14 10:15:23 +08:00
</div>
2023-12-19 00:21:25 +08:00
</div>
</template>
<!-- <style src="@/assets/styles/login.scss" scoped></style> -->
2024-10-03 01:10:32 +08:00
<script setup>
2023-12-19 00:21:25 +08:00
2024-10-03 01:10:32 +08:00
import useConfigStore from "@/stores/config";
const configStore=useConfigStore();
const isIcp=import.meta.env.VITE_APP_ICP==="true";
2024-10-03 01:10:32 +08:00
</script>
2023-12-19 00:21:25 +08:00
<style scoped lang="scss">
.box {
width: 100vw;
height: 100vh;
.content {
width: 100%;
height: 100%;
}
}
2024-10-03 01:10:32 +08:00
.div-bottom
{
position: absolute;
bottom: 30px;
color: #CAD2D9;
font-size: 12px;
width: 100%;
display: flex;
justify-content: center;
span{
margin-right: 10px;
}
a {
$link-color: red;
color: $link-color;
&.visited {
color: $link-color;
}
&:hover {
color: $link-color;
}
&:active {
color: $link-color;
}
}
}
2023-12-19 00:21:25 +08:00
</style>