From 3f3dc13c8679d30d6e939347f912e58d4a710efb Mon Sep 17 00:00:00 2001 From: luckyasme <807254037@qq.com> Date: Mon, 30 Jun 2025 17:38:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96header=E3=80=81footer?= =?UTF-8?q?=E5=92=8C=E6=90=9C=E7=B4=A2=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/header/HeaderSearch.vue | 2 +- app/.vitepress/src/i18n/footer/footer-en.ts | 2 +- app/.vitepress/src/i18n/footer/footer-zh.ts | 2 +- app/.vitepress/src/i18n/header/header-en.ts | 27 ++++++++++------- app/.vitepress/src/i18n/header/header-zh.ts | 30 +++++++++++-------- app/.vitepress/src/views/home/TheHome.vue | 2 +- 6 files changed, 38 insertions(+), 27 deletions(-) diff --git a/app/.vitepress/src/components/header/HeaderSearch.vue b/app/.vitepress/src/components/header/HeaderSearch.vue index d90d02b24..646ec3e19 100644 --- a/app/.vitepress/src/components/header/HeaderSearch.vue +++ b/app/.vitepress/src/components/header/HeaderSearch.vue @@ -43,7 +43,7 @@ function handleSearchEvent() { isShowDrawer.value = false; handleSearch(input); - window.open(`${import.meta.env.VITE_MAIN_DOMAIN_URL}/${lang.value}/other/search/?search=${encodeURIComponent(input)}`, '_blank'); + window.open(`${import.meta.env.VITE_MAIN_DOMAIN_URL}/${lang.value}/other/search/?q=${encodeURIComponent(input)}`, '_blank'); } // 点击热搜标签 const onTopSearchItemClick = (val: string) => { diff --git a/app/.vitepress/src/i18n/footer/footer-en.ts b/app/.vitepress/src/i18n/footer/footer-en.ts index ebe859b9a..8f5a4f868 100644 --- a/app/.vitepress/src/i18n/footer/footer-en.ts +++ b/app/.vitepress/src/i18n/footer/footer-en.ts @@ -1,5 +1,5 @@ export default { - atomText: 'openEuler is an open source project incubated and operated by the OpenAtom Foundation.', + atomText: 'openEuler, an open source OS incubated by the OpenAtom Foundation for digital infrastructure in server, cloud, edge, embedded scenarios, across Arm, x86, RISC-V, LoongArch, PowerPC, and SW-64 architectures.', mail: 'contact@openeuler.io', copyRight: 'Copyright © {0} openEuler. All rights reserved.', license_1: 'Licensed under', diff --git a/app/.vitepress/src/i18n/footer/footer-zh.ts b/app/.vitepress/src/i18n/footer/footer-zh.ts index aced664cf..09b5fbc9e 100644 --- a/app/.vitepress/src/i18n/footer/footer-zh.ts +++ b/app/.vitepress/src/i18n/footer/footer-zh.ts @@ -1,5 +1,5 @@ export default { - atomText: 'openEuler 是由开放原子开源基金会(OpenAtom Foundation)孵化及运营的开源项目', + atomText: 'openEuler是由开放原子开源基金会孵化的全场景开源操作系统项目,面向数字基础设施四大核心场景(服务器、云计算、边缘计算、嵌入式),全面支持ARM、x86、RISC-V、loongArch、PowerPC、SW-64等多样性计算架构', mail: 'contact@openeuler.io', copyRight: '版权所有 © {0} openEuler 保留一切权利', license_1: '遵循', diff --git a/app/.vitepress/src/i18n/header/header-en.ts b/app/.vitepress/src/i18n/header/header-en.ts index 82f7861b1..6e25cc3b7 100644 --- a/app/.vitepress/src/i18n/header/header-en.ts +++ b/app/.vitepress/src/i18n/header/header-en.ts @@ -19,10 +19,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.', + TAG: TAG_TYPE.NEW, + URL: '/download/#openEuler 24.03 LTS SP2', + }, { NAME: 'openEuler 25.03', DESCRIPTION: 'Experience server, cloud, edge, embedded innovations based on Linux kernel 6.6.', - TAG: TAG_TYPE.NEW, + TAG: null, URL: '/download/#openEuler 25.03', }, { @@ -31,12 +37,6 @@ export default { TAG: null, URL: '/download/#openEuler 24.03 LTS SP1', }, - { - NAME: 'openEuler 22.03 LTS SP4', - DESCRIPTION: 'A patch version of openEuler 22.03 LTS. Both versions share the same lifecycle.', - TAG: null, - URL: '/download/#openEuler 22.03 LTS SP4', - }, { NAME: 'More', DESCRIPTION: 'Get openEuler from public clouds or container images.', @@ -81,12 +81,12 @@ export default { URL: '/other/lifecycle/', }, { - 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: 'openEuler 24.03 LTS SP1 Installation Guide', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/en/docs/24.03_LTS_SP1/docs/Installation/Installation.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: 'Technical White Papers', @@ -190,6 +190,11 @@ export default { DESCRIPTION: 'A high-performance Java Virtual Machine.', URL: '/other/projects/bishengjdk/', }, + { + NAME: 'openEuler Intelligence', + DESCRIPTION: 'Large language model platform powered by openEuler', + URL: '/projects/intelligence/', + }, ], }, ], diff --git a/app/.vitepress/src/i18n/header/header-zh.ts b/app/.vitepress/src/i18n/header/header-zh.ts index 9539c3db1..2af2d1213 100644 --- a/app/.vitepress/src/i18n/header/header-zh.ts +++ b/app/.vitepress/src/i18n/header/header-zh.ts @@ -21,11 +21,18 @@ export default { { NAME: '获取openEuler', CHILDREN: [ + { + NAME: 'openEuler 24.03 LTS SP2', + DESCRIPTION: + '基于6.6内核的LTS版本,面向服务器、云、边缘计算和嵌入式场景,提供更多新特性和功能,给开发者和用户带来全新的体验,服务更多的领域和更多的用户。', + TAG: TAG_TYPE.NEW, + URL: '/download/#openEuler 24.03 LTS SP2', + }, { NAME: 'openEuler 25.03', DESCRIPTION: '基于6.6内核的创新版本,面向服务器、云、边缘计算和嵌入式场景,提供更多新特性和功能,给开发者和用户带来全新的体验,服务更多的领域和更多的用户。', - TAG: TAG_TYPE.NEW, + TAG: null, URL: '/download/#openEuler 25.03', }, { @@ -35,12 +42,6 @@ export default { TAG: null, URL: '/download/#openEuler 24.03 LTS SP1', }, - { - NAME: 'openEuler 22.03 LTS SP4', - DESCRIPTION: 'openEuler 22.03 LTS的补丁版本,生命周期与LTS版本相同', - TAG: null, - URL: '/download/#openEuler 22.03 LTS SP4', - }, { NAME: '其他获取方式', DESCRIPTION: '通过公有云、容器镜像等方式获取openEuler版本', @@ -90,12 +91,12 @@ export default { URL: '/other/lifecycle/', }, { - 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: '24.03 LTS SP1安装指南', - URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/24.03_LTS_SP1/docs/Installation/installation.html`, + NAME: '25.03安装指南', + URL: `${import.meta.env.VITE_SERVICE_DOCS_URL}/zh/docs/25.03/server/installation_upgrade/installation/installation-preparations.html`, }, { NAME: '技术白皮书', @@ -234,6 +235,11 @@ export default { DESCRIPTION: '一款高性能Java虚拟机', URL: '/other/projects/bishengjdk/', }, + { + NAME: 'openEuler智能化解决方案', + DESCRIPTION: '搭载在openEuler上的大模型平台', + URL: '/projects/intelligence/', + }, ], }, ], @@ -339,7 +345,7 @@ export default { }, { NAME: '学习openEuler安全知识', - URL: 'https://space.bilibili.com/527064077/channel/collectiondetail?sid=2726214', + URL: 'https://space.bilibili.com/527064077/lists/2726214', ICON: OutLink, }, { diff --git a/app/.vitepress/src/views/home/TheHome.vue b/app/.vitepress/src/views/home/TheHome.vue index 49a92d0fb..17ca60742 100644 --- a/app/.vitepress/src/views/home/TheHome.vue +++ b/app/.vitepress/src/views/home/TheHome.vue @@ -48,7 +48,7 @@ const gap = computed(() => { const searchValue = ref(''); const getSearchUrl = (val: string) => { - return `${import.meta.env.VITE_MAIN_DOMAIN_URL}/${locale.value}/other/search/?search=${val.trim()}&type=docs&version=${searchStore.version}`; + return `${import.meta.env.VITE_MAIN_DOMAIN_URL}/${locale.value}/other/search/?q=${val.trim()}&type=docs&version=${searchStore.version}`; }; const enterSearchDoc = (val: string) => { -- Gitee