From a06e696e24bf09c9759b2f2ae3357072de1d3811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B3=E5=85=83=E7=9A=93?= Date: Mon, 12 May 2025 23:31:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20update=20About=20section=20and=20locali?= =?UTF-8?q?zation;=20enhance=20layout=20in=20about.vue=20and=20change=20"?= =?UTF-8?q?=E9=97=9C=E6=96=BC=E6=88=91=E5=80=91"=20to=20"=E9=97=9C?= =?UTF-8?q?=E6=96=BC=E9=80=99=E5=80=8B=E7=B6=B2=E7=AB=99"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/app/windows/about.vue | 14 ++++++++++++++ i18n/locales/zh-tw.json | 2 +- pages/app/desktop/index.vue | 7 ++----- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/components/app/windows/about.vue b/components/app/windows/about.vue index 6beff51..2addb15 100644 --- a/components/app/windows/about.vue +++ b/components/app/windows/about.vue @@ -1,2 +1,16 @@ diff --git a/i18n/locales/zh-tw.json b/i18n/locales/zh-tw.json index 1401bdd..5a93a21 100644 --- a/i18n/locales/zh-tw.json +++ b/i18n/locales/zh-tw.json @@ -27,7 +27,7 @@ "hotnews": "熱門新聞", "news": "新聞", "sources": "資料來源", - "about": "關於我們", + "about": "關於這個網站", "settings": "設定", "leave": "離開", "login": "登入", diff --git a/pages/app/desktop/index.vue b/pages/app/desktop/index.vue index 953277d..85e418f 100644 --- a/pages/app/desktop/index.vue +++ b/pages/app/desktop/index.vue @@ -65,7 +65,6 @@ const lang = ref(locale.value); const alertOpen = ref(false); const currentNavBar = ref([]); const bootingAnimation = ref(true); -const bypassBoot = ref(false); const activeWindows = ref([]); const openApp = ref(); const openAppId = ref(); @@ -240,10 +239,10 @@ onMounted(() => { // booting animation bypass const bootingHeaderParams = route.query.bypass; if (bootingHeaderParams) { - bypassBoot.value = true; + bootingAnimation.value = false; console.log("Bypass booting animation"); } - if (!bypassBoot.value) { + if (bootingAnimation.value) { gsap.to(popMessage.value, { duration: 0.5, text: t("app.booting"), @@ -252,8 +251,6 @@ if (bootingHeaderParams) { setTimeout(() => { bootingAnimation.value = false; }, 2000); - } else { - bootingAnimation.value = false; } })