+
Latest Article
{{ item.slug || ''}}
+
{{ item.likeCount || 0 }}
- {{ item.publishTime || '' }}
+ {{ formatPublishTime(item.publishTime || '') }}
From 8f57683dd5b66c1c73ec388d556e55ecfd359e4f Mon Sep 17 00:00:00 2001 From: qiuxiao <2280807541@qq.com> Date: Wed, 12 Nov 2025 18:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E6=9C=9F=E4=BF=AE=E6=94=B9=E5=AE=8C?= =?UTF-8?q?=E5=96=84=EF=BC=8C=E4=B8=8A=E7=BA=BF=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/tools.js | 4 +- components/Footer.vue | 35 +-- components/GlobalLoading.vue | 2 +- components/Header.vue | 81 +++-- components/HorizontalDateList.vue | 11 +- components/MyTabs/MyTabs.vue | 2 +- components/Pagination.vue | 1 + components/Rate.vue | 6 +- components/SearchSelectInput.vue | 80 +++-- layouts/default.vue | 6 +- nuxt.config.js | 20 +- package.json | 2 + pages/AIHub/AITools.vue | 6 +- pages/AIHub/AIToolsDetail.vue | 101 ++++-- pages/AIHub/Frameworks.vue | 6 +- pages/AIHub/components/ListCardItem.vue | 22 +- pages/AIHub/index.vue | 8 +- pages/About/About.vue | 26 +- pages/About/Privacy.vue | 130 +++++--- pages/About/Service.vue | 107 ++++--- .../DailyNews/NewsDetailIndex/NewsDetail.vue | 10 +- pages/DailyNews/NewsDetailIndex/index.vue | 52 +++- pages/DailyNews/NewsList.vue | 20 +- .../DailyNews/components/ArticleCardItem.vue | 60 ++-- .../components/ArticleTextListItem.vue | 6 +- pages/DailyNews/components/NewsCardItem.vue | 37 ++- pages/DailyNews/index.vue | 83 +++-- pages/Home/components/PopularToolList.vue | 15 +- pages/Home/components/ToolItem.vue | 189 ++++++++++++ pages/Home/components/ToolItemCard.vue | 8 +- pages/Home/components/ToolList.vue | 94 ++---- pages/Home/components/Toolbar.vue | 70 ++++- pages/Home/index.vue | 42 ++- pages/Home/views/List.vue | 44 ++- pages/Home/views/ViewMore.vue | 9 +- pages/Launches/Detail/FinanceItem.vue | 22 +- pages/Launches/Detail/ProjectItem.vue | 30 +- pages/Launches/Detail/RelatedTool.vue | 47 ++- pages/Launches/Detail/index.vue | 292 +++++++++++------- .../FinanceDetail/SpecialFinanceItem.vue | 33 +- pages/Launches/FinanceDetail/index.vue | 176 ++++++++--- pages/Launches/components/ListItem.vue | 70 ++++- pages/Launches/components/OptionDates.vue | 131 +++++++- pages/Launches/components/SwitchDate.vue | 28 +- pages/Launches/components/SwitchMonth.vue | 29 +- pages/Launches/components/SwitchSort.vue | 16 +- pages/Launches/components/SwitchYear.vue | 31 +- pages/Launches/index.vue | 203 ++++++++++-- pages/Learn/Depth.vue | 6 +- pages/Learn/Observer.vue | 6 +- pages/Learn/Pioneer.vue | 6 +- pages/Learn/index.vue | 20 +- pages/ToolDetail/Comment/index.vue | 41 ++- pages/ToolDetail/Product/index.vue | 70 +++-- pages/ToolDetail/components/CommentBtn.vue | 8 +- pages/ToolDetail/components/CommentItem.vue | 17 +- .../ToolDetail/components/SimilarToolCard.vue | 41 ++- pages/ToolDetail/components/ThumbBtn.vue | 8 +- pages/ToolDetail/index.vue | 129 +++++--- router.js | 12 +- static/ToolDetail/icon_star.png | Bin 0 -> 1136 bytes static/font/Poppins-BlackItalic.otf | Bin 101016 -> 0 bytes static/font/Poppins-BoldItalic.otf | Bin 106216 -> 0 bytes static/font/Poppins-ExtraBoldItalic.otf | Bin 106072 -> 0 bytes static/font/Poppins-ExtraLight.otf | Bin 95476 -> 0 bytes static/font/Poppins-ExtraLightItalic.otf | Bin 107932 -> 0 bytes static/font/Poppins-Italic.otf | Bin 106944 -> 0 bytes static/font/Poppins-LightItalic.otf | Bin 107924 -> 0 bytes static/font/Poppins-MediumItalic.otf | Bin 105848 -> 0 bytes static/font/Poppins-SemiBoldItalic.otf | Bin 107144 -> 0 bytes static/font/Poppins-Thin.otf | Bin 90036 -> 0 bytes static/font/Poppins-ThinItalic.otf | Bin 101460 -> 0 bytes static/launches/icon_next.png | Bin 881 -> 446 bytes static/launches/icon_next_disabled.png | Bin 908 -> 451 bytes static/launches/icon_prev.png | Bin 909 -> 470 bytes static/launches/icon_prev_disabled.png | Bin 900 -> 446 bytes static/launches/link/icon_Facebook.png | Bin 0 -> 671 bytes .../launches/link/icon_Facebook_selected.png | Bin 0 -> 524 bytes static/launches/link/icon_Github.png | Bin 0 -> 803 bytes static/launches/link/icon_Github_selected.png | Bin 0 -> 603 bytes static/launches/link/icon_Instagram.png | Bin 0 -> 1155 bytes .../launches/link/icon_Instagram_selected.png | Bin 0 -> 651 bytes static/launches/link/icon_LikendIn.png | Bin 0 -> 743 bytes .../launches/link/icon_LikendIn_selected.png | Bin 0 -> 705 bytes static/launches/link/icon_Twitter.png | Bin 0 -> 1151 bytes .../launches/link/icon_Twitter_selected.png | Bin 0 -> 638 bytes static/launches/link/icon_Website.png | Bin 0 -> 681 bytes .../launches/link/icon_Website_selected.png | Bin 0 -> 830 bytes static/menu/analysis.png | Bin 0 -> 690 bytes static/menu/frameworks.png | Bin 0 -> 1411 bytes static/menu/observer.png | Bin 0 -> 1159 bytes static/menu/pioneer.png | Bin 0 -> 733 bytes static/menu/tools.png | Bin 0 -> 740 bytes styles/article.scss | 6 +- styles/font.scss | 30 +- styles/index.scss | 39 ++- styles/text.scss | 2 +- yarn.lock | 33 +- 98 files changed, 2110 insertions(+), 867 deletions(-) create mode 100644 pages/Home/components/ToolItem.vue create mode 100644 static/ToolDetail/icon_star.png delete mode 100644 static/font/Poppins-BlackItalic.otf delete mode 100644 static/font/Poppins-BoldItalic.otf delete mode 100644 static/font/Poppins-ExtraBoldItalic.otf delete mode 100644 static/font/Poppins-ExtraLight.otf delete mode 100644 static/font/Poppins-ExtraLightItalic.otf delete mode 100644 static/font/Poppins-Italic.otf delete mode 100644 static/font/Poppins-LightItalic.otf delete mode 100644 static/font/Poppins-MediumItalic.otf delete mode 100644 static/font/Poppins-SemiBoldItalic.otf delete mode 100644 static/font/Poppins-Thin.otf delete mode 100644 static/font/Poppins-ThinItalic.otf create mode 100644 static/launches/link/icon_Facebook.png create mode 100644 static/launches/link/icon_Facebook_selected.png create mode 100644 static/launches/link/icon_Github.png create mode 100644 static/launches/link/icon_Github_selected.png create mode 100644 static/launches/link/icon_Instagram.png create mode 100644 static/launches/link/icon_Instagram_selected.png create mode 100644 static/launches/link/icon_LikendIn.png create mode 100644 static/launches/link/icon_LikendIn_selected.png create mode 100644 static/launches/link/icon_Twitter.png create mode 100644 static/launches/link/icon_Twitter_selected.png create mode 100644 static/launches/link/icon_Website.png create mode 100644 static/launches/link/icon_Website_selected.png create mode 100644 static/menu/analysis.png create mode 100644 static/menu/frameworks.png create mode 100644 static/menu/observer.png create mode 100644 static/menu/pioneer.png create mode 100644 static/menu/tools.png diff --git a/api/tools.js b/api/tools.js index 38656e0..ddf0a31 100644 --- a/api/tools.js +++ b/api/tools.js @@ -3,7 +3,7 @@ export default ($axios) => ({ return $axios.get('/tool', { params }) }, getCategoryList(params) { - return $axios.get('/category', { params }) + return $axios.get('/category/tree', { params }) }, getToolByCategory(params) { return $axios.get('/tool/group', { params }) @@ -19,5 +19,5 @@ export default ($axios) => ({ }, searchToolByWord(word) { return $axios.get('/tool/search', { params:{q: word, limit:50}}) - } + }, }) diff --git a/components/Footer.vue b/components/Footer.vue index 61b4e0b..540605c 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -44,13 +44,14 @@ export default { name: "Footer", data() { return { - first: [{ - name: 'Home', - path: '/home/list', - meta: { - parent: 'Home', + first: [ + { + name: 'Home', + path: '/home/list', + meta: { + parent: 'Home', + }, }, - }, { name: 'AI Daily News', path: '/dailyNews', @@ -59,15 +60,10 @@ export default { }, }, { - name: 'AI Hub', + name: 'AI Launches', + path: '/launches', meta: { - parent: 'Hub', - } - }, - { - name: 'Learn', - meta: { - parent: 'Learn', + parent: 'Launches', } }, { @@ -99,11 +95,6 @@ export default { goto(path) { this.$router.push(path); }, - /** - * 判断当前导航项是否应该被选中 - * @param {Object} item 导航项 - * @returns {Boolean} 是否选中 - */ isParentMatch(item) { // 首先检查路径匹配逻辑,保持向后兼容性 const pathMatch = item.path && item.path === this.$route.path; @@ -159,7 +150,7 @@ export default { font-size: $larg-font-size; color: $main-color; font-weight: bold; - font-family: 'Poppins-Bold', serif; + font-family: 'Poppins-Bold'; } } @@ -172,14 +163,14 @@ export default { .bottom-span { color: $grey-color; - font-family: 'Poppins-Regular', serif; + font-family: 'Poppins-Regular'; } .navigation-bottom { margin-bottom: 14px; span { display: inline-block; - font-family: 'Poppins-Medium', serif; + font-family: 'Poppins-Medium'; cursor: pointer; margin-left: 30px; &:hover { diff --git a/components/GlobalLoading.vue b/components/GlobalLoading.vue index 5c46e11..4cedf37 100644 --- a/components/GlobalLoading.vue +++ b/components/GlobalLoading.vue @@ -61,7 +61,7 @@ export default { .loading-text { margin-top: 15px; - font-family: 'Poppins-Medium', serif; + font-family: 'Poppins-Medium'; color: #7B61FF; } diff --git a/components/Header.vue b/components/Header.vue index 582e03b..6181e49 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -9,16 +9,19 @@
+
Latest Article
{{ item.slug || ''}}
+
{{ item.likeCount || 0 }}
- {{ item.publishTime || '' }}
+ {{ formatPublishTime(item.publishTime || '') }}