From 2d152c5e2d734d40d41ee93295f166ce9bfd7516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czhuzihan=E2=80=9D=E2=80=83?= <“772644120@qq.com”> Date: Thu, 3 Jul 2025 15:10:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=B8=88=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dashboard.vue | 17 +- src/components/LabDrawerDetail.vue | 1 - src/components/TalentDetail.vue | 120 ++- src/components/TalentDrawerDetail.vue | 1003 +++++-------------------- src/components/common.css | 4 +- 5 files changed, 247 insertions(+), 898 deletions(-) diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index 4658aa7..5aacbbb 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -1048,19 +1048,19 @@ watch(dashboardData, () => { const keyProjectsEl = document.querySelector('.stat-card:nth-child(4) .stat-value'); if (paperCountEl) { - paperCountEl.innerHTML = `累计${dashboardData.value.paperCount || 0}`; + paperCountEl.innerHTML = `累计${dashboardData.value.paperCount || 0}`; } if (patentCountEl) { - patentCountEl.innerHTML = `本年${dashboardData.value.patentCount || 0}`; + patentCountEl.innerHTML = `本年${dashboardData.value.patentCount || 0}`; } if (highImpactPapersEl) { - highImpactPapersEl.innerHTML = `累计${dashboardData.value.highImpactPapers || 0}`; + highImpactPapersEl.innerHTML = `累计${dashboardData.value.highImpactPapers || 0}`; } if (keyProjectsEl) { - keyProjectsEl.innerHTML = `国家重点${dashboardData.value.keyProjects || 0}`; + keyProjectsEl.innerHTML = `国家重点${dashboardData.value.keyProjects || 0}`; } // 更新研究经费 @@ -1131,7 +1131,6 @@ onUnmounted(() => { \ No newline at end of file diff --git a/src/components/common.css b/src/components/common.css index 27b5bbd..3d93796 100644 --- a/src/components/common.css +++ b/src/components/common.css @@ -118,7 +118,9 @@ font-size: 16px; text-align: center; } - +h2{ + text-align: left!important; +} .panel-header { display: flex; justify-content: space-between;