🐛 修复主题切换首次显示并整理页面样式与类型

This commit is contained in:
2026-11-15 22:05:22 +08:00
parent 9d13e9aac2
commit 842c2653a7
3 changed files with 10 additions and 5 deletions
+3 -3
View File
@@ -148,7 +148,7 @@ function updateRule() {
<Icon class="mr-2" name="material-symbols:category"/>
类型
</div>
<hr class="border-0 h-[1px] bg-old-neutral-600 mt-3 mb-1"/>
<hr class="border-0 h-px bg-old-neutral-600 mt-3 mb-1"/>
<div class="flex mt-4">
<div
v-for="(data, index) of typeGroup"
@@ -167,7 +167,7 @@ function updateRule() {
<Icon class="mr-2" name="material-symbols:book"/>
分类
</div>
<hr class="border-0 h-[1px] bg-old-neutral-600 mt-3 mb-1"/>
<hr class="border-0 h-px bg-old-neutral-600 mt-3 mb-1"/>
<div
v-for="([name,count],index) of categories" :key="index"
class="flex justify-between pl-4 pr-4 hover:text-sky-400 dark:hover:text-[#cccaff] transition-colors duration-300"
@@ -190,7 +190,7 @@ function updateRule() {
<Icon class="mr-2" name="material-symbols:bookmarks"/>
标签
</div>
<hr class="border-0 h-[1px] bg-old-neutral-600 mt-3 mb-1"/>
<hr class="border-0 h-px bg-old-neutral-600 mt-3 mb-1"/>
<div class="flex flex-wrap">
<div
v-for="([name,count],index) of tags" :key="index"