diff --git a/src/components/TopNavBar.vue b/src/components/TopNavBar.vue index 5b9d1bc..bddf96e 100644 --- a/src/components/TopNavBar.vue +++ b/src/components/TopNavBar.vue @@ -242,6 +242,7 @@ onMounted(() => { .nav { background: rgba(0, 0, 0, 0.5) !important; + backdrop-filter: blur(50px) saturate(180%); box-shadow: 3px 3px 6px 3px rgba(0, 0, 0, .3); } diff --git a/src/views/blog/Types.vue b/src/views/blog/Types.vue index 5cc61d2..235b987 100644 --- a/src/views/blog/Types.vue +++ b/src/views/blog/Types.vue @@ -5,6 +5,7 @@ + 全部 学习笔记 生活 ACG @@ -114,9 +115,9 @@ const getBlogList = () => { }; const selectedBlogs = computed(() => { - let selectedBlogs = []; + let selectedBlogs:Array = []; for (const i of blogList.value) { - if (i.blogType === selectType.value) { + if (i.blogType === selectType.value || selectType.value == 0) { selectedBlogs.push(i); } }