fix: 修复关于页面文本颜色类名拼写错误,更新图标样式以支持循环索引

This commit is contained in:
2025-09-15 10:28:07 +08:00
parent 2813ea4392
commit 43ae382ed6
2 changed files with 15 additions and 9 deletions
+3 -3
View File
@@ -263,13 +263,13 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
class="w-16 h-16 bg-white rounded-2xl shrink-0 app-icon bg-contain"
:style="{
'--s-avif': `url('/app-icons/${
appIcons[(i - 1) * 9 + j - 1]
appIcons[((i - 1) * 9 + j - 1) % appIcons.length]
}.avif')`,
'--s-webp': `url('/app-icons/${
appIcons[(i - 1) * 9 + j - 1]
appIcons[((i - 1) * 9 + j - 1) % appIcons.length]
}.webp')`,
'--s-png': `url('/app-icons/${
appIcons[(i - 1) * 9 + j - 1]
appIcons[((i - 1) * 9 + j - 1) % appIcons.length]
}.png')`,
}"
></div>