diff --git a/web/src/components/FooterBar.vue b/web/src/components/FooterBar.vue index 9ace6bec..bb45c600 100644 --- a/web/src/components/FooterBar.vue +++ b/web/src/components/FooterBar.vue @@ -4,7 +4,7 @@
{{ copyRight }}
-
+
{{ title }} - {{ version }} @@ -30,15 +30,19 @@ const license = ref({}); const props = defineProps({ textColor: { type: String, - default: "#ffffff", - }, + default: "#ffffff" + } }); // 获取系统配置 getSystemInfo() .then((res) => { title.value = res.data.title ?? process.env.VUE_APP_TITLE; - copyRight.value = (res.data.copyright ? res.data.copyright : "极客学长") + " © 2023 - " + new Date().getFullYear() + " All rights reserved"; + copyRight.value = + (res.data.copyright ? res.data.copyright : "极客学长") + + " © 2023 - " + + new Date().getFullYear() + + " All rights reserved"; icp.value = res.data.icp; }) .catch((e) => { diff --git a/web/src/views/Index.vue b/web/src/views/Index.vue index 28fdf7f7..501f003b 100644 --- a/web/src/views/Index.vue +++ b/web/src/views/Index.vue @@ -8,18 +8,26 @@
@@ -38,14 +51,23 @@ {{ title }}
- + {{ char }}