diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index d74528f..5aacbbb 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -104,15 +104,10 @@
- +
-

新闻与动态

-
-
- {{ item.title }} - {{ item.date }} -
-
+

教师服务与社会贡献项目分布

+
@@ -137,11 +132,14 @@

智能助手

- 北京理工大学 +

北京理工大学

+
+
+
@@ -162,344 +160,358 @@
- + - - - + + - - \ No newline at end of file +} + \ No newline at end of file diff --git a/src/components/LabDetail.vue b/src/components/LabDetail.vue index bf5d163..a5429de 100644 --- a/src/components/LabDetail.vue +++ b/src/components/LabDetail.vue @@ -315,8 +315,8 @@ const handleSearch = () => { filteredLabs.value = labs.value; } else { filteredLabs.value = labs.value.filter(lab => - lab.basicInformation.name1.includes(searchQuery.value) || - (lab.name0 && lab.name0.includes(searchQuery.value)) + lab.basicInformation.name1 && lab.basicInformation.name1.includes(searchQuery.value) || + (lab.basicInformation.name0 && lab.basicInformation.name0.includes(searchQuery.value)) ); } diff --git a/src/components/LabDrawerDetail.vue b/src/components/LabDrawerDetail.vue index bb362cc..38a478b 100644 --- a/src/components/LabDrawerDetail.vue +++ b/src/components/LabDrawerDetail.vue @@ -12,7 +12,6 @@
- {{console.log(labData)}} 编号: {{ labData.basicInformation.name0 }}
diff --git a/src/components/TalentDetail.vue b/src/components/TalentDetail.vue index d18da06..7ef5dfb 100644 --- a/src/components/TalentDetail.vue +++ b/src/components/TalentDetail.vue @@ -50,7 +50,7 @@
@@ -106,30 +110,9 @@
- - - - - - - - - - - - - - + \ 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;