From e8382c1d0533f1e3ec013cfb5e8ccffbd7179659 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 2 Jan 2024 18:38:58 +0800 Subject: [PATCH] fix --- src/components/breadcrumb/index.vue | 51 +++++++++++--- src/layouts/footer/index.vue | 65 +----------------- src/pages/about/index.vue | 3 +- src/pages/article/activity.vue | 1 + src/pages/article/index.vue | 3 +- src/pages/careers/index.vue | 1 + src/pages/column/index.vue | 18 ++--- src/pages/deviceIntroBeam/index.vue | 32 +++++---- src/pages/deviceIntroLayout/index.vue | 30 ++------- src/pages/iasf/index.vue | 95 +++++++++++++++++++-------- src/pages/org/index.vue | 4 +- src/pages/overview/index.vue | 4 +- src/pages/overviewIntro/index.vue | 8 +-- src/pages/overviewSetup/index.vue | 4 +- src/pages/research/index.vue | 1 + src/pages/scientific/index.vue | 1 - src/styles/page/page.scss | 3 + 17 files changed, 155 insertions(+), 169 deletions(-) diff --git a/src/components/breadcrumb/index.vue b/src/components/breadcrumb/index.vue index 01b4650..50fce1f 100644 --- a/src/components/breadcrumb/index.vue +++ b/src/components/breadcrumb/index.vue @@ -1,9 +1,19 @@ @@ -18,18 +28,39 @@ export default { methods: { }, + filters: { + i18nName (name, type) { + switch (name) { + case '专利': + return type.t('column.patent') + case '专著': + return type.t('column.monograph') + case '论文': + return type.t('column.paper') + case '科学研究': + return type.t('column.scientificResearch') + + default: + return name + } + } + } }; \ No newline at end of file diff --git a/src/layouts/footer/index.vue b/src/layouts/footer/index.vue index ba5766b..1624dc1 100644 --- a/src/layouts/footer/index.vue +++ b/src/layouts/footer/index.vue @@ -1,48 +1,7 @@