feat: update home page ui

This commit is contained in:
tim
2025-07-09 20:38:19 +08:00
parent daed7e10b8
commit db58af31c9

View File

@@ -123,7 +123,7 @@ export default {
const selectedCategory = ref('') const selectedCategory = ref('')
const selectedTags = ref([]) const selectedTags = ref([])
const isLoadingPosts = ref(false) const isLoadingPosts = ref(false)
const topics = ref(['最新', '排行榜', '热门', '类别']) const topics = ref(['最新', '排行榜' /*, '热门', '类别'*/])
const selectedTopic = ref('最新') const selectedTopic = ref('最新')
const articles = ref([]) const articles = ref([])
@@ -277,6 +277,7 @@ export default {
.topic-item { .topic-item {
padding: 2px 10px; padding: 2px 10px;
cursor: pointer;
} }
.topic-item.selected { .topic-item.selected {