From 19cb3c0e42a7db091c58005b162d86a874cd3a8d Mon Sep 17 00:00:00 2001 From: luckyasme <807254037@qq.com> Date: Mon, 29 Sep 2025 14:28:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=BC=E8=88=AA=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=96=B0=E7=89=88=E6=9C=AC=E3=80=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96footer=E3=80=81float=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/.vitepress/src/components/AppFooter.vue | 2 ++ .../src/components/FloatingButton.vue | 31 ------------------- .../feedback/FloatingButtonHome.vue | 1 - app/.vitepress/src/i18n/header/header-en.ts | 26 ++++++++-------- app/.vitepress/src/i18n/header/header-zh.ts | 26 ++++++++-------- app/.vitepress/src/stores/common.ts | 2 +- 6 files changed, 29 insertions(+), 59 deletions(-) diff --git a/app/.vitepress/src/components/AppFooter.vue b/app/.vitepress/src/components/AppFooter.vue index 4007380..0238a9f 100644 --- a/app/.vitepress/src/components/AppFooter.vue +++ b/app/.vitepress/src/components/AppFooter.vue @@ -229,6 +229,8 @@ $color: #fff; padding-bottom: 16px; .friendship-link-box { margin-top: 12px; + display: flex; + flex-wrap: wrap; } } .friendship-link-title { diff --git a/app/.vitepress/src/components/FloatingButton.vue b/app/.vitepress/src/components/FloatingButton.vue index e27d68e..8313811 100644 --- a/app/.vitepress/src/components/FloatingButton.vue +++ b/app/.vitepress/src/components/FloatingButton.vue @@ -122,37 +122,6 @@ onMounted(() => { position: relative; } -.bug-box { - width: 100%; - height: 104px; - background-image: url(@/assets/category/float/bug-bg.png); - background-size: 100%; - margin-bottom: 12px; - box-shadow: var(--e-shadow-l2); - user-select: none; - border-radius: 4px; - display: flex; - justify-content: center; - align-items: center; - letter-spacing: 4px; - cursor: pointer; -} -.bug-box:hover { - background-image: url(@/assets/category/float/bug-bg-hover.png); -} -.bug-text { - color: white; - font-size: 14px; - writing-mode: vertical-rl; -} - -[lang='en'] { - .bug-text { - writing-mode: inherit; - white-space: pre; - } -} - .feedback-mb { position: sticky; bottom: 16px; diff --git a/app/.vitepress/src/components/feedback/FloatingButtonHome.vue b/app/.vitepress/src/components/feedback/FloatingButtonHome.vue index 5955b13..93ffee0 100644 --- a/app/.vitepress/src/components/feedback/FloatingButtonHome.vue +++ b/app/.vitepress/src/components/feedback/FloatingButtonHome.vue @@ -160,7 +160,6 @@ const floatData = ref([ cursor: default; .o-popup-wrap { - width: 360px; box-shadow: none; } diff --git a/app/.vitepress/src/i18n/header/header-en.ts b/app/.vitepress/src/i18n/header/header-en.ts index 6e25cc3..d03175e 100644 --- a/app/.vitepress/src/i18n/header/header-en.ts +++ b/app/.vitepress/src/i18n/header/header-en.ts @@ -8,7 +8,7 @@ const TAG_TYPE = { NEW: 'NEW', }; -const OutLink = markRaw(IconOutLink); +const OutLink = markRaw(IconOutLink as Object); export default { NAV_ROUTER: [ @@ -20,16 +20,16 @@ export default { NAME: 'Get openEuler', CHILDREN: [ { - NAME: 'openEuler 24.03 LTS SP2', - DESCRIPTION: 'Enhanced 24.03 LTS SP2 on kernel 6.6. Better experience for users and devs.', + NAME: 'openEuler 25.09', + DESCRIPTION: 'Experience server, cloud, edge, embedded innovations based on Linux kernel 6.6.', TAG: TAG_TYPE.NEW, - URL: '/download/#openEuler 24.03 LTS SP2', + URL: '/download/#openEuler 25.09', }, { - NAME: 'openEuler 25.03', - DESCRIPTION: 'Experience server, cloud, edge, embedded innovations based on Linux kernel 6.6.', + NAME: 'openEuler 24.03 LTS SP2', + DESCRIPTION: 'Enhanced 24.03 LTS SP2 on kernel 6.6. Better experience for users and devs.', TAG: null, - URL: '/download/#openEuler 25.03', + URL: '/download/#openEuler 24.03 LTS SP2', }, { NAME: 'openEuler 24.03 LTS SP1', @@ -81,12 +81,12 @@ export default { URL: '/other/lifecycle/', }, { - NAME: 'openEuler 24.03 LTS SP2 Installation Guide', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/24.03_LTS_SP2/server/installation_upgrade/installation/installation_preparations.html`, + NAME: 'openEuler 25.09 Installation Guide', + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/25.09/server/installation_upgrade/installation/installation_preparations.html`, }, { - NAME: 'openEuler 25.03 Installation Guide', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/25.03/server/installation_upgrade/installation/installation-preparations.html`, + NAME: 'openEuler 24.03 LTS SP2 Installation Guide', + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/24.03_LTS_SP2/server/installation_upgrade/installation/installation_preparations.html`, }, { NAME: 'Technical White Papers', @@ -217,12 +217,12 @@ export default { NAME: 'Quick Start', DESCRIPTION: 'Learn the community essentials in 10 minutes, build and grow quickly.', TAG: TAG_TYPE.HOT, - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/24.03_LTS_SP2/server/quickstart/quickstart/quick_start.html`, + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/25.09/server/quickstart/quickstart/quick_start.html`, }, { NAME: 'Installation Guide', DESCRIPTION: 'Step-by-step instructions for installing openEuler.', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/24.03_LTS_SP2/server/installation_upgrade/installation/installation_preparations.html`, + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/25.09/server/installation_upgrade/installation/installation_preparations.html`, }, { NAME: 'Frequently Asked Questions', diff --git a/app/.vitepress/src/i18n/header/header-zh.ts b/app/.vitepress/src/i18n/header/header-zh.ts index 2af2d12..a7a8d38 100644 --- a/app/.vitepress/src/i18n/header/header-zh.ts +++ b/app/.vitepress/src/i18n/header/header-zh.ts @@ -10,7 +10,7 @@ const TAG_TYPE = { NEW: 'NEW', }; -const OutLink = markRaw(IconOutLink); +const OutLink = markRaw(IconOutLink as Object); export default { NAV_ROUTER: [ @@ -22,18 +22,18 @@ export default { NAME: '获取openEuler', CHILDREN: [ { - NAME: 'openEuler 24.03 LTS SP2', + NAME: 'openEuler 25.09', DESCRIPTION: - '基于6.6内核的LTS版本,面向服务器、云、边缘计算和嵌入式场景,提供更多新特性和功能,给开发者和用户带来全新的体验,服务更多的领域和更多的用户。', + '基于6.6内核的创新版本,面向服务器、云、边缘计算和嵌入式场景,提供更多新特性和功能,给开发者和用户带来全新的体验,服务更多的领域和更多的用户。', TAG: TAG_TYPE.NEW, - URL: '/download/#openEuler 24.03 LTS SP2', + URL: '/download/#openEuler 25.09', }, { - NAME: 'openEuler 25.03', + NAME: 'openEuler 24.03 LTS SP2', DESCRIPTION: - '基于6.6内核的创新版本,面向服务器、云、边缘计算和嵌入式场景,提供更多新特性和功能,给开发者和用户带来全新的体验,服务更多的领域和更多的用户。', + '基于6.6内核的LTS版本,面向服务器、云、边缘计算和嵌入式场景,提供更多新特性和功能,给开发者和用户带来全新的体验,服务更多的领域和更多的用户。', TAG: null, - URL: '/download/#openEuler 25.03', + URL: '/download/#openEuler 24.03 LTS SP2', }, { NAME: 'openEuler 24.03 LTS SP1', @@ -91,12 +91,12 @@ export default { URL: '/other/lifecycle/', }, { - NAME: '24.03 LTS SP2安装指南', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/24.03_LTS_SP2/server/installation_upgrade/installation/installation_preparations.html`, + NAME: '25.09安装指南', + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/25.09/server/installation_upgrade/installation/installation_preparations.html`, }, { - NAME: '25.03安装指南', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/25.03/server/installation_upgrade/installation/installation-preparations.html`, + NAME: '24.03 LTS SP2安装指南', + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/24.03_LTS_SP2/server/installation_upgrade/installation/installation_preparations.html`, }, { NAME: '技术白皮书', @@ -276,12 +276,12 @@ export default { NAME: '新手入门', DESCRIPTION: '10分钟玩转社区,快速构建与成长', TAG: TAG_TYPE.HOT, - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/24.03_LTS_SP2/server/quickstart/quickstart/quick_start.html`, + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/25.09/server/quickstart/quickstart/quick_start.html`, }, { NAME: '安装指南', DESCRIPTION: '指导用户顺利完成 openEuler 操作系统安装', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/24.03_LTS_SP2/server/installation_upgrade/installation/installation_preparations.html`, + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/25.09/server/installation_upgrade/installation/installation_preparations.html`, }, { NAME: '常见问题', diff --git a/app/.vitepress/src/stores/common.ts b/app/.vitepress/src/stores/common.ts index ba2ff2a..88239d2 100644 --- a/app/.vitepress/src/stores/common.ts +++ b/app/.vitepress/src/stores/common.ts @@ -32,7 +32,7 @@ export const useSearchingStore = defineStore('isSearching', { keyword: '', isLoading: false, currentPage: 1, - version: '24.03_LTS_SP2', // 文档当前版本 + version: '25.09', // 文档当前版本 }; }, actions: { -- Gitee