From fa9e802d0c2492d47aef0f59b178b32a07ae65d4 Mon Sep 17 00:00:00 2001 From: liuyong <925339056@qq.com> Date: Thu, 20 Feb 2025 15:12:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E5=AA=92=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AppFooter.vue | 17 ++--------------- src/components/CookieNotice.vue | 2 +- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index 14e61b8..c57b8c8 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -2,7 +2,7 @@ import { computed } from 'vue'; import { useI18n } from 'vue-i18n'; -import { linksData, linksData2 } from '@/config'; +import { linksData2 } from '@/config'; import { useLangStore } from '@/stores'; import { getYearByOffset } from '@/shared/utils'; @@ -105,18 +105,6 @@ const footBg = { -
@@ -221,7 +209,7 @@ $color: #fff; } .inner { display: flex; - align-items: end; + align-items: center; justify-content: space-between; padding: 18px 0 32px; position: relative; @@ -310,7 +298,6 @@ $color: #fff; display: flex; justify-content: right; gap: 16px; - margin-bottom: 16px; .code-pop { position: relative; height: 20px; diff --git a/src/components/CookieNotice.vue b/src/components/CookieNotice.vue index f1376ba..e6828b2 100644 --- a/src/components/CookieNotice.vue +++ b/src/components/CookieNotice.vue @@ -15,7 +15,7 @@ import { enableOA } from '@/shared/analytics'; import { disableOA } from '@/shared/analytics'; const { lePadV } = useScreen(); -const { locale } = useI18n(); +const { t: $t, locale } = useI18n(); const isZh = computed(() => locale.value === 'zh'); const aboutCookiesUrl = computed( () => `https://www.openeuler.org/${locale.value}/other/cookies/` -- Gitee