From 5768c7959e0a00828ea07faa006b30f4d76d8374 Mon Sep 17 00:00:00 2001 From: lqins Date: Fri, 14 Feb 2025 16:56:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/FooterBar.vue | 12 +++++--- web/src/views/Index.vue | 50 +++++++++++++++++++++++--------- 2 files changed, 44 insertions(+), 18 deletions(-) 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 }}