perf: 增加备案号设置

pull/101/head
xiaojunnuo 2024-07-15 01:29:35 +08:00
parent 390e4853a5
commit bd3d959944
3 changed files with 34 additions and 7 deletions

View File

@ -58,7 +58,10 @@
</router-view> </router-view>
</a-layout-content> </a-layout-content>
<a-layout-footer class="fs-framework-footer"> <a-layout-footer class="fs-framework-footer">
<div>Powered by handsfree.work</div> <div>
<span>Powered by</span>
<a href="https://certd.handsfree.work"> handsfree.work </a>
</div>
<div>v{{ version }}</div> <div>v{{ version }}</div>
<!-- <fs-source-link />--> <!-- <fs-source-link />-->

View File

@ -14,13 +14,21 @@
<router-view /> <router-view />
<div class="footer"> <div class="footer">
<div class="links"> <!-- <div class="links">-->
<a href="_self">帮助</a> <!-- <a href="_self">帮助</a>-->
<a href="_self">隐私</a> <!-- <a href="_self">隐私</a>-->
<a href="_self">条款</a> <!-- <a href="_self">条款</a>-->
</div> <!-- </div>-->
<div class="copyright"> <div class="copyright">
Copyright &copy; {{ envRef.COPYRIGHT_YEAR }} <a :href="envRef.COPYRIGHT_URL" target="_blank">{{ envRef.COPYRIGHT_NAME }}</a> <span>Copyright</span>
<span>&copy;</span>
<span>{{ envRef.COPYRIGHT_YEAR }}</span>
<span>
<a :href="envRef.COPYRIGHT_URL" target="_blank">{{ envRef.COPYRIGHT_NAME }}</a>
</span>
<span v-if="envRef.ICP_NO">
<a href="https://beian.miit.gov.cn/" target="_blank">{{ envRef.ICP_NO }}</a>
</span>
</div> </div>
</div> </div>
</div> </div>
@ -156,6 +164,21 @@ export default {
.copyright { .copyright {
color: rgba(0, 0, 0, 0.45); color: rgba(0, 0, 0, 0.45);
font-size: 14px; font-size: 14px;
display: flex;
justify-content: center;
align-items: center;
span {
margin-left: 5px;
margin-right: 5px;
}
a {
color: rgba(0, 0, 0, 0.45);
transition: all 0.3s;
&:hover {
color: rgba(0, 0, 0, 0.85);
}
}
} }
} }
} }

View File

@ -16,6 +16,7 @@ export class EnvConfig {
COPYRIGHT_URL: string; COPYRIGHT_URL: string;
LOGO_PATH: string; LOGO_PATH: string;
PM_ENABLED: string; PM_ENABLED: string;
ICP_NO: string;
constructor() { constructor() {
this.init(); this.init();
} }