diff --git a/src/language/en.ts b/src/language/en.ts index ab07aa82..a7ebe921 100644 --- a/src/language/en.ts +++ b/src/language/en.ts @@ -49,10 +49,11 @@ export default { mainPage: { header: { filter: 'Filter', - search: 'Search Topics', + category: 'Category', + galgame: 'Visual Novel', + technique: 'Technique', + others: 'Others', all: 'All Topics', - history: 'Search History', - clear: 'Clear all history', updated: 'Default', time: 'Time', popularity: 'Popularity', diff --git a/src/language/zh.ts b/src/language/zh.ts index 49d8ab8b..1871e8a7 100644 --- a/src/language/zh.ts +++ b/src/language/zh.ts @@ -49,10 +49,11 @@ export default { mainPage: { header: { filter: '筛选', - search: '搜索话题', + category: '分类', + galgame: 'Galgame', + technique: '技术交流', + others: '其它', all: '全部话题', - history: '搜索历史', - clear: '清除所有历史', updated: '恢复默认排序', time: '按照时间排序', popularity: '按热度值排序', diff --git a/src/store/temp/home.ts b/src/store/temp/home.ts index 535d86a3..4985a695 100644 --- a/src/store/temp/home.ts +++ b/src/store/temp/home.ts @@ -18,7 +18,7 @@ export const useTempHomeStore = defineStore({ * @returns {HomeTopicResponseData} topicData */ keywords: '', - category: '', + category: 'galgame', page: 1, limit: 17, sortField: 'updated', diff --git a/src/views/Home/content/article/components/header/ArticleHeader.vue b/src/views/Home/content/article/components/header/ArticleHeader.vue index 43e5a37e..d6a37e49 100644 --- a/src/views/Home/content/article/components/header/ArticleHeader.vue +++ b/src/views/Home/content/article/components/header/ArticleHeader.vue @@ -1,20 +1,51 @@