mirror of
https://github.com/spark-store-project/spark-store-abyss
synced 2026-06-22 19:34:18 +08:00
fix: 修复关于页面文本颜色类名拼写错误,更新图标样式以支持循环索引
This commit is contained in:
+3
-3
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user